Initial latex commit

This commit is contained in:
Cory Balaton 2023-10-28 15:39:46 +02:00
parent 2a9d087d3d
commit db9468defe
No known key found for this signature in database
GPG Key ID: 3E5FCEBFD80F432B
7 changed files with 186 additions and 0 deletions

88
latex/ising_model.tex Normal file
View File

@ -0,0 +1,88 @@
\documentclass[english,notitlepage,reprint,nofootinbib]{revtex4-1} % defines the basic parameters of the document
%
% For preview: skriv i terminal: latexmk -pdf -pvc filnavn
% If you want a single-column, remove "reprint"
% Silence warning of revtex4-1
\usepackage{silence}
\WarningFilter{revtex4-1}{Repair the float}
% Allows special characters (including æøå)
\usepackage[utf8]{inputenc}
\usepackage{fontawesome}
% \usepackage{tabularx}
% \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{graphicx} % include graphics such as plots
\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{quantikz2}
% 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/references}}
\newcommand\numberthis{\addtocounter{equation}{1}\tag{\theequation}}
\usepackage{xr}
\usepackage{subfiles}
% \externaldocument[M-]{\subfix{main}}
\begin{document}
\title{Project 3} % self-explanatory
\author{Cory Alexander Balaton \& Janita Ovidie Sandtrøen Willumsen \\ \faGithub \, \url{https://github.uio.no/FYS3150-G2-2023/Project-4}} % self-explanatory
\date{\today} % self-explanatory
\noaffiliation % ignore this, but keep it.
% Abstract
\subfile{sections/abstract}
\maketitle
% Introduction
\subfile{sections/introduction}
% Methods
\subfile{sections/methods}
% Results
\subfile{sections/results}
% Conclusion
\subfile{sections/conclusion}
%\appendix
%\subfile{appendix/appendix_a}
%\subfile{appendix/appendix_b}
%\subfile{appendix/appendix_c}
\onecolumngrid
\bibliographystyle{unsrt}
\bibliography{references}
\end{document}

74
latex/references.bib Normal file
View File

@ -0,0 +1,74 @@
# Ising model related literature
# Math related literature
@inbook{lindstrom:2016:ch3,
author = {Tom Lindstrøm},
title = {Kalkulus},
publisher = {Universitetsforlaget},
year = {2016},
edition = {4},
pages = {133--137}
}
@inbook{lindstrom:2016:ch10:5,
author = {Tom Lindstrøm},
title = {Kalkulus},
publisher = {Universitetsforlaget},
year = {2016},
edition = {4},
pages = {589--606}
}
@inbook{gjevik:2014:appendix,
author = {Bjørn Gjevik and Morten Wang Fagerland},
title = {Feltteori og vektoranalyse},
publisher = {Farleia Forlag},
year = {2018},
pages = {162--163}
}
# Python libraries
@article{hunter:2007:matplotlib,
author = {Hunter, J. D.},
title = {Matplotlib: A 2D graphics environment},
journal = {Computing in Science \& Engineering},
volume = {9},
number = {3},
pages = {90--95},
abstract = {Matplotlib is a 2D graphics package used for Python for
application development, interactive scripting, and publication-quality
image generation across user interfaces and operating systems.},
publisher = {IEEE COMPUTER SOC},
doi = {10.1109/MCSE.2007.55},
year = 2007
}
@article{waskom:2021:seaborn,
author = {Michael L. Waskom},
title = {seaborn: statistical data visualization},
journal = {Journal of Open Source Software},
volume = {6},
number = {60},
publisher = {The Open Journal},
year = {2021},
doi = {10.21105/joss.03021},
url = {https://doi.org/10.21105/joss.03021},
pages = {3021}
}
# C++ libraries
@online{openmp:2018,
author = {OpenMP},
title = {OpenMP Application Programming Interface},
year = {2018},
url = {https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5.0.pdf},
urldate = {2023-10-22}
}
# Miscellaneous things
@misc{penning:fig,
key = {something},
url = {https://www.med.physik.uni-muenchen.de/research/nuclear-science/nuclear-masses/mlltrap/layout/traps/index.html},
note = {Configuration figure a}
}

View File

@ -0,0 +1,4 @@
\documentclass[../ising_model.tex]{subfiles}
\begin{document}
\end{document}

View File

@ -0,0 +1,4 @@
\documentclass[../ising_model.tex]{subfiles}
\begin{document}
\end{document}

View File

@ -0,0 +1,7 @@
\documentclass[../ising_model.tex]{subfiles}
\begin{document}
\cite{openmp:2018}
\end{document}

View File

@ -0,0 +1,5 @@
\documentclass[../ising_model.tex]{subfiles}
\begin{document}
\end{document}

View File

@ -0,0 +1,4 @@
\documentclass[../ising_model.tex]{subfiles}
\begin{document}
\end{document}