m-thesis-documentation/documents/thesis/thesis.tex

126 lines
2.7 KiB
TeX
Raw Normal View History

2022-07-12 04:20:00 +02:00
%%%%%%%%%%%%%%%%%%%%%%%%%%% Document %%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[notitlepage,oneside]{book}
% Pre-Ambule
% For Bibliography
\usepackage[sorting=none,natbib=true,citestyle=numeric-comp,backend=bibtex]{biblatex}
\addbibresource{../../bibliotheca/bibliography.bib}
2022-07-13 04:20:00 +02:00
% Document
2022-07-12 04:20:00 +02:00
\usepackage{subfiles}
\usepackage{amsmath}
\usepackage{mathtools}
%\usepackage{cancel}
\usepackage{todo}
% Graphics
\usepackage{xcolor}
\usepackage{graphicx}
\graphicspath{{.}{../../figures/}}
\usepackage{epstopdf}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[colorlinks=true]{hyperref}
\usepackage{cleveref}
\usepackage{grffile}
\usepackage[english]{babel} % for proper word breaking at line ends
\usepackage[switch]{lineno}
%\usepackage{listings}
\usepackage{csquotes}
\usepackage[margin=1.0in]{geometry}
\usepackage[nobottomtitles]{titlesec}
2022-07-13 04:20:00 +02:00
%%%%%%%%%%%%%%%%%%% Settings %%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2022-07-12 04:20:00 +02:00
\titleformat{\chapter}[hang] % shape
{\normalfont\bfseries\huge} % format
{\thechapter.} % label
{0.5ex} % sep
{
} % before-code
[
] % after-code
\setlength{\parindent}{0cm}
2022-07-13 04:20:00 +02:00
%%%%%%%%%%%%%%%%%%% Shortcuts %%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2022-07-12 04:20:00 +02:00
\newcommand*{\captionsource}[2]{%
\caption[{#1}]{%
#1%
\\\hspace{\linewidth}%
\textbf{Source:} #2%
}%
}
% Math
\newcommand{\dif}[1]{\mathop{}\!\mathrm{d} #1}
\newcommand{\pdif}[1]{\mathop{}\!\mathrm{\partial} #1}
2022-07-13 04:20:00 +02:00
\newcommand{\dbyd}[2]{\ensuremath{\mathrm{d}{#1}/\mathrm{d}{#2}}\xspace}
% Units
\newcommand{\eV}{\text{e\kern-0.15exV}\xspace}
\newcommand{\MeV}{\text{M\eV}\xspace}
\newcommand{\GeV}{\text{G\eV}\xspace}
\newcommand{\TeV}{\text{T\kern-0.1ex\eV}\xspace}
\newcommand{\ns}{\text{ns}\xspace}
2022-07-12 04:20:00 +02:00
2022-07-13 04:20:00 +02:00
\newcommand{\MHz}{\text{MHz}\xspace}
2022-07-12 04:20:00 +02:00
2022-07-13 04:20:00 +02:00
%%%%%%%%%%%%%%%%%%% Start Document %%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2022-07-12 04:20:00 +02:00
\begin{document}
\frontmatter
2022-07-13 04:20:00 +02:00
%% Titlepage
\subfile{chapters/titlepage.tex}
%% Table of Contents
2022-07-12 04:20:00 +02:00
\tableofcontents
2022-07-13 04:20:00 +02:00
% Main matter
2022-07-12 04:20:00 +02:00
\clearpage
\mainmatter
2022-07-13 04:20:00 +02:00
%% Introduction
2022-07-12 04:20:00 +02:00
\subfile{chapters/introduction.tex}
2022-07-13 04:20:00 +02:00
%% Airshowers
2022-07-12 04:20:00 +02:00
\subfile{chapters/airshowers.tex}
2022-07-13 04:20:00 +02:00
%% Timing
2022-07-12 04:20:00 +02:00
\subfile{chapters/timing.tex}
2022-07-13 04:20:00 +02:00
%% Conclusion
2022-07-12 04:20:00 +02:00
\subfile{chapters/conclusion.tex}
2022-07-13 04:20:00 +02:00
% Appendix and Bibliography
2022-07-12 04:20:00 +02:00
%\pagebreak[3]
%\phantomsection
%\subfile{appendix.tex}
%%% Print Bibliography
%\clearpage
\backmatter
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
\printbibliography
\hrule
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{Todos}
\todos
\end{document}