Set up document structure, content placed in separate directories
This commit is contained in:
parent
9bf313ef02
commit
ef3af22876
BIN
latex/main.pdf
Normal file
BIN
latex/main.pdf
Normal file
Binary file not shown.
73
latex/main.tex
Normal file
73
latex/main.tex
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
\documentclass[english,notitlepage,reprint,nofootinbib]{revtex4-1} % defines the basic parameters of the document
|
||||||
|
\usepackage{subfiles}
|
||||||
|
% For preview: skriv i terminal: latexmk -pdf -pvc filnavn
|
||||||
|
% If you want a single-column, remove "reprint"
|
||||||
|
|
||||||
|
% Allows special characters (including æøå)
|
||||||
|
\usepackage[utf8]{inputenc}
|
||||||
|
% \usepackage[english]{babel}
|
||||||
|
|
||||||
|
%% Note that you may need to download some of these packages manually, it depends on your setup.
|
||||||
|
%% I recommend downloading TeXMaker, because it includes a large library of the most common packages.
|
||||||
|
|
||||||
|
\usepackage{physics,amssymb} % mathematical symbols (physics imports amsmath)
|
||||||
|
\include{amsmath}
|
||||||
|
\usepackage{graphicx} % include graphics such as plots
|
||||||
|
\def\resources{\graphicspath{{"./images/"}}}
|
||||||
|
\usepackage{xcolor} % set colors
|
||||||
|
\usepackage{hyperref} % automagic cross-referencing
|
||||||
|
\usepackage{listings} % display code
|
||||||
|
\usepackage{subfigure} % imports a lot of cool and useful figure commands
|
||||||
|
% \usepackage{float}
|
||||||
|
%\usepackage[section]{placeins}
|
||||||
|
\usepackage{algorithm}
|
||||||
|
\usepackage[noend]{algpseudocode}
|
||||||
|
\usepackage{subfigure}
|
||||||
|
\usepackage{tikz}
|
||||||
|
\usetikzlibrary{quantikz}
|
||||||
|
% defines the color of hyperref objects
|
||||||
|
% Blending two colors: blue!80!black = 80% blue and 20% black
|
||||||
|
\hypersetup{ % this is just my personal choice, feel free to change things
|
||||||
|
colorlinks,
|
||||||
|
linkcolor={red!50!black},
|
||||||
|
citecolor={blue!50!black},
|
||||||
|
urlcolor={blue!80!black}}
|
||||||
|
|
||||||
|
% Biblio stuff
|
||||||
|
\def\biblio{\bibliographystyle{plain}\bibliography{./references}}
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\title{Project 3} % self-explanatory
|
||||||
|
\author{Cory Alexander Balaton \& Janita Ovidie Sandtrøen Willumsen} % self-explanatory
|
||||||
|
\date{\today} % self-explanatory
|
||||||
|
\noaffiliation % ignore this, but keep it.
|
||||||
|
|
||||||
|
% Abstract
|
||||||
|
\subfile{./sections/abstract.tex}
|
||||||
|
|
||||||
|
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
\textit{https://github.uio.no/FYS3150-G2-2023/Project-3}
|
||||||
|
|
||||||
|
% Introduction
|
||||||
|
\subfile{./sections/introduction.tex}
|
||||||
|
|
||||||
|
% Methods
|
||||||
|
\subfile{./sections/methods.tex}
|
||||||
|
|
||||||
|
% Results
|
||||||
|
\subfile{./sections/results.tex}
|
||||||
|
|
||||||
|
% Conclusion
|
||||||
|
\subfile{./sections/conclusion.tex}
|
||||||
|
|
||||||
|
\onecolumngrid
|
||||||
|
|
||||||
|
\bibliographystyle{plain}
|
||||||
|
\bibliography{.references/references}
|
||||||
|
|
||||||
|
|
||||||
|
\end{document}
|
||||||
12
latex/sections/abstract.tex
Normal file
12
latex/sections/abstract.tex
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
\documentclass[../main.tex]{subfiles}
|
||||||
|
\resources % search for graphics in ../res/imgs/
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\begin{abstract}
|
||||||
|
Add an abstract for the project?
|
||||||
|
\end{abstract}
|
||||||
|
|
||||||
|
\biblio
|
||||||
|
\end{document}
|
||||||
13
latex/sections/conclusion.tex
Normal file
13
latex/sections/conclusion.tex
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
\documentclass[../main.tex]{subfiles}
|
||||||
|
\resources % search for graphics in ../res/imgs/
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\section{Conclusion}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
\biblio
|
||||||
|
\end{document}
|
||||||
13
latex/sections/introduction.tex
Normal file
13
latex/sections/introduction.tex
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
\documentclass[../main.tex]{subfiles}
|
||||||
|
\resources % search for graphics in ../res/imgs/
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\section{Introduction}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
\biblio
|
||||||
|
\end{document}
|
||||||
13
latex/sections/methods.tex
Normal file
13
latex/sections/methods.tex
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
\documentclass[../main.tex]{subfiles}
|
||||||
|
\resources % search for graphics in ../res/imgs/
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\section{Methods}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
\biblio
|
||||||
|
\end{document}
|
||||||
13
latex/sections/results.tex
Normal file
13
latex/sections/results.tex
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
\documentclass[../main.tex]{subfiles}
|
||||||
|
\resources % search for graphics in ../res/imgs/
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\section{Results}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
\biblio
|
||||||
|
\end{document}
|
||||||
Loading…
Reference in New Issue
Block a user