Uni_li-Template
Author
Leo Richard Irudayam; Lukas Mueller
Last Updated
3 anni fa
License
Creative Commons CC BY 4.0
Abstract
University of Liechtenstein - Template for Thesis and Seminar Papers
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% LaTeX Template for University of Liechtenstein %%
%% From: Leo Richard Irudayam, changed by Lukas Müller %%
%% %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% MISSING: ALTERNATING PAGE NUMBERS AND ABBRIDGED TITLE LEFT AND RIGHT%%%%%
%%%%%%%%%%%%%%%%%%%%%%% Definitions of the work %%%%%%%%%%%%%%%%%%%%%%%
\def\myType{1} % [0=seminar paper|1=master thesis]
\def\myTopic{HEADING}
\def\myAbridgedTopic{Abridged Heading}
\def\mySubTopic{Subheading}
\def\myAutor{Author}
\def\myEnrolmentNumber{999999}
\def\myPrograme{Master of Science in Finance}
\def\myModule{Master's Thesis}
\def\myCourse{Master's Thesis}
\def\myAssessorOne{Prof. Dr. xxx yyy}
\def\myWorkingPeriod{01/09/2021 to 31/01/2022} % DD/MM/YYYY to DD/MM/YYYY
\def\mySubmissionDate{31/01/2022} % DD/MM/YYYY
%%%%%%%%%%%%%%%%%%%%%%% ------------------------------ %%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%% DON'T CHANGE FROM HERE ONWARDS %%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%% ------------------------------ %%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,11pt]{article} % Schriftgröße, Layout, Papierformat, Art des Dokumentes
%\usepackage[natbibapa]{apacite}
\usepackage[left=2.5cm,right=2.5cm,top=1.5cm,bottom=2cm,includehead]{geometry} % Einstellungen der Seitenränder
\usepackage{CJKutf8}
\usepackage[russian,english]{babel}
\usepackage[utf8]{inputenc} % Umlaute
\usepackage[hyperfootnotes=false]{hyperref} % pfd-Output [Fußnoten nicht verlinken]
\usepackage[nottoc]{tocbibind} % Inhaltsverzeichniserweiterung (Inhaltsverzeichnis selbst ausblenden)
\usepackage{makeidx} % Index
\usepackage[intoc]{nomencl} % Abkürzungsverzeichnis
\usepackage{fancyhdr} % Fancy Header
\usepackage{url}
\usepackage{amsmath} % Zurücksetzen der Tabellen- und Abbildungsnummerierung je Sektion
\usepackage[labelfont=bf,aboveskip=1mm]{caption} % Bild- und Tabellenunterschrift (fett)
\usepackage{setspace} % Zeilenabstand (vor footmisc laden!)
\usepackage[bottom,multiple,hang,marginal]{footmisc} % Fußnoten [Ausrichtung unten, Trennung durch Seperator bei mehreren Fußnoten]
\usepackage{graphicx} % Grafiken
\usepackage{tabularx} % erweiterte Tabellen
\usepackage{longtable} % mehrseitige Tabellen
\usepackage{color} % Farben
\usepackage{enumitem} % Befehl setlist (Zeilenabstand für itemize Umgebung auf 1 setzen)
\usepackage{listings} % Quelltexte
\usepackage{zref} % Verweise (Anhangsverweise)
\usepackage[toc,style=altlist,translate=false]{glossaries} % Glossar (nach hyperref, inputenc, babel und ngerman)
\usepackage[dvipsnames]{xcolor}
\usepackage{multirow}
\usepackage{adjustbox}
\usepackage{listings}
\usepackage{color}
\usepackage{hyperref}
\usepackage{nameref}
\usepackage{pdfcomment}
\usepackage{soul}
\usepackage{lscape}
\usepackage{multirow}
\usepackage{caption}
\usepackage{float}
\usepackage{amssymb}
\makeatletter
\def\thickhline{%
\noalign{\ifnum0=`}\fi\hrule \@height \thickarrayrulewidth \futurelet
\reserved@a\@xthickhline}
\def\@xthickhline{\ifx\reserved@a\thickhline
\vskip\doublerulesep
\vskip-\thickarrayrulewidth
\fi
\ifnum0=`{\fi}}
\makeatother
\newlength{\thickarrayrulewidth}
\setlength{\thickarrayrulewidth}{2\arrayrulewidth}
\definecolor{lightgray}{gray}{0.85}
\newcommand\greybox[1]{%
\vskip\baselineskip%
\par\noindent\colorbox{lightgray}{%
\begin{minipage}{\textwidth}#1\end{minipage}%
}%
\vskip\baselineskip%
}
\newcommand{\myvec}[1]{\ensuremath{\begin{pmatrix}#1\end{pmatrix}}}
% Definition of \mypageref{#1: label}
% Combining ref{#1: label} and pageref{#1: label}
\newcommand{\mypageref}[1]{\ref{#1} on page \pageref{#1}}
\makeatletter
\zref@newprop*{appsec}{}
\zref@addprop{main}{appsec}
%%%%%%%%%%%%%%%%%%%%%% Index and List of abbreviations %%%%%%%%%%%%%%%%%%%%%
\makeindex
\makenomenclature
% Festlegung der Art der Zitierung (Havardmethode: Abkuerzung Autor + Jahr)
%\usepackage{natbib} % Zitate (Erweiterung für Literaturverzeichnis) [round]
%\bibliographystyle{apacite}
%\bibliographystyle{apalike}
%\usepackage[style=alphabetic]{biblatex}
%\addbibresource{lit.bib}
%\usepackage[backend=biber]{biblatex}
\usepackage{babel,csquotes,xpatch}% recommended
\usepackage[style=apa, backend=biber]{biblatex}
%\usepackage[style=authoryear, backend=biber]{biblatex}
\addbibresource{lit.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PDF-Options %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\hypersetup{
bookmarksopen=false,
bookmarksnumbered=true,
bookmarksopenlevel=0,
pdftitle=\myTopic,
pdfsubject=\myTopic,
pdfauthor=\myAutor,
pdfborder={0 0 0},
pdfstartview=Fit,
pdfpagelayout=SinglePage
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%% Header and Footer %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancy}
\fancyhf{}
\fancyhead[R]{\color{black}\myAbridgedTopic}
\fancyfoot[R]{\color{black}\thepage}
\renewcommand{\headrulewidth}{0pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%% Layout and Labelling %%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\baselinestretch}{1.2}
\setlist{noitemsep}
\setlength\parindent{0pt}
\setlength\parskip{6pt}
\setlength{\headheight}{14pt}
\addto\captionsngerman{
\renewcommand{\figurename}{Abb.}
\renewcommand{\tablename}{Tab.}
}
\numberwithin{table}{section}
\numberwithin{figure}{section}
\renewcommand{\thetable}{\arabic{section}.\arabic{table}}
\renewcommand{\thefigure}{\arabic{section}.\arabic{figure}}
\renewcommand{\thefootnote}{\arabic{footnote}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Listingstyle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\lstset{
basicstyle=\ttfamily\scriptsize,
commentstyle=\color{commentgray}\textit,
showstringspaces=false,
stringstyle=\color{darkgreen},
keywordstyle=\color{blue},
numbers=left,
numberstyle=\tiny,
stepnumber=1,
numbersep=15pt,
tabsize=2,
fontadjust=true,
frame=single,
backgroundcolor=\color{boxgray},
captionpos=b,
linewidth=0.94\linewidth,
xleftmargin=0.1\linewidth,
breaklines=true,
aboveskip=16pt
}
\definecolor{gray}{rgb}{0.4,0.4,0.4}
\definecolor{darkblue}{rgb}{0.0,0.0,0.6}
\definecolor{cyan}{rgb}{0.0,0.6,0.6}
\lstset{
basicstyle=\ttfamily,
columns=fullflexible,
showstringspaces=false,
commentstyle=\color{gray}\upshape
}
\lstdefinelanguage{XML}
{
morestring=[b]",
morestring=[s]{>}{<},
morecomment=[s]{<?}{?>},
stringstyle=\color{black},
identifierstyle=\color{darkblue},
keywordstyle=\color{cyan},
morekeywords={xmlns,version,type}% list your attributes here
}
\usepackage{blindtext}
\usepackage{scrextend}
\usepackage{dirtytalk}
\definecolor{codegray}{gray}{0.95}
\newcommand{\code}[1]{\colorbox{codegray}{\texttt{#1}}}
%\usepackage{minted}
\usepackage[T2A,T1]{fontenc}
%\usepackage[T1]{fontenc}
\usepackage[raggedright]{titlesec}
\titleformat*{\section}{\normalsize\bf}
\titleformat*{\subsection}{\normalsize\bf}
\titleformat*{\subsubsection}{\normalsize\bf}
\titleformat*{\paragraph}{\small}
\titleformat*{\subparagraph}{\small}
\definecolor{codegray}{gray}{0.9}
\newcommand{\inlinecode}[1]{\colorbox{codegray}{\texttt{#1}}}
\addtokomafont{labelinglabel}{\sffamily}
% INSERT PAGES AND CHAPTER
\begin{document}
\pagenumbering{Roman}
\include{pages/10_title_page}
\newpage\null\thispagestyle{empty}\newpage
\setcounter{page}{1}
\include{chapter/Abstract}
\include{pages/11_toc}
\pagenumbering{arabic}
\renewcommand{\sectionmark}[1]{
\markright{
\MakeUppercase{\thesection\ #1}
}
}
% Chapters start
% Modify here
\include{chapter/00_Introduction}
\include{chapter/01_Literature_Review}
\include{chapter/02_Hypotheses}
\include{chapter/03_Methodology}
\include{chapter/04_Results}
\include{chapter/05_Discussion}
\include{chapter/06_Conclusion}
% % Chapters end
\include{pages/12_list_of_references}
\include{pages/13_list_of_figures}
\include{pages/14_list_of_tables}
\include{pages/15_list_of_abbr}
%\include{pages/16_list_of_listings}
\begin{appendix}
\renewcommand{\thetable}{\Alph{section}.\arabic{table}} % Tabellennummerierung mit
\renewcommand{\thefigure}{\Alph{section}.\arabic{figure}} % Abbildungsnummerierung mit
\renewcommand{\thelstlisting}{\Alph{section}.\arabic{lstlisting}} % Listingsnummerierung mit
\include{chapter/07_Appendix}
\end{appendix}
%\include{pages/19_index}
\include{pages/20_erklaerung}
\end{document}