Commit 0915e4fa authored by Florian Walch's avatar Florian Walch

Simplify template.

 * Remove glossary.
 * Move basic thesis information into main file.
 * Move contents of settings/* into single file.
 * Move bibliography file.
parent f7f5d60c
......@@ -14,7 +14,7 @@ Comments & contributions welcome!
* 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`.
* 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`.
For additional hints, have a look at [the wiki][wiki]. If you still have problems, feel free to [create an issue][issue].
......
No preview for this file type
......@@ -7,15 +7,6 @@
Citation test~\parencite{latex}.
\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}.
......
\newacronym{tum}{TUM}{Technische Universität München}
\newglossaryentry{computer}
{
name=computer,
description={is a machine that\ldots}
}
......@@ -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,oneside,fontsize=11pt,paper=a4,listof=totoc,bibliography=totoc]{scrbook} % one-sided
\input{settings/packages}
\input{settings/settings}
\input{settings/commands}
% TODO: remove if glossary not needed
\input{glossary/terms}
\input{glossary/acronyms}
% TODO: change citation style in settings
\input{settings}
% TODO: change thesis information
\newcommand*{\getUniversity}{Technische Universität München}
\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}
......@@ -36,10 +43,6 @@
\appendix{}
% TODO: remove if glossary not needed
\glsaddall{} % add all defined terms to glossary, even if not referenced in text
\printglossaries{}
\microtypesetup{protrusion=false}
\listoffigures{}
\listoftables{}
......
\addcontentsline{toc}{chapter}{Acknowledgments}
\thispagestyle{empty}
\vspace*{2cm}
\vspace*{20mm}
\begin{center}
{\usekomafont{section} Acknowledgments}
\end{center}
\vspace{1cm}
\vspace{10mm}
%TODO: Acknowledgments
......
......@@ -5,6 +5,6 @@ I confirm that this \MakeLowercase{\getDoctype{}} is my own work and I have docu
\vspace{15mm}
\noindent
\getSubmissionLocation{}, \getSubmissionDate{} \hspace{5cm} \getAuthor{}
\getSubmissionLocation{}, \getSubmissionDate{} \hspace{50mm} \getAuthor{}
\cleardoublepage{}
......@@ -26,6 +26,6 @@
Submission Date: & \getSubmissionDate{} \\
\end{tabular}
\vspace{20mm}
\vfill{}
\includegraphics[width=20mm]{logos/faculty}
\end{titlepage}
......@@ -13,7 +13,7 @@
minnames=3,
maxbibnames=99,
firstinits,
uniquename=init]{biblatex} % TODO: adapt bibliography style
uniquename=init]{biblatex} % TODO: adapt citation style
\usepackage{graphicx}
\usepackage{scrhack} % necessary for listings package
\usepackage{listings}
......@@ -25,4 +25,25 @@
\usepackage[final]{microtype}
\usepackage{caption}
\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}
}
% 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.
\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}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment