Reorganized cel-thesis.cls
This commit is contained in:
parent
24a48bef59
commit
d0bcf5ae1b
@ -1,10 +1,17 @@
|
|||||||
% Author: Johannes Demel
|
% Original Author: Johannes Demel
|
||||||
% This file requires quite a few texlive packages.
|
% Modified: Andreas Tsouchlos
|
||||||
% texlive-lang-german / texlive-lang-european
|
%
|
||||||
% texlive-science
|
% Template for theses authored at the Communications Engineering Lab (CEL).
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% New Doctype Declaration %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesClass{cel-thesis/cel-thesis}
|
\ProvidesClass{cel-thesis/cel-thesis}
|
||||||
|
|
||||||
\LoadClass[11pt, % 11pt
|
\LoadClass[11pt, % 11pt
|
||||||
titlepage,
|
titlepage,
|
||||||
twoside, % Doppelseitige Ausgabe
|
twoside, % Doppelseitige Ausgabe
|
||||||
@ -13,15 +20,20 @@
|
|||||||
% draft, % Overfull H-Boxen markieren
|
% draft, % Overfull H-Boxen markieren
|
||||||
final, % Engueltige Version mit Bildern
|
final, % Engueltige Version mit Bildern
|
||||||
]{scrreprt}
|
]{scrreprt}
|
||||||
\areaset[8mm]{150mm}{225mm}
|
|
||||||
\RedeclareSectionCommand[
|
|
||||||
beforeskip=0pt,
|
|
||||||
]{chapter}
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
\areaset[8mm]{150mm}{225mm}
|
||||||
% variables
|
\RedeclareSectionCommand[beforeskip=0pt,]{chapter}
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
% new commands
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% Variables %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
|
%
|
||||||
|
% New Commands
|
||||||
|
%
|
||||||
|
|
||||||
\newcommand{\thesisTitle}[1]{\def \theThesisTitle{#1}}
|
\newcommand{\thesisTitle}[1]{\def \theThesisTitle{#1}}
|
||||||
\newcommand{\thesisType}[1]{\def \theThesisType{#1}}
|
\newcommand{\thesisType}[1]{\def \theThesisType{#1}}
|
||||||
\newcommand{\thesisAuthor}[1]{\def \theThesisAuthor{#1}}
|
\newcommand{\thesisAuthor}[1]{\def \theThesisAuthor{#1}}
|
||||||
@ -34,7 +46,11 @@ beforeskip=0pt,
|
|||||||
\newcommand{\thesisLanguage}[1]{\def \theThesisLanguage{#1}}
|
\newcommand{\thesisLanguage}[1]{\def \theThesisLanguage{#1}}
|
||||||
\newcommand{\thesisCC}[1]{\def \theThesisCC{#1}}
|
\newcommand{\thesisCC}[1]{\def \theThesisCC{#1}}
|
||||||
\newcommand{\thesisPythonWatermark}[1]{\def \theThesisPythonWatermark{#1}}
|
\newcommand{\thesisPythonWatermark}[1]{\def \theThesisPythonWatermark{#1}}
|
||||||
|
|
||||||
|
%
|
||||||
% Defaults
|
% Defaults
|
||||||
|
%
|
||||||
|
|
||||||
\thesisTitle{Random Thesis Title}
|
\thesisTitle{Random Thesis Title}
|
||||||
\thesisType{Master Thesis Type}
|
\thesisType{Master Thesis Type}
|
||||||
\thesisAuthor{John Doe}
|
\thesisAuthor{John Doe}
|
||||||
@ -54,7 +70,11 @@ beforeskip=0pt,
|
|||||||
\def\dictThesisTRUE{TRUE}
|
\def\dictThesisTRUE{TRUE}
|
||||||
|
|
||||||
|
|
||||||
% General %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% General %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
\usepackage[T1]{fontenc} % encoding for target files.
|
\usepackage[T1]{fontenc} % encoding for target files.
|
||||||
\usepackage[utf8]{inputenc} % UTF-8 encoding for source files
|
\usepackage[utf8]{inputenc} % UTF-8 encoding for source files
|
||||||
\usepackage{lmodern}
|
\usepackage{lmodern}
|
||||||
@ -84,6 +104,7 @@ beforeskip=0pt,
|
|||||||
}
|
}
|
||||||
|
|
||||||
% Math and Symbols %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
% Math and Symbols %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\usepackage{amssymb, amsfonts, latexsym}
|
\usepackage{amssymb, amsfonts, latexsym}
|
||||||
\usepackage{amsmath}
|
\usepackage{amsmath}
|
||||||
\usepackage[right]{eurosym}
|
\usepackage[right]{eurosym}
|
||||||
@ -124,27 +145,33 @@ beforeskip=0pt,
|
|||||||
|
|
||||||
\setlength{\parskip}{5pt}
|
\setlength{\parskip}{5pt}
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
% Create titlepage and optional parts like a CC statement.
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
% Title Page and Optional Parts (e.g. CC Statement) %%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
|
%
|
||||||
|
% Header
|
||||||
|
%
|
||||||
|
|
||||||
\newcommand{\header}{%
|
\newcommand{\header}{%
|
||||||
\begin{tabular*}{1.0\linewidth}[c]{lcr}
|
\begin{tabular*}{1.0\linewidth}[c]{lcr}
|
||||||
\includegraphics[height=18mm,valign=c]{cel-thesis/logos/kitlogo_de_rgb}%
|
\includegraphics[height=18mm,valign=c]{cel-thesis/logos/kitlogo_de_rgb}%
|
||||||
&%
|
&%
|
||||||
\begin{minipage}{8cm}\centering%
|
\begin{minipage}{8cm}\centering%
|
||||||
\textbf{\theUniversity}\\
|
\textbf{\theUniversity} \\
|
||||||
Communications Engineering Lab\\
|
Communications Engineering Lab \\
|
||||||
\theThesisHeadOfInstitute%
|
\theThesisHeadOfInstitute%
|
||||||
\end{minipage}%
|
\end{minipage}%
|
||||||
&%
|
&%
|
||||||
\includegraphics[height=18mm,valign=c]{cel-thesis/logos/cel_logo}%
|
\includegraphics[height=18mm,valign=c]{cel-thesis/logos/cel_logo}%
|
||||||
\end{tabular*}
|
\end{tabular*}
|
||||||
}
|
}
|
||||||
\newcommand{\ssection}[1]{\vspace*{0.8em}{\textbf{#1}}\\}
|
|
||||||
|
|
||||||
\def\makestatutorydeclaration{
|
%
|
||||||
\include{cel-thesis/eidesstattliche_erklaerung}
|
% Title
|
||||||
}
|
%
|
||||||
|
|
||||||
\def\maketitle{
|
\def\maketitle{
|
||||||
\hypersetup{
|
\hypersetup{
|
||||||
@ -152,31 +179,44 @@ beforeskip=0pt,
|
|||||||
pdftitle = {\theThesisType{ }\theThesisTitle{ } \theThesisAuthor},
|
pdftitle = {\theThesisType{ }\theThesisTitle{ } \theThesisAuthor},
|
||||||
pdfsubject = {Institut für Nachrichtentechnik (CEL)},
|
pdfsubject = {Institut für Nachrichtentechnik (CEL)},
|
||||||
}
|
}
|
||||||
|
|
||||||
\thispagestyle{empty}
|
\thispagestyle{empty}
|
||||||
\header % institute banner, etc.
|
\header % institute banner, etc.
|
||||||
\vspace*{5.0cm}%
|
\vspace*{5.0cm}%
|
||||||
% Title
|
%
|
||||||
\begin{center}
|
\begin{center}
|
||||||
{\Large \textbf{\theThesisTitle}} \\[1cm]
|
{\Large \textbf{\theThesisTitle}} \\[1cm]
|
||||||
{\large \theThesisType} \\[2.5cm]
|
{\large \theThesisType} \\[2.5cm]
|
||||||
{\textbf{\theThesisAuthor}}\\[5cm]
|
{\textbf{\theThesisAuthor}} \\[5cm]
|
||||||
|
|
||||||
\begin{tabular}{lll}
|
\begin{tabular}{lll}
|
||||||
\ifx\theThesisLanguage\dictThesisLanguageEnglish % default is german. But one may use english.
|
\ifx\theThesisLanguage\dictThesisLanguageEnglish
|
||||||
Advisor & : & \theThesisAdvisor \\
|
Advisor & : & \theThesisAdvisor \\
|
||||||
Supervisor & : & \theThesisSupervisor\\[2cm]
|
Supervisor & : & \theThesisSupervisor \\[2cm]
|
||||||
Start date & : & \theThesisStartDate \\
|
Start date & : & \theThesisStartDate \\
|
||||||
End date & : & \theThesisEndDate \\
|
End date & : & \theThesisEndDate \\
|
||||||
\else
|
\else
|
||||||
Hauptreferent & : & \theThesisAdvisor \\
|
Hauptreferent & : & \theThesisAdvisor \\
|
||||||
Betreuer & : & \theThesisSupervisor\\[2cm]
|
Betreuer & : & \theThesisSupervisor \\[2cm]
|
||||||
Beginn & : & \theThesisStartDate \\
|
Beginn & : & \theThesisStartDate \\
|
||||||
Abgabe & : & \theThesisEndDate \\
|
Abgabe & : & \theThesisEndDate \\
|
||||||
\fi
|
\fi
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
|
|
||||||
\end{center}
|
\end{center}
|
||||||
\hspace*{\fill}
|
\hspace*{\fill}
|
||||||
\newpage
|
|
||||||
\makestatutorydeclaration
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%
|
||||||
|
% Statutory Declaration
|
||||||
|
%
|
||||||
|
|
||||||
|
\def\makestatutorydeclaration{
|
||||||
|
\include{cel-thesis/eidesstattliche_erklaerung}
|
||||||
|
}
|
||||||
|
|
||||||
|
%
|
||||||
|
% Misc
|
||||||
|
%
|
||||||
|
|
||||||
|
\newcommand{\ssection}[1]{\vspace*{0.8em}{\textbf{#1}}\\}
|
||||||
|
|
||||||
|
|||||||
@ -25,19 +25,48 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
|
% Tikz related packages
|
||||||
|
|
||||||
|
%\usepackage{tikz} % Included in cel-thesis.cls
|
||||||
|
%\usepackage{pgfplots} % Included in cel-thesis.cls
|
||||||
|
%\pgfplotsset{compat=newest}
|
||||||
|
\usepackage{tikz-3dplot}
|
||||||
|
\usepgfplotslibrary{colorbrewer}
|
||||||
|
\usetikzlibrary{external}
|
||||||
|
\usetikzlibrary{spy}
|
||||||
|
\tikzexternalize[prefix=build/]
|
||||||
|
|
||||||
|
% Generic packages
|
||||||
|
|
||||||
|
%\usepackage[utf8]{inputenc} % Included in cel-thesis.cls
|
||||||
|
%\usepackage[T1]{fontenc} % Included in cel-thesis.cls
|
||||||
|
%\usepackage[ngerman]{babel} % Included in cel-thesis.cls
|
||||||
|
%\usepackage{amsmath} % Included in cel-thesis.cls
|
||||||
|
\usepackage{float}
|
||||||
|
\usepackage{listings}
|
||||||
|
%\usepackage{graphicx} % Included in cel-thesis.cls
|
||||||
|
\usepackage{xcolor}
|
||||||
|
%\usepackage[binary-units]{siunitx} % Included in cel-thesis.cls
|
||||||
\usepackage{caption}
|
\usepackage{caption}
|
||||||
|
\usepackage{subcaption}
|
||||||
\usepackage{bm}
|
\usepackage{bm}
|
||||||
\usepackage{subcaption}
|
\usepackage{subcaption}
|
||||||
\usepackage{todonotes} % great for draft annotations
|
\usepackage{todonotes} % great for draft annotations
|
||||||
\DeclareCaptionLabelFormat{bf-nodot}{\textbf{#1}~\textbf{#2}}
|
\DeclareCaptionLabelFormat{bf-nodot}{\textbf{#1}~\textbf{#2}}
|
||||||
\captionsetup{labelformat=bf-nodot,labelsep=colon}
|
\captionsetup{labelformat=bf-nodot,labelsep=colon}
|
||||||
|
%\usepackage{csquotes}
|
||||||
|
%\usepackage[citestyle=numeric, style=alphabetic, backend=biber,
|
||||||
|
% doi=false,url=false,isbn=false]{biblatex}
|
||||||
|
%\addbibresource{bibliography.bib}
|
||||||
|
|
||||||
% \hyphenation{non-para-metric repro-gra-mmable}
|
% \hyphenation{non-para-metric repro-gra-mmable}
|
||||||
\usepackage{babelbib}
|
\usepackage{babelbib}
|
||||||
\setlanguage % Setting needed for cel-thesis
|
\setlanguage % Setting needed for cel-thesis
|
||||||
|
|
||||||
% Pretty C++ print.
|
% Pretty C++ print.
|
||||||
\def\CC{{C\nolinebreak[4]\hspace{-.05em}\raisebox{.4ex}{\tiny\textbf{++}}}}
|
%\def\CC{{C\nolinebreak[4]\hspace{-.05em}\raisebox{.4ex}{\tiny\textbf{++}}}}
|
||||||
|
|
||||||
|
%\input{common.tex}
|
||||||
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
@ -47,13 +76,22 @@
|
|||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
|
%
|
||||||
% Preliminaries
|
% Preliminaries
|
||||||
|
%
|
||||||
|
|
||||||
\pagenumbering{roman}
|
\pagenumbering{roman}
|
||||||
|
|
||||||
\maketitle
|
\maketitle
|
||||||
|
\newpage
|
||||||
|
\makestatutorydeclaration
|
||||||
|
|
||||||
% \include{chapters/abstract}
|
% \include{chapters/abstract}
|
||||||
|
|
||||||
% main document
|
%
|
||||||
|
% Main Document
|
||||||
|
%
|
||||||
|
|
||||||
\cleardoublepage
|
\cleardoublepage
|
||||||
\pagenumbering{arabic}
|
\pagenumbering{arabic}
|
||||||
|
|
||||||
@ -63,13 +101,16 @@
|
|||||||
\include{chapters/systemmodel}
|
\include{chapters/systemmodel}
|
||||||
\include{chapters/conclusion}
|
\include{chapters/conclusion}
|
||||||
|
|
||||||
|
%
|
||||||
% Appendix
|
% Appendix
|
||||||
|
%
|
||||||
|
|
||||||
\appendix
|
\appendix
|
||||||
% \listoffigures
|
% \listoffigures
|
||||||
% \listoftables
|
% \listoftables
|
||||||
\include{abbreviations}
|
\include{abbreviations}
|
||||||
\bibliography{cel-thesis/IEEEabrv,bibliography}
|
\bibliography{cel-thesis/IEEEabrv,bibliography}
|
||||||
|
%\printbibliography
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user