Thesis

A latex template for writing a Bachelor/Master thesis. (mirror of https://git.fachschaft.tf/fachschaft-public/thesis-template)

Category

masters

License

Free to use (MIT)

File

thesis_main.tex

thesis_main.texRead-only preview
% documentclass options:
% ngerman is needed for hyphenation if the thesis contains parts written in German
% BCOR is binding correction
% if you'd rather have a one sided thesis, add `oneside' to the documentclass
\documentclass[11pt,
  a4paper,
  parskip=half, % This is some extra vertical space between paragraphs, the suggestion is 2cm which is really ugly, so we use what koma script gives us
  % you can also set it to full for even more space. But there is a bad tex style decision: parskip also changes the spacing between listitems such as
  % enumerate and itemize. For this purpose we include the enumitem package and set itemsep=.5em, of course you can change this
  BCOR=10mm,
  english,
  ngerman]{scrbook}
\usepackage[english, ngerman]{babel} % If you write mainly in english change order to ngerman, english
% Include of titling must happen before \title etc.
% that's why it's not in setup.tex
\usepackage{titling}
\title{Your title goes here}
\author{Your Name}

% include all packages and define commands in setup.tex
\input{setup}

\begin{document}
    \pagestyle{empty} % no header and no page number
    % disable hyper links to remove warning "destination with same identifier"
    % this means within this section nothing can be referenced with a hyperlink
    \hypersetup{pageanchor=false}

    % enable/disable, depending on your chosen language
    \input{chapters/0_0-titlepage_en}
    \input{chapters/0_0-titlepage_de}

    \pagestyle{plain} % remove chapter name from top, page number at the bottom
    % use \pagestyle{headings} for having the chapter on top of the pages
    % if you wang a more fancy header use \usepackage[automark,headsepline]{scrlayer-scrpage}
    % and read about it in the KOMA script documentation, https://www.ctan.org/pkg/koma-script
    \frontmatter  % roman page numbers
    \input{chapters/0_1-declaration}
    \input{chapters/0_2-abstract}
    \tableofcontents
    \listoffigures
    \listoftables
    \listofalgorithms
    \hypersetup{pageanchor=true}  % re-enable hyperlinking

    \mainmatter  % Arabic page numbers
    \input{chapters/1-introduction}
    \input{chapters/2-relatedwork}
    \input{chapters/3-background}
    \input{chapters/4-approach}
    \input{chapters/5-experiments}
    \input{chapters/6-conclusions}
    \input{chapters/7-acknowledgments}

    % bibliography is not in the table of contents per default, add it manually
    % enable the \renewcommand for german header
    % \renewcommand{\bibname}{Literaturverzeichnis}
    \addcontentsline{toc}{chapter}{Bibliography}

    \bibliographystyle{ieeetr}
    \bibliography{bib/topic1,bib/topic2}
    \newpage
    \thispagestyle{empty}
    \mbox{}


\end{document}
Preview
Thesis preview
Thesis LaTeX Template | Bibby | Bibby AI