diff --git a/Makefile b/Makefile index 10e9310..21a711f 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,18 @@ FILE := main OUT := build +.PHONY: pdf pdf: - # Also see .latexmkrc - latexmk -outdir=$(OUT) -pdf $(FILE) + latexmk -interaction=nonstopmode -outdir=$(OUT) -pdf -halt-on-error $(FILE) +.PHONY: watch +watch: + latexmk -interaction=nonstopmode -outdir=$(OUT) -pdf -pvc -halt-on-error $(FILE) + +.PHONY: clean clean: rm -rf $(filter-out $(OUT)/$(FILE).pdf, $(wildcard $(OUT)/*)) +.PHONY: purge purge: rm -rf $(OUT) - -.PHONY: latexmk clean purge diff --git a/build/main.pdf b/build/main.pdf index d7f0c05..13aa874 100644 Binary files a/build/main.pdf and b/build/main.pdf differ diff --git a/pages/cover.tex b/pages/cover.tex index f881efb..4ced90b 100644 --- a/pages/cover.tex +++ b/pages/cover.tex @@ -31,7 +31,7 @@ {\LARGE \getAuthor{}} \IfFileExists{logos/faculty.pdf}{% - \vspace{20mm} + \vfill{} \includegraphics[height=20mm]{logos/faculty.pdf} }{} \end{titlepage} diff --git a/pages/title.tex b/pages/title.tex index eb941f0..f097adb 100644 --- a/pages/title.tex +++ b/pages/title.tex @@ -24,9 +24,9 @@ \vspace{15mm} \begin{tabular}{l l} - Author: & \getAuthor{} \\ - Supervisor: & \getSupervisor{} \\ - Advisor: & \getAdvisor{} \\ + Author: & \getAuthor{} \\ + Supervisor: & \getSupervisor{} \\ + Advisor: & \getAdvisor{} \\ Submission Date: & \getSubmissionDate{} \\ \end{tabular} diff --git a/settings.tex b/settings.tex index 7e36fd9..702f752 100644 --- a/settings.tex +++ b/settings.tex @@ -26,12 +26,14 @@ \usepackage{caption} \usepackage[hidelinks]{hyperref} % hidelinks removes colored boxes around references and links - \bibliography{bibliography} \setkomafont{disposition}{\normalfont\bfseries} % use serif font for headings \linespread{1.05} % adjust line spread for mathpazo font +% Add table of contents to PDF bookmarks +\BeforeTOCHead[toc]{{\cleardoublepage\pdfbookmark[0]{\contentsname}{toc}}} + % Define TUM corporate design colors % Taken from http://portal.mytum.de/corporatedesign/index_print/vorlagen/index_farben \definecolor{TUMBlue}{HTML}{0065BD} @@ -49,7 +51,7 @@ \definecolor{TUMAccentBlue}{HTML}{64A0C8} % Settings for pgfplots -\pgfplotsset{compat=1.9} % TODO: adjust to your installed version +\pgfplotsset{compat=newest} \pgfplotsset{ % For available color names, see http://www.latextemplates.com/svgnames-colors cycle list={TUMBlue\\TUMAccentOrange\\TUMAccentGreen\\TUMSecondaryBlue2\\TUMDarkGray\\},