Initial commit

This commit is contained in:
Meeg Leeto 2023-06-12 16:35:25 +01:00
commit 1ea1bf42e1
5 changed files with 46 additions and 0 deletions

0
assets/.gitinclude Normal file
View File

1
citations.bib Normal file
View File

@ -0,0 +1 @@
% Place citations here, in bibtex format

17
compile.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/bash
if ! which latexmk > /dev/null
then
echo -e "\e[31mlatexmk is not installed, aborting.\e[0m"
exit 1
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
mkdir -p "$DIR/out"
if latexmk -synctex=1 -interaction=nonstopmode -file-line-error -pdf -outdir="$DIR/out" "$DIR/main.tex"
then
echo -e "\e[32mSuccess, output in out/main.pdf\e[0m"
else
echo -e "\e[31mSomething went wrong, see above for details.\e[0m"
fi

26
main.tex Normal file
View File

@ -0,0 +1,26 @@
\documentclass{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{lmodern}
\usepackage{microtype}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{cleveref}
\usepackage{physics}
\input{preamble.tex}
\title{}
\author{}
\date{}
\begin{document}
% Document contents here
\bibliography{citations}
\end{document}

2
preamble.tex Normal file
View File

@ -0,0 +1,2 @@
% Preamble contents, to be included in main.tex