renamed template folder

This commit is contained in:
Johannes Demel
2015-10-20 14:14:24 +02:00
parent 01ba809115
commit 09bcc0982c
12 changed files with 16 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
% texlive-science % texlive-science
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesClass{templates/cel-thesis} \ProvidesClass{cel-thesis/cel-thesis}
\LoadClass[11pt, % 11pt \LoadClass[11pt, % 11pt
BCOR8mm, % Bindekorrektur BCOR8mm, % Bindekorrektur
DIV12, % Satzspiegel DIV12, % Satzspiegel
@@ -40,6 +40,9 @@
\thesisSignatureDate{dd.mm.yyyy} \thesisSignatureDate{dd.mm.yyyy}
\thesisLanguage{english} \thesisLanguage{english}
\def\dictThesisLanguageGerman{ngerman}
\def\dictThesisLanguageEnglish{english}
% Gerneral %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Gerneral %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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
@@ -154,7 +157,7 @@
% Titel % Titel
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\header}{% \newcommand{\header}{%
\includegraphics[width=40mm,valign=c]{templates/logos/kitlogo_de_rgb}% \includegraphics[width=40mm,valign=c]{cel-thesis/logos/kitlogo_de_rgb}%
\hfill% \hfill%
\begin{minipage}{8.26cm}\centering% \begin{minipage}{8.26cm}\centering%
\textbf{Karlsruhe Institute of Technology}\\ \textbf{Karlsruhe Institute of Technology}\\
@@ -162,7 +165,7 @@
\theThesisAdvisor% \theThesisAdvisor%
\end{minipage}% \end{minipage}%
\hfill% \hfill%
\includegraphics[width=25mm,valign=c]{templates/logos/cel_logo}% \includegraphics[width=25mm,valign=c]{cel-thesis/logos/cel_logo}%
} }
\newcommand{\ssection}[1]{\vspace*{0.8em}{\textbf{#1}}\\} \newcommand{\ssection}[1]{\vspace*{0.8em}{\textbf{#1}}\\}
@@ -170,7 +173,7 @@
\def\maketitle{ \def\maketitle{
\hypersetup{ \hypersetup{
pdfauthor = \theThesisAuthor, pdfauthor = \theThesisAuthor,
pdftitle = {\theThesisType{ }\theThesisTitle{ }\theThesisEndDate}, pdftitle = {\theThesisType{ }\theThesisTitle{ } \theThesisAuthor},
pdfsubject = {Institut für Nachrichtentechnik (CEL)}, pdfsubject = {Institut für Nachrichtentechnik (CEL)},
pdfcreator = {PDFLaTeX with hyperref package}, pdfcreator = {PDFLaTeX with hyperref package},
pdfproducer = {PDFLaTeX} pdfproducer = {PDFLaTeX}
@@ -184,16 +187,23 @@
{\large \theThesisType} \\[2.5cm] {\large \theThesisType} \\[2.5cm]
{\textbf{\theThesisAuthor}}\\[2.5cm] {\textbf{\theThesisAuthor}}\\[2.5cm]
\begin{tabular}{lll} \begin{tabular}{lll}
\ifx\theThesisLanguage\dictThesisLanguageEnglish % default is german. But one may use english.
Advisor & : & \theThesisAdvisor \\
Supervisor & : & \theThesisSupervisor\\[2cm]
Start date & : & \theThesisStartDate \\
End date & : & \theThesisEndDate \\
\else
Hauptreferent & : & \theThesisAdvisor \\ Hauptreferent & : & \theThesisAdvisor \\
Betreuer & : & \theThesisSupervisor\\[2cm] Betreuer & : & \theThesisSupervisor\\[2cm]
Beginn & : & \theThesisStartDate \\ Beginn & : & \theThesisStartDate \\
Abgabe & : & \theThesisEndDate \\ Abgabe & : & \theThesisEndDate \\
\fi
\end{tabular} \end{tabular}
\end{center} \end{center}
\hspace*{\fill} \hspace*{\fill}
\newpage \newpage
\include{templates/eidesstattliche_erklaerung} \include{cel-thesis/eidesstattliche_erklaerung}
} }

Binary file not shown.

View File

@@ -1,5 +1,5 @@
% Document class provides standardized title page + needed extras. % Document class provides standardized title page + needed extras.
\documentclass{templates/cel-thesis} \documentclass{cel-thesis/cel-thesis}
\thesisTitle{This is the TITLE} \thesisTitle{This is the TITLE}
\thesisType{This is a Type (masterthesis?)} \thesisType{This is a Type (masterthesis?)}
\thesisAuthor{Foo B. Ar} \thesisAuthor{Foo B. Ar}