Update on Overleaf.

This commit is contained in:
nb72soza Bittner
2025-05-13 21:53:28 +00:00
committed by node
commit d84f02b12b
50 changed files with 33827 additions and 0 deletions

78
AdditionalPackages.tex Normal file
View File

@@ -0,0 +1,78 @@
% !TeX root = ./Thesis.tex
\graphicspath{{./Graphics/}}
% need to pass languages explicitly
\PassOptionsToPackage{capitalize, noabbrev, ngerman, english}{cleveref}
\usepackage{cleveref}
\usepackage{datetime} % for formating submission date
\usepackage{lipsum} % for template text
% include Git commit hash when drafting
\makeatletter
\ifthenelse{\boolean{ct@drafting}}{
\usepackage{gitinfo2}
\renewcommand{\PrelimText}{\footnotesize[\,\today\ at \thistime\ -- version \myVersion{} -- git \gitAbbrevHash\,]}
}{}
\makeatother
% nice cv style for PhD theses
\iftoggle{phd}{
\usepackage[LabelsAligned]{currvita}
}{}
% to enable wide text/floats taking the space of margin notes (435pt instead of 336pt)
% note that this changes the \linewidth (not \textwidth), so follow this example
% to include a wide figure:
% \begin{figure}
% \begin{wide}
% \includegraphics[width=\linewidth]{logos/tud-logo}
% \caption{Athene logo of TU Darmstadt.}
% \end{wide}
% \end{figure}
\usepackage[strict]{changepage}
\newlength{\fullwidthlen}
\setlength{\fullwidthlen}{\marginparwidth}
\addtolength{\fullwidthlen}{\marginparsep}
\newenvironment{wide}{%
\begin{adjustwidth*}{}{-\fullwidthlen}\hsize=\linewidth%
}{%
\end{adjustwidth*}%
}
% TikZ/PGFPlots
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usetikzlibrary{
chains,
positioning,
quotes,
}
\def\StripPrefix#1>{}
\def\isOverleaf{\fi
\def\overleafJobname{output}% overleaf defaults to 'output' as \jobname
\edef\overleafJobname{\expandafter\StripPrefix\meaning\overleafJobname}%
\edef\job{\jobname}%
\ifx\job\overleafJobname
}
% To cache tikz pictures you have to run pdflatex with -shell-escape or --enable-write18
\ifnum\pdfshellescape=1
\usepgfplotslibrary{external}
\if\isOverleaf
\tikzexternaldisable
\else
\tikzexternalize[prefix=GraphicsCache/]
\fi
\fi
% Lengths for matlab2tikz
\newlength\figureheight
\newlength\figurewidth