Reorganized cel template, added commont.tex

This commit is contained in:
2023-02-08 17:11:48 +01:00
parent d0bcf5ae1b
commit 01c38db5fc
6 changed files with 406 additions and 124 deletions

View File

@@ -2,6 +2,18 @@
% Modified: Andreas Tsouchlos
%
% Template for theses authored at the Communications Engineering Lab (CEL).
%
% ||========================================================||
% || WARNING ||
% ||========================================================||
% || ||
% || This template already includes the following packages: ||
% || siunitx ||
% || tocbibind ||
% || datetime ||
% || adjustbox ||
% || hyperref ||
% ||========================================================||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -34,40 +46,34 @@
% New Commands
%
\newcommand{\thesisTitle}[1]{\def \theThesisTitle{#1}}
\newcommand{\thesisType}[1]{\def \theThesisType{#1}}
\newcommand{\thesisAuthor}[1]{\def \theThesisAuthor{#1}}
\newcommand{\thesisAdvisor}[1]{\def \theThesisAdvisor{#1}}
\newcommand{\thesisSupervisor}[1]{\def \theThesisSupervisor{#1}}
\newcommand{\thesisHeadOfInstitute}[1]{\def \theThesisHeadOfInstitute{#1}}
\newcommand{\thesisStartDate}[1]{\def \theThesisStartDate{#1}}
\newcommand{\thesisEndDate}[1]{\def \theThesisEndDate{#1}}
\newcommand{\thesisSignatureDate}[1]{\def \theThesisSignatureDate{#1}}
\newcommand{\thesisLanguage}[1]{\def \theThesisLanguage{#1}}
\newcommand{\thesisCC}[1]{\def \theThesisCC{#1}}
\newcommand{\thesisPythonWatermark}[1]{\def \theThesisPythonWatermark{#1}}
\newcommand{\thesisTitle} [1] {\def \theThesisTitle {#1}}
\newcommand{\thesisType} [1] {\def \theThesisType {#1}}
\newcommand{\thesisAuthor} [1] {\def \theThesisAuthor {#1}}
\newcommand{\thesisAdvisor} [1] {\def \theThesisAdvisor {#1}}
\newcommand{\thesisSupervisor} [1] {\def \theThesisSupervisor {#1}}
\newcommand{\thesisHeadOfInstitute} [1] {\def \theThesisHeadOfInstitute {#1}}
\newcommand{\thesisStartDate} [1] {\def \theThesisStartDate {#1}}
\newcommand{\thesisEndDate} [1] {\def \theThesisEndDate {#1}}
\newcommand{\thesisSignatureDate} [1] {\def \theThesisSignatureDate {#1}}
\newcommand{\thesisLanguage} [1] {\def \theThesisLanguage {#1}}
%
% Defaults
%
\thesisTitle{Random Thesis Title}
\thesisType{Master Thesis Type}
\thesisAuthor{John Doe}
\thesisAdvisor{Dr.-Ing. Holger J\"akel}
\thesisTitle {Thesis Title}
\thesisType {Thesis Type}
\thesisAuthor {John Doe}
\thesisAdvisor {Dr.-Ing. Holger J\"akel}
\thesisHeadOfInstitute{Prof. Dr.-Ing. Laurent Schmalen}
\thesisSupervisor{Super-Assi Deluxe M.Sc.}
\thesisStartDate{dd.mm.yyyy}
\thesisEndDate{dd.mm.yyyy}
\thesisSignatureDate{dd.mm.yyyy}
\thesisLanguage{english}
\thesisCC{FALSE}
\thesisPythonWatermark{FALSE}
\thesisSupervisor {Super-Assi Deluxe M.Sc.}
\thesisStartDate {dd.mm.yyyy}
\thesisEndDate {dd.mm.yyyy}
\thesisSignatureDate {dd.mm.yyyy}
\thesisLanguage {english}
\def\dictThesisLanguageGerman{ngerman}
\def\dictThesisLanguageEnglish{english}
\def\dictThesisFALSE{FALSE}
\def\dictThesisTRUE{TRUE}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -75,79 +81,44 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[T1]{fontenc} % encoding for target files.
\usepackage[utf8]{inputenc} % UTF-8 encoding for source files
\usepackage{lmodern}
%
% Language Specific
%
\usepackage{microtype}
\usepackage[printonlyused]{acronym} % use this package for abbreviations!
\RequirePackage[binary-units]{siunitx}
\def\setlanguage{
\usepackage[\theThesisLanguage]{babel}
% modified IEEE alpha style that allows underlining of own publications
\bibliographystyle{cel-thesis/IEEEtranSA_own}
\ifx\theThesisLanguage\dictThesisLanguageEnglish
%\bibliographystyle{alpha} % American Style
\bibliographystyle{cel-thesis/IEEEtranSA_own} % modified IEEE alpha style that allows underlining of own publications
\def\theUniversity{Karlsruhe Institute of Technology}
\sisetup{%
binary-units = true,
output-decimal-marker={.}
}
\sisetup{output-decimal-marker={.}}
\else
%\bibliographystyle{alphadin} % DIN norm
\bibliographystyle{cel-thesis/IEEEtranSA_own} % modified IEEE alpha style that allows underlining of own publications
\def\theUniversity{Karlsruher Institut für Technologie}
\sisetup{%
binary-units = true,
output-decimal-marker={,}
}
\sisetup{output-decimal-marker={,}}
\mathcode`,="013B % avoid space in comma decimal numbers
\fi
}
% Math and Symbols %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Misc
%
\usepackage{amssymb, amsfonts, latexsym}
\usepackage{amsmath}
\usepackage[right]{eurosym}
\usepackage{siunitx}
\RequirePackage[nottoc]{tocbibind} % Make bibliography appear in table of contents
% make bibliography appear in table of contents %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[nottoc]{tocbibind}
\RequirePackage[ddmmyyyy]{datetime}
\renewcommand{\dateseparator}{.}
%% Define always missing math symbols.
\DeclareMathOperator*{\argmin}{\arg\!\min}
\DeclareMathOperator*{\argmax}{\arg\!\max}
\DeclareMathOperator\sign{sign}
\setlength{\parskip}{5pt}
% Graphics %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Ueberschriften fett
%\setkomafont{sectioning}{\normalcolor\bfseries}
% Bild- und Tabellen-Unterschriften formatieren
\renewcommand{\caplabelfont}{\bfseries}
\renewcommand{\capfont}{\small}
\newcommand{\figref}[1]{\figurename~\ref{#1}}
\usepackage{graphicx}
\usepackage{color}
\usepackage{pgf, tikz, pgfplots}
\usetikzlibrary{shapes,arrows}
\pgfplotsset{compat=1.9}
% Layout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{marginnote}
\RequirePackage{ifthen}
\RequirePackage[hidelinks, final=true]{hyperref}
\RequirePackage[ddmmyyyy]{datetime}
\renewcommand{\dateseparator}{.}
\RequirePackage[export]{adjustbox}
\setlength{\parskip}{5pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title Page and Optional Parts (e.g. CC Statement) %%%%%%%%%%%%%%%%%%%%%%%%%%
% Title Page and Optional Parts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -155,6 +126,7 @@
% Header
%
\RequirePackage[export]{adjustbox} % Needed for "valign" used below
\newcommand{\header}{%
\begin{tabular*}{1.0\linewidth}[c]{lcr}
\includegraphics[height=18mm,valign=c]{cel-thesis/logos/kitlogo_de_rgb}%
@@ -173,6 +145,7 @@
% Title
%
\RequirePackage[hidelinks, final=true]{hyperref} % Needed for "hypersetup" used below
\def\maketitle{
\hypersetup{
pdfauthor = \theThesisAuthor,
@@ -211,7 +184,11 @@
%
\def\makestatutorydeclaration{
\include{cel-thesis/eidesstattliche_erklaerung}
\include{cel-thesis/eidesstattliche_erklaerung}
}
\def\makeCCdeclaration{
\include{cel-thesis/creative_commons}
}
%

View File

@@ -0,0 +1,8 @@
\begin{center}
\includegraphics[width=25mm,valign=c]{cel-thesis/logos/cc-by-nc}
\end{center}
\vspace{1cm}
This work is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/4.0/.
\newpage

View File

@@ -2,8 +2,9 @@
\chapter*{Declaration}
% TODO: Make bachelor's / master's thesis configurable (or remove the word bachelor / master)
With this statement I declare that I have independently completed the above
master's thesis. The thoughts taken directly or indirectly from external
bachelors's thesis. The thoughts taken directly or indirectly from external
sources are properly marked as such. This thesis was not previously submitted
to another academic institution and has also not yet been published.
@@ -17,16 +18,12 @@ to another academic institution and has also not yet been published.
\begin{tabbing}
\hspace{3em}\= \kill
\>\theThesisAuthor\\[1ex]
%\>Amalienstra{\ss}e 79\\
%\>76133 Karlsruhe\\[1ex]
\end{tabbing}
\else
\chapter*{Erkl{\"a}rung}
%Ich versichere hiermit, dass ich meine Masterarbeit selbständig und unter Beachtung der Satzung der Universität Karlsruhe (TH) zur Sicherung guter wissenschaftlicher Praxis in der aktuellen Fassung angefertigt habe. Ich habe keine anderen als die angegebenen Quellen und Hilfsmittel benutzt und wörtlich oder inhaltlich übernommene Stellen als solche kenntlich gemacht.
Ich versichere hiermit,
dass ich die vorliegende Arbeit selbstst{\"a}ndig
und unter Beachtung der Satzung des Karlsruher Instituts f\"ur Technologie (KIT)
@@ -43,18 +40,8 @@ Ich habe keine anderen als die angegebenen Quellen und Hilfsmittel benutzt und w
\begin{tabbing}
\hspace{3em}\= \kill
\>\theThesisAuthor\\[1ex]
%\>Amalienstra{\ss}e 79\\
%\>76133 Karlsruhe\\[1ex]
\end{tabbing}
\fi
\ifx\theThesisCC\dictThesisTRUE
\newpage
\begin{center}
\includegraphics[width=25mm,valign=c]{cel-thesis/logos/cc-by-nc}
\end{center}
\vspace{1cm}
This work is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/4.0/.
\fi