Add parameters and fix language issues
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
\ProvidesClass{cel-thesis/cel-thesis}
|
||||
\LoadClass[11pt, % 11pt
|
||||
titlepage,
|
||||
BCOR8mm, % Bindekorrektur
|
||||
DIV12, % Satzspiegel
|
||||
BCOR=8mm, % Bindekorrektur
|
||||
DIV=12, % Satzspiegel
|
||||
twoside, % Doppelseitige Ausgabe
|
||||
a4paper, % DIN A4
|
||||
openright, % Neue Kapitel auf rechter Seite
|
||||
@@ -26,6 +26,7 @@
|
||||
\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}}
|
||||
@@ -36,7 +37,8 @@
|
||||
\thesisTitle{Random Thesis Title}
|
||||
\thesisType{Master Thesis Type}
|
||||
\thesisAuthor{John Doe}
|
||||
\thesisAdvisor{Univ.-Prof. Dr.rer.nat. Friedrich K. Jondral}
|
||||
\thesisAdvisor{Univ.-Prof. i.R. Dr.rer.nat. Friedrich K. Jondral}
|
||||
\thesisHeadOfInstitute{Dr.-Ing. Holger Jäkel}
|
||||
\thesisSupervisor{Super-Assi Deluxe M.Sc.}
|
||||
\thesisStartDate{dd.mm.yyyy}
|
||||
\thesisEndDate{dd.mm.yyyy}
|
||||
@@ -54,9 +56,26 @@
|
||||
% Gerneral %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\usepackage[T1]{fontenc} % encoding for target files.
|
||||
\usepackage[utf8]{inputenc} % UTF-8 encoding for source files
|
||||
\usepackage[\theThesisLanguage]{babel}
|
||||
\usepackage[printonlyused]{acronym} % use this package for abbreviations!
|
||||
|
||||
\def\setlanguage{
|
||||
\usepackage[\theThesisLanguage]{babel}
|
||||
\ifx\theThesisLanguage\dictThesisLanguageEnglish
|
||||
\bibliographystyle{alpha} % American Style
|
||||
\def\theUniversity{Karlsruhe Institute of Technology}
|
||||
\sisetup{%
|
||||
binary-units = true,
|
||||
output-decimal-marker={.}
|
||||
}
|
||||
\else
|
||||
\bibliographystyle{alphadin} % DIN norm
|
||||
\def\theUniversity{Karlsruher Institut für Technologie}
|
||||
\sisetup{%
|
||||
binary-units = true,
|
||||
output-decimal-marker={,}
|
||||
}
|
||||
\mathcode`,="013B % avoid space in comma decimal numbers
|
||||
\fi
|
||||
}
|
||||
|
||||
% Print Watermark! CAREFUL: if does not work %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% % \ifx\theThesisPythonWatermark\dictThesisTRUE
|
||||
@@ -71,23 +90,14 @@
|
||||
\usepackage{amsmath}
|
||||
\usepackage[right]{eurosym}
|
||||
\usepackage{siunitx}
|
||||
\ifx\theThesisLanguage\dictThesisLanguageEnglish
|
||||
\sisetup{%
|
||||
binary-units = true,
|
||||
output-decimal-marker={.}
|
||||
}
|
||||
\else
|
||||
\sisetup{%
|
||||
binary-units = true,
|
||||
output-decimal-marker={,}
|
||||
}
|
||||
\fi
|
||||
|
||||
%% Define always missing math symbols.
|
||||
\DeclareMathOperator*{\argmin}{\arg\!\min}
|
||||
\DeclareMathOperator*{\argmax}{\arg\!\max}
|
||||
\DeclareMathOperator\sign{sign}
|
||||
|
||||
|
||||
|
||||
% Graphics %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Ueberschriften fett
|
||||
\setkomafont{sectioning}{\normalcolor\bfseries}
|
||||
@@ -117,9 +127,9 @@
|
||||
\includegraphics[width=40mm,valign=c]{cel-thesis/logos/kitlogo_de_rgb}%
|
||||
\hfill%
|
||||
\begin{minipage}{8.26cm}\centering%
|
||||
\textbf{Karlsruhe Institute of Technology}\\
|
||||
\textbf{\theUniversity}\\
|
||||
Communications Engineering Lab\\
|
||||
\theThesisAdvisor%
|
||||
\theThesisHeadOfInstitute%
|
||||
\end{minipage}%
|
||||
\hfill%
|
||||
\includegraphics[width=25mm,valign=c]{cel-thesis/logos/cel_logo}%
|
||||
|
||||
Reference in New Issue
Block a user