\documentclass[ a4paper, % paper size 11pt, % font size %DIV=15, % used for typearea calculation %headsepline, % add head line to border calculation twoside, % onesided document footnotes = multiple, % visually separate two consecutive footnotes %toc = index, % add index to table of contents numbers = auto, % automatic placing of end dot in numbering %pagesize % used for flexibility ]{scrbook} \usepackage[utf8]{inputenc} %%% Page Layout %%% \usepackage[ inner=4.6cm, outer=3.7cm, top=4.4cm, headsep=0.8cm, bottom=4.4cm ]{geometry} \setlength{\parindent}{1em} \setlength{\parskip}{0.5em} %%% Headers and Footers %%% \usepackage{scrlayer-scrpage} \pagestyle{scrheadings} \lehead{\pagemark} \rehead{\headmark} \rohead{\pagemark} \lohead{\headmark} \lefoot{} \rofoot{} %%% Math packages %%% \usepackage{amssymb} %%% Graphics/Figures Packages %%% \usepackage{graphicx} \usepackage{wrapfig} \usepackage{caption} \usepackage[font=footnotesize]{subfig} %\usepackage{morefloats} %%% Listing Packages %%% \usepackage{scrhack} % Needed to mitigate incompatibilities of the listings package with the KOMA scripts packages \usepackage{listings} \usepackage{float} % Needed to prettify listings \floatstyle{ruled} % Default float style for new floats \newfloat{listing}{tbph}{listing} % Define a new float for listings \floatname{listing}{Listing} % Define the name to be used in captions for listings %%% Algorithm packages %%% \usepackage{algorithmicx} \usepackage{algpseudocode} % User defined algorithmicx block representing a struct \algblockx[Struct]{StructStart}{StructEnd}% [1][structname]{\textbf{struct #1 \{}}% {\textbf{\}}} % We need to make \Call robust to be able to nest \Call statements \usepackage{makerobust} \MakeRobustCommand{\Call} %%% Used to create a circled number %%% \usepackage{tikz} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{\node[shape=circle,draw,inner sep=0.5pt] (char) {#1};}} %%% Other Packages %%% \usepackage[binary-units=true]{siunitx} % SI-Units helper package \usepackage{url} % Needed for declaring urls %\usepackage{xcolor} % Sometimes it is useful to color something %\usepackage{placeins} % Needed for \FloatBarrier % Needed for having the table of content as pdf index % Should usually be the very last package \usepackage[]{hyperref} \hypersetup{ pdftitle={Your title here}, pdfauthor={Your name here}, pdfsubject={Your subject here}, pdfkeywords={keyword1, keyword2}, bookmarksnumbered=true, bookmarksopen=true, bookmarksopenlevel=2, colorlinks=false, pdfstartview=Fit, pdfpagemode=UseOutlines, pdfpagelayout=TwoPageRight } %%% Custom Commands %%% \newcommand*{\EmptyPage}{\newpage\null\thispagestyle{empty}\newpage} % Inserts an empty page \newcommand*{\subfloattex}[3]{\subfloat[#1]{\resizebox{#2}{!}{\input{#3}}}} % Convenience command for putting a .tex figure into a \subfloat %%%%%% Document Start %%%%%% \begin{document} %%% Title/Preface Pages, Table of Content, etc %%% \include{titlepage} \cleardoublepage \textbf{Certificate of Authorship and Originality} here \cleardoublepage \textbf{Abstract} here \cleardoublepage \textbf{Acknowledgements} here \cleardoublepage \tableofcontents %%% Real content start here %%% %\include{introduction/introduction-main} \include{background/background-main} %\include{workflowtranslation/workflowtranslation-main} %\include{mwre/mwre-main} %\include{scheduling/scheduling-main} %\include{wepevaluation/wepevaluation-main} %\include{workflowtransformations/workflowtransformations-main} %\include{conclusion/conclusion-main} %%% Bibliography %%% \bibliographystyle{abbrv} \bibliography{biblio} \end{document}