diff --git a/README.md b/README.md index ef5647f..c6ab257 100644 --- a/README.md +++ b/README.md @@ -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]. diff --git a/bibliography/literature.bib b/bibliography.bib similarity index 100% rename from bibliography/literature.bib rename to bibliography.bib diff --git a/build/main.pdf b/build/main.pdf index 575bcaf..d7f0c05 100644 Binary files a/build/main.pdf and b/build/main.pdf differ diff --git a/chapters/01_introduction.tex b/chapters/01_introduction.tex index 57d5ada..feba88a 100644 --- a/chapters/01_introduction.tex +++ b/chapters/01_introduction.tex @@ -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}. diff --git a/glossary/acronyms.tex b/glossary/acronyms.tex deleted file mode 100644 index 2c0833a..0000000 --- a/glossary/acronyms.tex +++ /dev/null @@ -1 +0,0 @@ -\newacronym{tum}{TUM}{Technische Universität München} diff --git a/glossary/terms.tex b/glossary/terms.tex deleted file mode 100644 index 8c87da4..0000000 --- a/glossary/terms.tex +++ /dev/null @@ -1,5 +0,0 @@ -\newglossaryentry{computer} -{ - name=computer, - description={is a machine that\ldots} -} diff --git a/main.tex b/main.tex index 3d60320..cbb3c85 100644 --- a/main.tex +++ b/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,oneside,fontsize=11pt,paper=a4,listof=totoc,bibliography=totoc]{scrbook} % one-sided -\input{settings/packages} -\input{settings/settings} -\input{settings/commands} +% TODO: change citation style in settings +\input{settings} -% TODO: remove if glossary not needed -\input{glossary/terms} -\input{glossary/acronyms} +% 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{} diff --git a/pages/acknowledgements.tex b/pages/acknowledgements.tex index 345b801..dedfe25 100644 --- a/pages/acknowledgements.tex +++ b/pages/acknowledgements.tex @@ -1,13 +1,13 @@ \addcontentsline{toc}{chapter}{Acknowledgments} \thispagestyle{empty} -\vspace*{2cm} +\vspace*{20mm} \begin{center} {\usekomafont{section} Acknowledgments} \end{center} -\vspace{1cm} +\vspace{10mm} %TODO: Acknowledgments diff --git a/pages/disclaimer.tex b/pages/disclaimer.tex index 587e528..4fb1cb0 100644 --- a/pages/disclaimer.tex +++ b/pages/disclaimer.tex @@ -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{} diff --git a/pages/title.tex b/pages/title.tex index 177a12b..aadf191 100644 --- a/pages/title.tex +++ b/pages/title.tex @@ -26,6 +26,6 @@ Submission Date: & \getSubmissionDate{} \\ \end{tabular} - \vspace{20mm} + \vfill{} \includegraphics[width=20mm]{logos/faculty} \end{titlepage} diff --git a/settings/packages.tex b/settings.tex similarity index 50% rename from settings/packages.tex rename to settings.tex index c3a7f23..4e83d5c 100644 --- a/settings/packages.tex +++ b/settings.tex @@ -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} +} diff --git a/settings/commands.tex b/settings/commands.tex deleted file mode 100644 index 4c98f25..0000000 --- a/settings/commands.tex +++ /dev/null @@ -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. diff --git a/settings/settings.tex b/settings/settings.tex deleted file mode 100644 index 727c721..0000000 --- a/settings/settings.tex +++ /dev/null @@ -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} -}