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

186 lines
4.7 KiB
TeX
Raw Normal View History

% vim: fdm=marker fmr=<<<,>>>
2022-08-25 16:04:54 +02:00
%%
%% Thesis Preamble
%%
%% <<< Packages
%%
2022-08-25 16:04:54 +02:00
% 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}
2023-09-08 17:01:22 +02:00
\captionsetup{subrefformat=parens}
2022-08-25 16:04:54 +02:00
\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}
%% >>>
2023-07-17 18:17:46 +02:00
\newcommand{\email}[1]{\href{mailto:#1}{#1}}
%% <<< Layout
%%
2022-08-25 16:04:54 +02:00
\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
%%
2022-08-25 16:04:54 +02:00
\newcommand*{\captionsource}[2]{%
\caption[{#1}]{%
#1%
\\\hspace{\linewidth}%
\textbf{Source:} #2%
}%
}
% <<<< Math
2022-08-25 16:04:54 +02:00
\newcommand{\dif}[1]{\mathop{}\!\mathrm{d} #1}
\newcommand{\pdif}[1]{\mathop{}\!\mathrm{\partial} #1}
\newcommand{\dbyd}[2]{\ensuremath{\mathrm{d}{#1}/\mathrm{d}{#2}}}
\DeclareMathOperator{\Corr}{Corr}
%\DeclareMathOperator{\erf}{erf}
\DeclareMathOperator{\argmax}{argmax}
2023-04-18 16:54:28 +02:00
\DeclareMathOperator{\arctantwo}{arctan2}
2022-09-05 15:42:34 +02:00
\DeclareRobustCommand{\eexp}[1]{\ensuremath{e^{#1}}}
\DeclareRobustCommand{\expOf}[1]{\ensuremath{\exp{\!\left(#1\right)}}}
\DeclareRobustCommand{\ofOrder}[1]{\ensuremath{\mathcal{O}\left(#1\right)}}
% >>>>
% <<<< 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}}
2022-08-25 16:04:54 +02:00
\newcommand{\ns}{\text{\,ns}}
\newcommand{\us}{\text{\,\textmu s}}
2022-08-25 16:04:54 +02:00
\newcommand{\kHz}{\text{\,kHz}}
\newcommand{\MHz}{\text{\,MHz}}
\newcommand{\GHz}{\text{\,GHz}}
% >>>>
% <<<< Quantities
% Notes:
% \tau is a measured/apparent quantity
% t is true time
% priming is required for moving with the signal / different reference frame
\newcommand{\beaconfreq}{\ensuremath{f_\mathrm{beacon}}}
\newcommand{\fbeacon}{\ensuremath{f_\mathrm{beacon}}}
\newcommand{\Xmax}{\ensuremath{X_\mathrm{max}}}
\newcommand{\phase}{\varphi} % deprecated
\newcommand{\tTime}{t} % deprecated
%% time variables
\newcommand{\tTrue}{t}
\newcommand{\tMeas}{\tau}
\newcommand{\tRes}{\tTrue_\mathrm{res}}
\newcommand{\tResidual}{\tRes}
\newcommand{\tTrueTrue}{\tTrue_\mathrm{true}}
\newcommand{\tTrueEmit}{\tTrue_0}
\newcommand{\tTrueArriv}{\tTrueEmit'}
\newcommand{\tMeasArriv}{\tMeas_0}
\newcommand{\tProp}{\tTrue_d}
\newcommand{\tClock}{\tTrue_c}
2023-09-08 17:01:22 +02:00
\newcommand{\tClockPhase}{\ensuremath{\tTrue_\phase}}
\newcommand{\tClockPeriod}{\ensuremath{k T}}
%% phase variables
\newcommand{\pTrue}{\phi}
\newcommand{\PTrue}{\Phi}
\newcommand{\pMeas}{\varphi}
\newcommand{\pRes}{\pTrue_\mathrm{res}}
\newcommand{\pResidual}{\pRes}
\newcommand{\pTrueTrue}{\pTrue_\mathrm{true}}
\newcommand{\pTrueEmit}{\pTrue_0}
\newcommand{\pTrueArriv}{\pTrueArriv'}
\newcommand{\pMeasArriv}{\pMeas_0}
\newcommand{\pProp}{\pTrue_d}
\newcommand{\pClock}{\pTrue_c}
2022-08-29 19:25:53 +02:00
%% >>>>
%% >>>
%% <<< Acronyms
%%
2022-09-05 19:21:51 +02:00
\newacronym{GNSS}{GNSS}{Global Navigation Satellite System}
\newacronym{EAS}{EAS}{Extensive Air Shower}
\newacronym{UHECR}{UHECR}{Ultra High Energy Cosmic Ray}
%% <<<< Names
2022-09-05 19:21:51 +02:00
\newacronym{GRAND}{GRAND}{Giant Radio Array for Neutrino Detection}
\newacronym{BEACON}{BEACON}{Beamforming Elevated Array for COsmic Neutrinos}
\newacronym{LOFAR}{LOFAR}{Low-Frequency Array}
2022-09-05 19:21:51 +02:00
\newacronym{PA}{PA}{Pierre~Auger}
\newacronym{PAObs}{PAO}{Pierre~Auger Observatory}
\newacronym{Auger}{Auger}{\acrlong{PAObs}}
\newacronym{AugerPrime}{AugerPrime}{AugerPrime}
2023-09-08 17:01:22 +02:00
\newacronym{AERA}{\textsc{AERA}}{Auger Engineering Radio~Array}
2023-04-18 16:54:28 +02:00
2023-09-08 17:01:22 +02:00
\newacronym{ADC}{\textsc{ADC}}{Analog-to-Digital~Converter}
\newacronym{ZHAires}{ZHAires}{ZHAires}
%% >>>>
%% <<<< Math
2023-09-08 17:01:22 +02:00
\newacronym{DTFT}{\textsc{DTFT}}{Discrete Time Fourier Transform}
\newacronym{DFT}{\textsc{DFT}}{Discrete Fourier Transform}
\newacronym{FFT}{\textsc{FFT}}{Fast Fourier Transform}
\newacronym{FT}{\textsc{FT}}{Fourier Transform}
2023-09-08 17:01:22 +02:00
\newacronym{RMS}{\textsc{RMS}}{root-mean-square}
\newacronym{SNR}{\textsc{SNR}}{signal-to-noise ratio}
%% >>>>
%% >>>