Set up latex files and folder
This commit is contained in:
parent
e6870c5f2d
commit
0af8d3828f
BIN
latex/assignment-2.pdf
Normal file
BIN
latex/assignment-2.pdf
Normal file
Binary file not shown.
105
latex/assignment-2.tex
Normal file
105
latex/assignment-2.tex
Normal file
@ -0,0 +1,105 @@
|
||||
\documentclass[english,notitlepage]{revtex4-1} % defines the basic parameters of the document
|
||||
%For preview: skriv i terminal: latexmk -pdf -pvc filnavn
|
||||
|
||||
% Silence warning of revtex4-1
|
||||
\usepackage{silence}
|
||||
\WarningFilter{revtex4-1}{Repair the float}
|
||||
|
||||
% 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)
|
||||
\usepackage{amsmath}
|
||||
\usepackage{graphicx} % include graphics such as plots
|
||||
\usepackage{xcolor} % set colors
|
||||
\usepackage{hyperref} % automagic cross-referencing (this is GODLIKE)
|
||||
\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}}
|
||||
|
||||
%% Defines the style of the programming listing
|
||||
%% This is actually my personal template, go ahead and change stuff if you want
|
||||
|
||||
|
||||
|
||||
%% USEFUL LINKS:
|
||||
%%
|
||||
%% UiO LaTeX guides: https://www.mn.uio.no/ifi/tjenester/it/hjelp/latex/
|
||||
%% mathematics: https://en.wikibooks.org/wiki/LaTeX/Mathematics
|
||||
|
||||
%% PHYSICS ! https://mirror.hmc.edu/ctan/macros/latex/contrib/physics/physics.pdf
|
||||
|
||||
%% the basics of Tikz: https://en.wikibooks.org/wiki/LaTeX/PGF/Tikz
|
||||
%% all the colors!: https://en.wikibooks.org/wiki/LaTeX/Colors
|
||||
%% how to draw tables: https://en.wikibooks.org/wiki/LaTeX/Tables
|
||||
%% code listing styles: https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings
|
||||
%% \includegraphics https://en.wikibooks.org/wiki/LaTeX/Importing_Graphics
|
||||
%% learn more about figures https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
|
||||
%% automagic bibliography: https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management (this one is kinda difficult the first time)
|
||||
%% REVTeX Guide: http://www.physics.csbsju.edu/370/papers/Journal_Style_Manuals/auguide4-1.pdf
|
||||
%%
|
||||
%% (this document is of class "revtex4-1", the REVTeX Guide explains how the class works)
|
||||
|
||||
|
||||
%% CREATING THE .pdf FILE USING LINUX IN THE TERMINAL
|
||||
%%
|
||||
%% [terminal]$ pdflatex template.tex
|
||||
%%
|
||||
%% Run the command twice, always.
|
||||
%% If you want to use \footnote, you need to run these commands (IN THIS SPECIFIC ORDER)
|
||||
%%
|
||||
%% [terminal]$ pdflatex template.tex
|
||||
%% [terminal]$ bibtex template
|
||||
%% [terminal]$ pdflatex template.tex
|
||||
%% [terminal]$ pdflatex template.tex
|
||||
%%
|
||||
%% Don't ask me why, I don't know.
|
||||
|
||||
% custom stuff
|
||||
\graphicspath{{./images/}}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\title{Project 2} % self-explanatory
|
||||
\author{Cory Alexander Balaton \& Janita Ovidie Sandtrøen Willumsen} % self-explanatory
|
||||
\date{\today} % self-explanatory
|
||||
\noaffiliation % ignore this, but keep it.
|
||||
|
||||
|
||||
\maketitle
|
||||
|
||||
\textit{https://github.uio.no/FYS3150-G2-2023/Project-2}
|
||||
|
||||
% \input{problems/problem-1}
|
||||
|
||||
% \input{problems/problem-2}
|
||||
|
||||
% \input{problems/problem-3}
|
||||
|
||||
% \input{problems/problem-4}
|
||||
|
||||
% \input{problems/problem-5}
|
||||
|
||||
% \input{problems/problem-6}
|
||||
|
||||
|
||||
\end{document}
|
||||
0
latex/problems/problem-1.tex
Normal file
0
latex/problems/problem-1.tex
Normal file
0
latex/problems/problem-2.tex
Normal file
0
latex/problems/problem-2.tex
Normal file
0
latex/problems/problem-3.tex
Normal file
0
latex/problems/problem-3.tex
Normal file
0
latex/problems/problem-4.tex
Normal file
0
latex/problems/problem-4.tex
Normal file
0
latex/problems/problem-5.tex
Normal file
0
latex/problems/problem-5.tex
Normal file
0
latex/problems/problem-6.tex
Normal file
0
latex/problems/problem-6.tex
Normal file
Loading…
Reference in New Issue
Block a user