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

120 lines
2.6 KiB
TeX
Raw Normal View History

2022-08-25 16:04:54 +02:00
%%
%% Thesis Preamble
%%
%%%
%%% Packages
%%%
% For Bibliography
\usepackage[sorting=none,natbib=true,citestyle=numeric-comp,backend=bibtex]{biblatex}
% Document
\usepackage{amsmath}
\usepackage{mathtools}
%\usepackage{cancel}
\usepackage{todo}
% Graphics
\usepackage{placeins}
2022-08-25 16:04:54 +02:00
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[colorlinks=true]{hyperref}
\usepackage{cleveref}
\usepackage{grffile}
\usepackage{physics}
2022-08-25 16:04:54 +02:00
\usepackage[english]{babel} % for proper word breaking at line ends
\usepackage[switch]{lineno}
2022-09-05 19:21:51 +02:00
\usepackage[acronym]{glossaries}
\glsdisablehyper
2022-08-25 16:04:54 +02:00
%\usepackage{listings}
\usepackage{csquotes}
\usepackage[margin=1.0in]{geometry}
\usepackage[nobottomtitles]{titlesec}
\usepackage{subfiles}
%%%
%%% Settings
%%%
\titleformat{\chapter}[hang] % shape
{\normalfont\bfseries\huge} % format
{\thechapter.} % label
{0.5ex} % sep
{
} % before-code
[
] % after-code
\setlength{\parindent}{0cm}
%% Automatic float barriers for section and subsection
\let\Oldsection\section
\renewcommand{\section}{\FloatBarrier\Oldsection}
\let\Oldsubsection\subsection
\renewcommand{\subsection}{\FloatBarrier\Oldsubsection}
%\let\Oldsubsubsection\subsubsection
%\renewcommand{\subsubsection}{\FloatBarrier\Oldsubsubsection}
2022-08-25 16:04:54 +02:00
%%%
%%% Shortcuts
%%%
\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}
\newcommand{\dbyd}[2]{\ensuremath{\mathrm{d}{#1}/\mathrm{d}{#2}}}
2022-09-05 15:42:34 +02:00
\newcommand{\Corr}{\operatorname{Corr}}
%\newcommand{\erf}{\operatorname{erf}}
2023-04-18 16:54:28 +02:00
\DeclareMathOperator{\arctantwo}{arctan2}
2022-09-05 15:42:34 +02:00
2022-08-25 16:04:54 +02:00
% Units
\newcommand{\eV}{\text{e\kern-0.15exV}}
\newcommand{\MeV}{\text{M\eV}}
\newcommand{\GeV}{\text{G\eV}}
\newcommand{\TeV}{\text{T\kern-0.1ex\eV}}
\newcommand{\ns}{\text{ns}}
2023-03-29 18:57:08 +02:00
\newcommand{\us}{\text{\textmu s}}
2022-08-25 16:04:54 +02:00
\newcommand{\MHz}{\text{MHz}}
2022-08-29 19:25:53 +02:00
% Quantities
\newcommand{\beaconfreq}{\ensuremath{f_\mathrm{beacon}}}
\newcommand{\phase}{\ensuremath{\varphi}}
2022-08-29 19:25:53 +02:00
% Names
2022-09-05 19:21:51 +02:00
% Acronyms
\newacronym{GNSS}{GNSS}{Global Navigation Satellite System}
\newacronym{GRAND}{GRAND}{Giant Radio Array for Neutrino Detection}
\newacronym{BEACON}{BEACON}{Beamforming Elevated Array for COsmic Neutrinos}
2022-09-05 19:21:51 +02:00
\newacronym{PA}{PA}{Pierre~Auger}
\newacronym{PAObs}{PAO}{Pierre~Auger Observatory}
\newacronym{AERA}{AERA}{Auger Engineering Radio Array}
2023-04-18 16:54:28 +02:00
\newacronym{DTFT}{DTFT}{Discrete Time Fourier Transform}
\newacronym{DFT}{DFT}{Discrete Fourier Transform}
\newacronym{FFT}{FFT}{Fast Fourier Transform}
\newacronym{FT}{FT}{Fourier Transform}