%***********************************************************
% FAU Master Thesis Template
% Simon Reif
% 29 September 2025
%
% Preamble
% This tex code is use to be run together with the
% corresponding Quarto file.
%***********************************************************
% Packages
\documentclass[12pt,a4paper,oneside,titlepage]{article} % Layout
\usepackage{amsmath, amssymb}
\usepackage[utf8]{inputenc}
\usepackage{graphicx,txfonts} % Even more symbols
\usepackage[T1]{fontenc}
\usepackage[onehalfspacing]{setspace}
\usepackage[strict=true, style=american]{csquotes}
\usepackage[lmargin=1.2in,rmargin=1.2in,tmargin=1.2in,bmargin=1.2in]{geometry}
\usepackage{float}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{colortbl}
\usepackage{booktabs}
\usepackage{threeparttable}
\usepackage{subcaption}
\usepackage[dvipsnames]{xcolor}
\usepackage{fontspec}
\usepackage{titling}
\usepackage[style=apa]{biblatex}
\usepackage[linktoc=all, colorlinks=true]{hyperref}
\usepackage{placeins}
\usepackage{setspace}
\usepackage{pdflscape}
% Use packages from YMAL header:
\usepackage{bm}
% Set text format
\setmainfont[BoldFont=LinLibertine_RB.ttf,
ItalicFont=LinLibertine_RI.ttf]{LinLibertine_R.ttf}
\definecolor{footnotecolor}{RGB}{82,125,164}
% Add new pandocbounced command to comply with pandoc update 3.5
\makeatletter
\newsavebox\pandoc@box
\newcommand*\pandocbounded[1]{% scales image to fit in text height/width
\sbox\pandoc@box{#1}%
\Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}%
\Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}%
\ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both
\ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}%
\else\usebox{\pandoc@box}%
\fi%
}
\makeatother
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
% Add Bib file from YMAL Header
\addbibresource{../references.bib}
% Print references
\makeatletter
\@ifundefined{date}{}{\date{}}
\setcounter{page}{1}
\makeatletter
\renewcommand\@makefnmark{\hbox{\@textsuperscript{\normalfont\color{footnotecolor}\@thefnmark}}}
\renewcommand\@makefntext[1]{%
\parindent 1em\noindent
\hb@xt@1.8em{%
\hss\@textsuperscript{\normalfont\@thefnmark}}#1}
\makeatother
% Make font size of minipage scriptsize by default s.t. table notes are small
\hypersetup{
pdftitle={Title of the thesis},
pdfauthor={Student Name},
colorlinks=true,
linkcolor={[RGB]{82,125,164}},
filecolor={[RGB]{82,125,164}},
citecolor={[RGB]{82,125,164}},
urlcolor={[RGB]{82,125,164}},
pdfcreator={LaTeX via pandoc}}
\begin{document}
%***********************************************************
% Title page
%***********************************************************
\begin{titlepage}
\vspace{20pt}
\begin{minipage}{14cm}
\rule{\linewidth}{0.5mm}
\centering{
\vspace{2pt}\\
{\huge\textbf{Title of the thesis}}
}
\rule{\linewidth}{0.5mm}
\end{minipage}
\begin{minipage}{14cm}
\vspace{60pt}
\centerline{\large{\textbf{Master Thesis}}}
\end{minipage}
\begin{minipage}{14cm}
\vspace{15pt}\centerline{written under the supervision of}
\centerline{Prof.~Dr.~Simon Reif}
\centerline{Professorship for Economics (Health Care Markets)}
\centerline{Department of Economics, Business and Society}
\centerline{FAU Erlangen-Nürnberg}
\end{minipage}
\begin{minipage}{14cm}
\vspace{20pt}
\centerline{\textbf{29 September 2025}}
\end{minipage}
\begin{minipage}{14cm}
\vspace{140pt}
\textbf{Student Name} \newline
Hauptmarkt 1\newline
90402 Nürnberg\newline
Email: master.student@fau.de \newline
Student Registration No.: 987654321\newline
Degree: M.Sc. Economics
\end{minipage}
\thispagestyle{empty}
\end{titlepage}
\setcounter{page}{1}
\pagenumbering{roman}
{\hypersetup{linkcolor = black} \tableofcontents}
\clearpage
{\hypersetup{linkcolor = black} \listoffigures}
\clearpage
{\hypersetup{linkcolor = black} \listoftables}
\clearpage
%***********************************************************
% Main Text
%***********************************************************
\clearpage
\pagenumbering{arabic}
\setcounter{page}{1}
\interfootnotelinepenalty=10000
\clearpage
\newpage{}
% Start the main text
\section{Introduction}\label{introduction}
Here comes the thesis
\clearpage
\section*{References}\label{references}
\addcontentsline{toc}{section}{References}
\printbibliography[heading=none]
\clearpage
\newpage{}
\section*{Appendix}\label{appendix}
\addcontentsline{toc}{section}{Appendix}
% Always keep this code if you want to use an appendix
\renewcommand{\thetable}{A.\arabic{table}}
\renewcommand{\thefigure}{A.\arabic{figure}}
\setcounter{table}{0}
\setcounter{figure}{0}
\FloatBarrier
Here is the Appendix.
\end{document}

PDF Preview
Create an account to compile and preview