From 7c35963f286418a7fde2fe53f350ce6f75a020ad Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 21 Sep 2021 19:11:18 +0200 Subject: Create thesis skeleton --- doc/thesis/Fading.pdf | Bin 30719 -> 58067 bytes doc/thesis/Fading.tex | 33 ++++++++++++++++++++---------- doc/thesis/Makefile | 19 +++++++++++++++-- doc/thesis/chapters/conclusions.tex | 3 +++ doc/thesis/chapters/implementation.tex | 8 ++++++++ doc/thesis/chapters/introduction.tex | 5 +++++ doc/thesis/chapters/theory.tex | 6 ++++++ doc/thesis/tex/classicthesis-config.tex | 8 ++++---- doc/thesis/tex/preamble.tex | 29 ++++++++++++++++++++++++++ doc/thesis/tex/titlepage.tex | 35 ++++++++++++++++++++++++++++++++ 10 files changed, 129 insertions(+), 17 deletions(-) create mode 100644 doc/thesis/chapters/conclusions.tex create mode 100644 doc/thesis/chapters/implementation.tex create mode 100644 doc/thesis/chapters/introduction.tex create mode 100644 doc/thesis/chapters/theory.tex create mode 100644 doc/thesis/tex/preamble.tex create mode 100644 doc/thesis/tex/titlepage.tex diff --git a/doc/thesis/Fading.pdf b/doc/thesis/Fading.pdf index e659c6d..746306d 100644 Binary files a/doc/thesis/Fading.pdf and b/doc/thesis/Fading.pdf differ diff --git a/doc/thesis/Fading.tex b/doc/thesis/Fading.tex index 2cf6da4..31e0b90 100644 --- a/doc/thesis/Fading.tex +++ b/doc/thesis/Fading.tex @@ -17,17 +17,28 @@ \usepackage{tex/classicthesis} \begin{document} + % stuff before + \hypersetup{pageanchor = false} + \include{tex/titlepage} -%% Table of contents, List of figures, etc. -\begingroup - \let\clearpage\relax - \let\cleardoublepage\relax - - \pagestyle{scrheadings} - \tableofcontents - \listoffigures - \listoftables - \lstlistoflistings -\endgroup + \pdfbookmark[1]{Abstract}{Abstract} + \begin{abstract} + %% TODO + \end{abstract} + \cleardoublepage + + \pagenumbering{roman} + \include{tex/preamble} + + % actual content + \hypersetup{pageanchor = true} + \pagenumbering{arabic} + \setcounter{page}{1} + \include{chapters/introduction} + \include{chapters/theory} + \include{chapters/implementation} + \include{chapters/conclusions} + + % TODO: stuff after \end{document} diff --git a/doc/thesis/Makefile b/doc/thesis/Makefile index c0b0b35..66e0388 100644 --- a/doc/thesis/Makefile +++ b/doc/thesis/Makefile @@ -1,7 +1,17 @@ TEX := pdflatex TEXARGS := -halt-on-error -interaction=nonstopmode -SOURCES := Fading.tex tex/classicthesis.sty tex/classicthesis-config.tex +SOURCES := Fading.tex \ + tex/classicthesis.sty \ + tex/classicthesis-config.tex \ + \ + tex/titlepage.tex \ + tex/preamble.tex \ + \ + chapters/introduction.tex \ + chapters/theory.tex \ + chapters/implementation.tex \ + chapters/conclusions.tex # Get the main file from the file MAIN := $(shell sed -ne 's/^.*\!TeX root =\(.*\)$$/\1/ p' $(SOURCES)) @@ -17,10 +27,15 @@ all: $(PDF) %.pdf: %.tex $(SOURCES) $(TEX) $(TEXARGS) $< + # TODO: makeindex and stuff + $(TEX) $(TEXARGS) $< + $(TEX) $(TEXARGS) $< .PHONY: clean cleanall clean: - @rm -vf *.aux *.aue *.lof *.log *.lot *.fls *.out *.toc *.fmt *.fot *.cb *.cb2 .*.lb *.dvi *.xdv *-converted-to.* *.bbl *.bcf *.blg *-blx.aux *-blx.bib *.run.xml *.fdb_latexmk *.synctex *.synctex\(busy\) *.synctex.gz *.synctex.gz\(busy\) *.pdfsync *.alg *.loa acs-*.bib *.thm *.nav *.pre *.snm *.vrb *.soc *.cut *.cpt *.spl *.ent *.lox *.mf *.acn *.acr *.glg *.glo *.gls *.glsdefs *.lzo *.lzs + @rm -vf *.aux *.aue *.lof *.log *.lot *.fls *.out *.toc *.fmt *.fot *.cb *.cb2 .*.lb *.dvi *.xdv *-converted-to.* *.bbl *.bcf *.blg *-blx.aux *-blx.bib *.run.xml *.fdb_latexmk *.synctex *.synctex\(busy\) *.synctex.gz *.synctex.gz\(busy\) *.pdfsync *.alg *.loa acs-*.bib *.thm *.nav *.pre *.snm *.vrb *.soc *.cut *.cpt *.spl *.ent *.lox *.mf *.acn *.acr *.glg *.glo *.gls *.glsdefs *.lzo *.lzs *.lol + @rm -vf tex/*.aux + @rm -vf chapters/*.aux cleanall: clean @rm -vf $(PDF) diff --git a/doc/thesis/chapters/conclusions.tex b/doc/thesis/chapters/conclusions.tex new file mode 100644 index 0000000..15697fd --- /dev/null +++ b/doc/thesis/chapters/conclusions.tex @@ -0,0 +1,3 @@ +% vim: set ts=2 sw=2 noet: + +\chapter{Conclusions} diff --git a/doc/thesis/chapters/implementation.tex b/doc/thesis/chapters/implementation.tex new file mode 100644 index 0000000..12f8cd6 --- /dev/null +++ b/doc/thesis/chapters/implementation.tex @@ -0,0 +1,8 @@ +% vim: set ts=2 sw=2 noet: + +\chapter{Implementation} + +\section{Simulaton} +\section{Hardware} +\section{Measurements} +\section{Results} diff --git a/doc/thesis/chapters/introduction.tex b/doc/thesis/chapters/introduction.tex new file mode 100644 index 0000000..0dc11e5 --- /dev/null +++ b/doc/thesis/chapters/introduction.tex @@ -0,0 +1,5 @@ +% vim: set ts=2 sw=2 noet: + +\chapter{Introduction} + +\section{Background} diff --git a/doc/thesis/chapters/theory.tex b/doc/thesis/chapters/theory.tex new file mode 100644 index 0000000..d61fff1 --- /dev/null +++ b/doc/thesis/chapters/theory.tex @@ -0,0 +1,6 @@ +% vim: set ts=2 sw=2 noet: + +\chapter{Theory} + +\section{Problem description} +\section{Mathematical Model} diff --git a/doc/thesis/tex/classicthesis-config.tex b/doc/thesis/tex/classicthesis-config.tex index de761d7..424d7c2 100644 --- a/doc/thesis/tex/classicthesis-config.tex +++ b/doc/thesis/tex/classicthesis-config.tex @@ -29,7 +29,7 @@ \PassOptionsToPackage{ drafting=true, % print version information on the bottom of the pages tocaligned=false, % the left column of the toc will be aligned (no indentation) - dottedtoc=false, % page numbers in ToC flushed right + dottedtoc=true, % page numbers in ToC flushed right eulerchapternumbers=true, % use AMS Euler for chapter font (otherwise Palatino) linedheaders=false, % chaper headers will have line above and beneath floatperchapter=true, % numbering per chapter for all floats (i.e., Figure 1.1) @@ -50,12 +50,12 @@ \newcommand{\myProf}{Prof. Dr. Heinz Mathis\xspace} \newcommand{\myOtherProf}{\xspace} \newcommand{\mySupervisor}{Michel Nyffenegger\xspace} -\newcommand{\myFaculty}{University of Applied Sciences of East Switzerland\xspace} +\newcommand{\myFaculty}{Faculty of Electrical Engineeering\xspace} \newcommand{\myDepartment}{Institute for Communication Systems ICOM\xspace} -\newcommand{\myUni}{OST Fachhochschule\xspace} +\newcommand{\myUni}{University of Applied Sciences of East Switzerland OST\xspace} \newcommand{\myLocation}{Rapperswil\xspace} \newcommand{\myTime}{December 2021\xspace} -\newcommand{\myVersion}{\classicthesis} +\newcommand{\myVersion}{Draft 1} % Setup, finetuning, and useful commands \newcommand{\ie}{i.\,e.} diff --git a/doc/thesis/tex/preamble.tex b/doc/thesis/tex/preamble.tex new file mode 100644 index 0000000..0d42fe5 --- /dev/null +++ b/doc/thesis/tex/preamble.tex @@ -0,0 +1,29 @@ +% vim: set ts=2 sw=2 noet: + +% Table of contents +\pdfbookmark[1]{\contentsname}{tableofcontents} +\tableofcontents + +\clearpage + +% List of figures, tables and listings +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + + \automark[section]{chapter} + \renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}} + \renewcommand{\sectionmark}[1]{\markright{\textsc{\thesection}\enspace\spacedlowsmallcaps{#1}}} + + \pagestyle{scrheadings} + + \pdfbookmark[1]{\listfigurename}{lof} + \listoffigures + + \pdfbookmark[1]{\listtablename}{lot} + \listoftables + + \pdfbookmark[1]{\lstlistlistingname}{lol} + \lstlistoflistings +\endgroup + diff --git a/doc/thesis/tex/titlepage.tex b/doc/thesis/tex/titlepage.tex new file mode 100644 index 0000000..9bcd127 --- /dev/null +++ b/doc/thesis/tex/titlepage.tex @@ -0,0 +1,35 @@ +% vim: set ts=2 sw=2 noet: + +\begin{titlepage} + \pdfbookmark[1]{\myTitle}{titlepage} + \begin{addmargin}[-1cm]{-3cm} + \begin{center} + \large + + \hfill + + \vfill + + \begingroup + \color{CTtitle}\spacedallcaps{\myTitle} \\ \bigskip + \endgroup + + \spacedlowsmallcaps{\myName} + + \vfill + + % \includegraphics[width=6cm]{gfx/TFZsuperellipse_bw} \\ \medskip + + % \mySubtitle \\ \medskip + % \myDegree \\ + \myDepartment \\ + \myFaculty \\ + \myUni \\ \bigskip + + \myTime\ -- \myVersion + + \vfill + + \end{center} + \end{addmargin} +\end{titlepage} -- cgit v1.2.1