Simplify template.
* Remove glossary. * Move basic thesis information into main file. * Move contents of settings/* into single file. * Move bibliography file.
This commit is contained in:
@@ -14,7 +14,7 @@ Comments & contributions welcome!
|
|||||||
* Download the TUM logo from [here][mytum-logo-tum] and save it to `logos/tum.pdf`.
|
* Download the TUM logo from [here][mytum-logo-tum] and save it to `logos/tum.pdf`.
|
||||||
* Download your faculty's logo from [here][mytum-logo-faculty] and save it to `logos/faculty.pdf`.
|
* Download your faculty's logo from [here][mytum-logo-faculty] and save it to `logos/faculty.pdf`.
|
||||||
* Some logos might not be cropped; execute the `crop-logos` script to do that for you. The script requires the `pdfcrop` tool (included in TeX Live/MiKTeX), so make sure your `PATH` environment variable is set accordingly.
|
* Some logos might not be cropped; execute the `crop-logos` script to do that for you. The script requires the `pdfcrop` tool (included in TeX Live/MiKTeX), so make sure your `PATH` environment variable is set accordingly.
|
||||||
* Configure your latex editor to use `pdflatex`, `biber` for bibliography, and `makeglossaries` for glossary generation. Set `main.tex` as the master document. Alternatively, you can use the provided makefile to create a PDF in the `build` directory (requires `latexmk`).
|
* Configure your latex editor to use `pdflatex` and `biber`. Set `main.tex` as the master document. Alternatively, you can use the provided makefile to create a PDF in the `build` directory (requires `latexmk`).
|
||||||
* Look for `TODO` comments in the provided files. Start at `main.tex`.
|
* Look for `TODO` comments in the provided files. Start at `main.tex`.
|
||||||
|
|
||||||
For additional hints, have a look at [the wiki][wiki]. If you still have problems, feel free to [create an issue][issue].
|
For additional hints, have a look at [the wiki][wiki]. If you still have problems, feel free to [create an issue][issue].
|
||||||
|
|||||||
BIN
build/main.pdf
BIN
build/main.pdf
Binary file not shown.
@@ -7,15 +7,6 @@
|
|||||||
Citation test~\parencite{latex}.
|
Citation test~\parencite{latex}.
|
||||||
|
|
||||||
\subsection{Subsection}
|
\subsection{Subsection}
|
||||||
See~\autoref{fig:sample}.
|
|
||||||
|
|
||||||
\begin{figure}[htpb]
|
|
||||||
\centering
|
|
||||||
\includegraphics{logos/tum}
|
|
||||||
\caption[Example figure]{An example for a figure.}\label{fig:sample}
|
|
||||||
\end{figure}
|
|
||||||
|
|
||||||
\section{Section}
|
|
||||||
|
|
||||||
See~\autoref{tab:sample}, \autoref{fig:sample-drawing}, \autoref{fig:sample-plot}, \autoref{fig:sample-listing}.
|
See~\autoref{tab:sample}, \autoref{fig:sample-drawing}, \autoref{fig:sample-plot}, \autoref{fig:sample-listing}.
|
||||||
|
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
\newacronym{tum}{TUM}{Technische Universität München}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
\newglossaryentry{computer}
|
|
||||||
{
|
|
||||||
name=computer,
|
|
||||||
description={is a machine that\ldots}
|
|
||||||
}
|
|
||||||
23
main.tex
23
main.tex
@@ -4,13 +4,20 @@
|
|||||||
%\documentclass[headsepline,footsepline,footinclude=false,fontsize=11pt,paper=a4,listof=totoc,bibliography=totoc,BCOR=12mm,DIV=12]{scrbook} % two-sided
|
%\documentclass[headsepline,footsepline,footinclude=false,fontsize=11pt,paper=a4,listof=totoc,bibliography=totoc,BCOR=12mm,DIV=12]{scrbook} % two-sided
|
||||||
\documentclass[headsepline,footsepline,footinclude=false,oneside,fontsize=11pt,paper=a4,listof=totoc,bibliography=totoc]{scrbook} % one-sided
|
\documentclass[headsepline,footsepline,footinclude=false,oneside,fontsize=11pt,paper=a4,listof=totoc,bibliography=totoc]{scrbook} % one-sided
|
||||||
|
|
||||||
\input{settings/packages}
|
% TODO: change citation style in settings
|
||||||
\input{settings/settings}
|
\input{settings}
|
||||||
\input{settings/commands}
|
|
||||||
|
|
||||||
% TODO: remove if glossary not needed
|
% TODO: change thesis information
|
||||||
\input{glossary/terms}
|
\newcommand*{\getUniversity}{Technische Universität München}
|
||||||
\input{glossary/acronyms}
|
\newcommand*{\getFaculty}{Department of Informatics}
|
||||||
|
\newcommand*{\getTitle}{Thesis title}
|
||||||
|
\newcommand*{\getTitleGer}{Titel der Abschlussarbeit}
|
||||||
|
\newcommand*{\getAuthor}{Author}
|
||||||
|
\newcommand*{\getDoctype}{Thesis type (Bachelor's Thesis in Informatics, Master's Thesis in Robotics, \ldots)}
|
||||||
|
\newcommand*{\getSupervisor}{Supervisor}
|
||||||
|
\newcommand*{\getAdvisor}{Advisor}
|
||||||
|
\newcommand*{\getSubmissionDate}{Submission date}
|
||||||
|
\newcommand*{\getSubmissionLocation}{Munich}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
@@ -36,10 +43,6 @@
|
|||||||
|
|
||||||
\appendix{}
|
\appendix{}
|
||||||
|
|
||||||
% TODO: remove if glossary not needed
|
|
||||||
\glsaddall{} % add all defined terms to glossary, even if not referenced in text
|
|
||||||
\printglossaries{}
|
|
||||||
|
|
||||||
\microtypesetup{protrusion=false}
|
\microtypesetup{protrusion=false}
|
||||||
\listoffigures{}
|
\listoffigures{}
|
||||||
\listoftables{}
|
\listoftables{}
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
\addcontentsline{toc}{chapter}{Acknowledgments}
|
\addcontentsline{toc}{chapter}{Acknowledgments}
|
||||||
\thispagestyle{empty}
|
\thispagestyle{empty}
|
||||||
|
|
||||||
\vspace*{2cm}
|
\vspace*{20mm}
|
||||||
|
|
||||||
\begin{center}
|
\begin{center}
|
||||||
{\usekomafont{section} Acknowledgments}
|
{\usekomafont{section} Acknowledgments}
|
||||||
\end{center}
|
\end{center}
|
||||||
|
|
||||||
\vspace{1cm}
|
\vspace{10mm}
|
||||||
|
|
||||||
%TODO: Acknowledgments
|
%TODO: Acknowledgments
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ I confirm that this \MakeLowercase{\getDoctype{}} is my own work and I have docu
|
|||||||
|
|
||||||
\vspace{15mm}
|
\vspace{15mm}
|
||||||
\noindent
|
\noindent
|
||||||
\getSubmissionLocation{}, \getSubmissionDate{} \hspace{5cm} \getAuthor{}
|
\getSubmissionLocation{}, \getSubmissionDate{} \hspace{50mm} \getAuthor{}
|
||||||
|
|
||||||
\cleardoublepage{}
|
\cleardoublepage{}
|
||||||
|
|||||||
@@ -26,6 +26,6 @@
|
|||||||
Submission Date: & \getSubmissionDate{} \\
|
Submission Date: & \getSubmissionDate{} \\
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
|
|
||||||
\vspace{20mm}
|
\vfill{}
|
||||||
\includegraphics[width=20mm]{logos/faculty}
|
\includegraphics[width=20mm]{logos/faculty}
|
||||||
\end{titlepage}
|
\end{titlepage}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
minnames=3,
|
minnames=3,
|
||||||
maxbibnames=99,
|
maxbibnames=99,
|
||||||
firstinits,
|
firstinits,
|
||||||
uniquename=init]{biblatex} % TODO: adapt bibliography style
|
uniquename=init]{biblatex} % TODO: adapt citation style
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{scrhack} % necessary for listings package
|
\usepackage{scrhack} % necessary for listings package
|
||||||
\usepackage{listings}
|
\usepackage{listings}
|
||||||
@@ -25,4 +25,25 @@
|
|||||||
\usepackage[final]{microtype}
|
\usepackage[final]{microtype}
|
||||||
\usepackage{caption}
|
\usepackage{caption}
|
||||||
\usepackage[hidelinks]{hyperref} % hidelinks removes colored boxes around references and links
|
\usepackage[hidelinks]{hyperref} % hidelinks removes colored boxes around references and links
|
||||||
\usepackage[toc,nonumberlist,acronym]{glossaries} % TODO: remove if glossary not needed
|
|
||||||
|
|
||||||
|
\bibliography{bibliography}
|
||||||
|
|
||||||
|
\setkomafont{disposition}{\normalfont\bfseries} % use serif font for headings
|
||||||
|
\linespread{1.05} % adjust line spread for mathpazo font
|
||||||
|
|
||||||
|
% Settings for pgfplots
|
||||||
|
\pgfplotsset{compat=1.9} % TODO: adjust to your installed version
|
||||||
|
\pgfplotsset{
|
||||||
|
% For available color names, see http://www.latextemplates.com/svgnames-colors
|
||||||
|
cycle list={CornflowerBlue\\Dandelion\\ForestGreen\\BrickRed\\},
|
||||||
|
}
|
||||||
|
|
||||||
|
% Settings for lstlistings
|
||||||
|
\lstset{%
|
||||||
|
basicstyle=\ttfamily,
|
||||||
|
columns=fullflexible,
|
||||||
|
autogobble,
|
||||||
|
keywordstyle=\bfseries\color{MediumBlue},
|
||||||
|
stringstyle=\color{DarkGreen}
|
||||||
|
}
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
% Basic information for cover & title page
|
|
||||||
\newcommand*{\getUniversity}{Technische Universität München}
|
|
||||||
\newcommand*{\getFaculty}{Department of Informatics}
|
|
||||||
\newcommand*{\getTitle}{TODO: Thesis title}
|
|
||||||
\newcommand*{\getTitleGer}{TODO: Titel der Abschlussarbeit}
|
|
||||||
\newcommand*{\getAuthor}{TODO: Author}
|
|
||||||
\newcommand*{\getDoctype}{TODO: Thesis type (Bachelor's Thesis in Informatics, Master's Thesis in Robotics, \ldots)}
|
|
||||||
\newcommand*{\getSupervisor}{TODO: Supervisor}
|
|
||||||
\newcommand*{\getAdvisor}{TODO: Advisor}
|
|
||||||
\newcommand*{\getSubmissionDate}{TODO: Submission date}
|
|
||||||
\newcommand*{\getSubmissionLocation}{Munich}
|
|
||||||
|
|
||||||
% TODO: add custom commands etc.
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
\bibliography{bibliography/literature}
|
|
||||||
|
|
||||||
\setkomafont{disposition}{\normalfont\bfseries} % use serif font for headings
|
|
||||||
\linespread{1.05} % adjust line spread for mathpazo font
|
|
||||||
|
|
||||||
% Settings for glossaries TODO: remove the following block if glossary not needed
|
|
||||||
\renewcommand{\glsnamefont}[1]{\normalfont\bfseries #1} % use serif font for glossary entry titles
|
|
||||||
\makeglossaries{}
|
|
||||||
|
|
||||||
% Settings for pgfplots
|
|
||||||
\pgfplotsset{compat=1.9} % TODO: adjust to your installed version
|
|
||||||
\pgfplotsset{
|
|
||||||
% For available color names, see http://www.latextemplates.com/svgnames-colors
|
|
||||||
cycle list={CornflowerBlue\\Dandelion\\ForestGreen\\BrickRed\\},
|
|
||||||
}
|
|
||||||
|
|
||||||
% Settings for lstlistings
|
|
||||||
\lstset{%
|
|
||||||
basicstyle=\ttfamily,
|
|
||||||
columns=fullflexible,
|
|
||||||
autogobble,
|
|
||||||
keywordstyle=\bfseries\color{MediumBlue},
|
|
||||||
stringstyle=\color{DarkGreen}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user