Commit 195400bf by Kai Westerkamp

Added template

parent 57b7f7af
\begin{center}
\begin{minipage}{0.7\textwidth}
\selectlanguage{english}
\chapter*{Abstract}
\blindtext
\end{minipage}
\end{center}
\blankpage
\begin{center}
\begin{minipage}{0.7\textwidth}
\selectlanguage{ngerman}
\chapter*{Zusammenfassung}
\begin{otherlanguage}{ngerman}
\blindtext
\end{otherlanguage}
\end{minipage}
\end{center}
\chapter{Introduction}
\label{chaper:introduction}
Rendering Equation: \cite{Kajiya:1986:RE}
\Blindtext
\section{Section}
\Blindtext
\chapter{Conclusion}
\label{chapter:conclusion}
\Blindtext
\section{Section}
\Blindtext
\vspace*{36\baselineskip}
\hbox to \textwidth{\hrulefill}
\par
\iflanguage{english}{I declare that I have developed and written the enclosed thesis completely by myself, and have not used sources or means without declaration in the text.}{Ich versichere wahrheitsgem\"a\ss, die Arbeit selbstst\"andig angefertigt, alle benutzten Hilfsmittel vollst\"andig und genau angegeben und alles kenntlich gemacht zu haben, was aus Arbeiten anderer unver\"andert oder mit Ab\"anderungen entnommen wurde.}
\textbf{Karlsruhe, xx.xx.xx}
\vspace{1.5cm}
\dotfill\hspace*{8.0cm}\\
\hspace*{2cm}(\textbf{Max Mustermann}) %center name with hspace
\thispagestyle{empty}
@inproceedings{Kajiya:1986:RE,
author = {Kajiya, James T.},
title = {The rendering equation},
booktitle = {Proceedings of the 13th annual conference on Computer graphics and interactive techniques},
series = {SIGGRAPH '86},
year = {1986},
isbn = {0-89791-196-2},
pages = {143--150},
numpages = {8},
doi = {10.1145/15922.15902},
acmid = {15902},
publisher = {ACM},
address = {New York, NY, USA},
}
\documentclass{thesisclass}
% Based on thesisclass.cls of Timo Rohrberg, 2009
% ----------------------------------------------------------------
% Thesis - Main document
% ----------------------------------------------------------------
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{dsfont}
\usepackage{pgfplots}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{blindtext}
\renewcommand{\vec}{\overline}
\renewcommand{\to}{\rightarrow}
\newcommand{\lra}{\leftrightarrow}
\newcommand{\fat}{\boldsymbol}
\newcommand{\dotp}[2]{\left\langle #1, #2 \right\rangle}
\newcommand{\dist}[2]{\left\| #1 - #2 \right\|}
\newcommand{\abs}[1]{\left| #1 \right|}
%% -------------------------------
%% | Information for PDF file |
%% -------------------------------
\hypersetup{
pdfauthor={Not set},
pdftitle={Not set},
pdfsubject={Not set},
pdfkeywords={Not set}
}
%% ---------------------------------
%% | Information about the thesis |
%% ---------------------------------
\newcommand{\myname}{Max Mustermann}
\newcommand{\mytitle}{\iflanguage{english}{The best Topic in the World}{Das schönste Thema der Welt}}
\newcommand{\reviewerone}{Prof. Dr. Carsten Dachsbacher}
\newcommand{\reviewertwo}{Prof. Dr. Hartmut Prautzsch}
\newcommand{\advisor}{Dipl-Inf. Betreuer}
\newcommand{\timestart}{xx.xx.xxxx}
\newcommand{\timeend}{xx.xx.xxxx}
\newcommand{\submissiontime}{xx.xx.xxxx}
%% ---------------------------------
%% | ToDo Marker - only for draft! |
%% ---------------------------------
% Remove this section for final version!
\setlength{\marginparwidth}{20mm}
\newcommand{\margtodo}
{\marginpar{\textbf{\textcolor{red}{ToDo}}}{}}
\newcommand{\todo}[1]
{{\textbf{\textcolor{red}{(\margtodo{}#1)}}}{}}
%% --------------------------------
%% | Old Marker - only for draft! |
%% --------------------------------
% Remove this section for final version!
\newenvironment{deprecated}
{\begin{color}{gray}}
{\end{color}}
%% --------------------------------
%% | Settings for word separation |
%% --------------------------------
% Help for separation:
% In german package the following hints are additionally available:
% "- = Additional separation
% "| = Suppress ligation and possible separation (e.g. Schaf"|fell)
% "~ = Hyphenation without separation (e.g. bergauf und "~ab)
% "= = Hyphenation with separation before and after
% "" = Separation without a hyphenation (e.g. und/""oder)
% Describe separation hints here:
\hyphenation{
% Pro-to-koll-in-stan-zen
% Ma-na-ge-ment Netz-werk-ele-men-ten
% Netz-werk Netz-werk-re-ser-vie-rung
% Netz-werk-adap-ter Fein-ju-stier-ung
% Da-ten-strom-spe-zi-fi-ka-tion Pa-ket-rumpf
% Kon-troll-in-stanz
}
%% ------------------------
%% | Including files |
%% ------------------------
% Only files listed here will be included!
% Userful command for partially translating the document (for bug-fixing e.g.)
%%\includeonly{%
%%chapter1,
%%}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Here, main documents begins %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
% Remove the following line for German text
\selectlanguage{ngerman}
%\selectlanguage{english}
\frontmatter
\pagenumbering{roman}
\include{titlepage}
\blankpage
\include{abstract}
%% -------------------
%% | Directories |
%% -------------------
\tableofcontents
\blankpage
%% -----------------
%% | Main part |
%% -----------------
\mainmatter
\pagenumbering{arabic}
\include{chapter1}
\include{chapter2}
%% ----------------
%% | Appendix |
%% ----------------
\cleardoublepage
%% --------------------
%% | Bibliography |
%% --------------------
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\iflanguage{english}
{\bibliographystyle{IEEEtranSA}} % english style
{\bibliographystyle{babalpha-fl}} % german style
% Use IEEEtran for numeric references
\bibliographystyle{IEEEtranSA}
\bibliography{thesis}
\cleardoublepage
\include{declaration}
\end{document}
%% LaTeX2e class for diploma theses
%% Based on wissdoc.cls by Roland Bless, 1996-2001
%% bless@telematik.informatik.uni-karlsruhe.de
%%
%% Adapted by: Timo Rohrberg, 2009
%% timo.rohrberg@student.kit.edu
%%
%% Additions by: Thorsten Haberecht, IPD - Chair Prof. Bhm, 2010
%% thorsten.haberecht@kit.edu
\NeedsTeXFormat{LaTeX2e} % We do need LaTeX2e
\ProvidesClass{thesisclass}
\LoadClass[a4paper,11pt,titlepage]{scrbook} % Class based on scrbook
\RequirePackage{ngerman} % New german orthography
%% -------------------------------
%% | Packages |
%% -------------------------------
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} % Input in ISO 8859-1 (Latin1)
\usepackage{ae} % Almost european, virtual T1-Font
\usepackage[pdftex]{graphicx}
\usepackage{vmargin} % Adjust margins in a simple way
\usepackage{fancyhdr} % Define simple headings
\usepackage{subfigure}
\usepackage{url}
\usepackage[absolute,overlay]{textpos}
\usepackage{tikz}
\usepackage[ngerman, english]{babel}
% see http://www.ctan.org/tex-archive/macros/latex/contrib/algorithm2e/algorithm2e.pdf
% for more sophisticated algorithm listings
\usepackage[raiselinks=true,
bookmarks=true,
bookmarksopenlevel=1,
bookmarksopen=true,
bookmarksnumbered=true,
hyperindex=true,
plainpages=false,
pdfpagelabels=true,
pdfborder={0 0 0.5},
colorlinks=false,
linkbordercolor={0 0.61 0.50},
citebordercolor={0 0.61 0.50}]{hyperref} %{0.57 0.74 0.57}
\usepackage[fixlanguage]{babelbib} % sets german style for literature entries
%\selectbiblanguage{ngerman} % for \bibliographystyle{babalpha}
%% --- End of Packages ---
%% -------------------------------
%% | Declarations |
%% -------------------------------
\DeclareGraphicsExtensions{.svg}
%% --- End of Declarations ---
%% -------------------------------
%% | New commands |
%% -------------------------------
\newcommand{\changefont}[3]{\fontfamily{#1} \fontseries{#2} \fontshape{#3} \selectfont}
%\renewcommand*{\headfont}{\slshape}
%\newcommand{\captionfont}{}
\newcommand{\chapterheadfont}{}
\newcommand{\blankpage}{
\clearpage{\pagestyle{empty}\cleardoublepage}
}
%% --- End of New Commands ---
%% -------------------------------
%% | Globale Settings |
%% -------------------------------
\setcounter{secnumdepth}{3} % Numbering also for \subsubsections
\setcounter{tocdepth}{3} % Register \subsubsections in content directory
\setpapersize{A4}
\setmarginsrb{3cm}{1cm}{3cm}{1cm}{6mm}{7mm}{5mm}{15mm}
\parindent 0cm % Do not indent beginning of paragraph
\parskip1.5ex plus0.5ex minus0.5ex % Margin between paragraphs
%% --- End of global Settings ---
%% -------------------------------
%% | Headings |
%% -------------------------------
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}}
\fancyhf{}
\fancyhead[LE,RO]{{\headfont\thepage}} % Left/right header for even/odd pages
\fancyhead[LO]{\headfont\nouppercase{\rightmark}} % Header for left page (odd)
\fancyhead[RE]{\headfont\nouppercase{\leftmark}} % Header for right page (even)
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\fancypagestyle{plain}{%
\fancyhf{} % No Header and Footer fields
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyfoot[C]{\thepage}
}
%% --- End of Headings ---
%% -------------------------------
%% | Style of captions |
%% -------------------------------
\renewcommand{\chaptername}{}
\renewcommand{\section}{%
\@startsection{section}%
{1} % Structure level
{0mm} % Indention
{2ex plus 1ex minus 1ex} % Pre-Margin
{0.5ex plus 0.5ex minus 0.5ex} % Post-Margin
{\chapterheadfont\Large\bfseries} % Style
}
\renewcommand{\subsection}{%
\@startsection{subsection}%
{2} % Structure level
{0mm} % Indention
{1.5ex plus 1ex minus 0.5ex} % Pre-Margin
{0.3ex plus 0.3ex minus 0.3ex} % Post-Margin
{\chapterheadfont\large\bfseries} % Style
}
\renewcommand{\subsubsection}{%
\@startsection{subsubsection}%
{3} % Structure level
{0mm} % Indention
{1.5ex plus 1ex minus 0.5ex} % Pre-Margin
{0.2ex plus 0.2ex minus 0.2ex} % Post-Margin
{\chapterheadfont\normalsize\bfseries} % Style
}
\renewcommand{\paragraph}{%
\@startsection{paragraph}%
{4} % Structure level
{0mm} % Indention
{1.3ex plus 1ex minus 0.3ex} % Pre-Margin
{0.2ex plus 0.2ex minus 0.2ex} % Post-Margin
{\chapterheadfont\normalsize\bfseries} % Style
}
\renewcommand{\subparagraph}{%
\@startsection{subparagraph}%
{5} % Structure level
{0mm} % Indention
{1ex plus 1ex minus 0.2ex} % Pre-Margin
{0.1ex plus 0.1ex minus 0.1ex} % Post-Margin
{\chapterheadfont\normalsize\bfseries} % Style
}
%% --- End of captions style ---
%% ---------------------------------
%% | Style of chapter captions |
%% ---------------------------------
\newlength{\chapnolen}
\newlength{\chapparlen}
\newsavebox{\chapno}
\renewcommand{\@makechapterhead}[1]{
\vspace*{0.2\textheight}
\vskip 15\p@
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\savebox{\chapno}{\chapterheadfont\huge\bfseries \thechapter.}
\settowidth{\chapnolen}{\usebox{\chapno}}
\parbox[t]{\chapnolen}{\usebox{\chapno}}\nobreak\leavevmode
\fi
\fi
\interlinepenalty\@MM
\setlength{\chapparlen}{\textwidth}
\addtolength{\chapparlen}{-1.0\chapnolen}
\addtolength{\chapparlen}{-2ex}
\leavevmode\nobreak
\parbox[t]{\chapparlen}{\raggedright\chapterheadfont\huge \bfseries #1\par\nobreak}
\vskip 40\p@
}}
\renewcommand{\@makeschapterhead}[1]{
\vspace*{50\p@}
{\parindent \z@ \raggedright
\normalfont
\interlinepenalty\@M
\chapterheadfont \huge \bfseries #1\par\nobreak
\vskip 40\p@
}
}
%% --- End of chapter captions style ---
%% ---------------------------------
%% | Style of content directory |
%% ---------------------------------
\let\oldtableofcontents\tableofcontents
\renewcommand{\tableofcontents}{{\pdfbookmark{\contentsname}{\contentsname}\chapterheadfont\oldtableofcontents}}
\let\@olddottedtocline\@dottedtocline
\renewcommand{\@dottedtocline}[5]{\@olddottedtocline{#1}{#2}{#3}{#4}{\chapterheadfont #5}}
%% --- End of content directory style ---
%% ----------------------------------
%% | Style of appendix numbering |
%% ----------------------------------
\renewcommand\appendix{\par
\setcounter{section}{0}%
\setcounter{subsection}{0}%
\setcounter{figure}{0}%
\renewcommand\thesection{\Alph{section}}%
\renewcommand\thefigure{\Alph{section}.\arabic{figure}}
\renewcommand\thetable{\Alph{section}.\arabic{table}}}
%% --- End of appenix numbering style ---
%% **** END OF CLASS ****
%% titlepage.tex
%%
% coordinates for the bg shape on the titlepage
\newcommand{\diameter}{20}
\newcommand{\xone}{-15}
\newcommand{\xtwo}{160}
\newcommand{\yone}{15}
\newcommand{\ytwo}{-253}
\begin{titlepage}
% bg shape
\begin{tikzpicture}[overlay]
\draw[color=gray]
(\xone mm, \yone mm)
-- (\xtwo mm, \yone mm)
arc (90:0:\diameter pt)
-- (\xtwo mm + \diameter pt , \ytwo mm)
-- (\xone mm + \diameter pt , \ytwo mm)
arc (270:180:\diameter pt)
-- (\xone mm, \yone mm);
\end{tikzpicture}
\begin{textblock}{10}[0,0](4,2.5)
\includegraphics[width=.3\textwidth]{logos/KITLogo_RGB.pdf}
\end{textblock}
\changefont{phv}{m}{n} % helvetica
\vspace*{3.5cm}
\begin{center}
\Huge{\mytitle}
\vspace*{2cm}\\
\Large{
\iflanguage{english}{Diploma Thesis of}
{Masterarbeit\\von}
}\\
\vspace*{1cm}
\huge{\myname}\\
\vspace*{1cm}
\Large{
\iflanguage{english}{At the Department of Informatics}
{An der Fakult\"at f\"ur Informatik}
\\
\iflanguage{english}{Institute for Visualization and Data Analysis (IVD)}
{Institut f\"ur Visualisierung and Datenanalyse (IVD)}
}
\end{center}
\vspace*{1cm}
\Large{
\begin{center}
\begin{tabular}[ht]{l c l}
% Gutachter sind die Professoren, die die Arbeit bewerten.
\iflanguage{english}{Reviewer}{Erstgutachter}: & \hfill & \reviewerone\\
\iflanguage{english}{Second reviewer}{Zweitgutachter}: & \hfill & \reviewertwo\\
\iflanguage{english}{Advisor}{Betreuender Mitarbeiter}: & \hfill & \advisor\\
%\iflanguage{english}{Second advisor}{Zweiter betreuender Mitarbeiter}: & \hfill & \advisortwo\\
% Der zweite betreuende Mitarbeiter kann weggelassen werden.
\end{tabular}
\end{center}
}
\vspace{2cm}
\begin{center}
\large{\iflanguage{english}{Duration}{Bearbeitungszeit}: \timestart \hspace*{0.25cm} -- \hspace*{0.25cm} \timeend}
\end{center}
\begin{textblock}{10}[0,0](4,16.8)
\tiny{
\iflanguage{english}
{KIT -- University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association}
{KIT -- Universit\"at des Landes Baden-W\"urttemberg und nationales Forschungszentrum in der Helmholtz-Gemeinschaft}
}
\end{textblock}
\begin{textblock}{10}[0,0](14,16.75)
\large{
\textbf{www.kit.edu}
}
\end{textblock}
\end{titlepage}
\begin{center}
\begin{minipage}{0.7\textwidth}
\selectlanguage{english}
\chapter*{Abstract}
\blindtext
\end{minipage}
\end{center}
\blankpage
\begin{center}
\begin{minipage}{0.7\textwidth}
\selectlanguage{ngerman}
\chapter*{Zusammenfassung}
\begin{otherlanguage}{ngerman}
\blindtext
\end{otherlanguage}
\end{minipage}
\end{center}
\chapter{Introduction}
\label{chaper:introduction}
Rendering Equation: \cite{Kajiya:1986:RE}
\Blindtext
\section{Section}
\Blindtext
\chapter{Conclusion}
\label{chapter:conclusion}
\Blindtext
\section{Section}
\Blindtext
\vspace*{36\baselineskip}
\hbox to \textwidth{\hrulefill}
\par
\iflanguage{english}{I declare that I have developed and written the enclosed thesis completely by myself, and have not used sources or means without declaration in the text.}{Ich versichere wahrheitsgem\"a\ss, die Arbeit selbstst\"andig angefertigt, alle benutzten Hilfsmittel vollst\"andig und genau angegeben und alles kenntlich gemacht zu haben, was aus Arbeiten anderer unver\"andert oder mit Ab\"anderungen entnommen wurde.}
\textbf{Karlsruhe, xx.xx.xx}
\vspace{1.5cm}
\dotfill\hspace*{8.0cm}\\
\hspace*{2cm}(\textbf{Max Mustermann}) %center name with hspace
\thispagestyle{empty}
@inproceedings{Kajiya:1986:RE,
author = {Kajiya, James T.},
title = {The rendering equation},
booktitle = {Proceedings of the 13th annual conference on Computer graphics and interactive techniques},
series = {SIGGRAPH '86},
year = {1986},
isbn = {0-89791-196-2},
pages = {143--150},
numpages = {8},
doi = {10.1145/15922.15902},
acmid = {15902},
publisher = {ACM},
address = {New York, NY, USA},
}
\documentclass{thesisclass}
% Based on thesisclass.cls of Timo Rohrberg, 2009
% ----------------------------------------------------------------
% Thesis - Main document
% ----------------------------------------------------------------
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{dsfont}
\usepackage{pgfplots}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{blindtext}
\renewcommand{\vec}{\overline}
\renewcommand{\to}{\rightarrow}
\newcommand{\lra}{\leftrightarrow}
\newcommand{\fat}{\boldsymbol}
\newcommand{\dotp}[2]{\left\langle #1, #2 \right\rangle}
\newcommand{\dist}[2]{\left\| #1 - #2 \right\|}
\newcommand{\abs}[1]{\left| #1 \right|}
%% -------------------------------
%% | Information for PDF file |
%% -------------------------------
\hypersetup{
pdfauthor={Not set},
pdftitle={Not set},
pdfsubject={Not set},
pdfkeywords={Not set}
}
%% ---------------------------------
%% | Information about the thesis |
%% ---------------------------------
\newcommand{\myname}{Max Mustermann}
\newcommand{\mytitle}{\iflanguage{english}{The best Topic in the World}{Das schönste Thema der Welt}}
\newcommand{\reviewerone}{Prof. Dr. Carsten Dachsbacher}
\newcommand{\reviewertwo}{Prof. Dr. Hartmut Prautzsch}
\newcommand{\advisor}{Dipl-Inf. Betreuer}
\newcommand{\timestart}{xx.xx.xxxx}
\newcommand{\timeend}{xx.xx.xxxx}
\newcommand{\submissiontime}{xx.xx.xxxx}
%% ---------------------------------
%% | ToDo Marker - only for draft! |
%% ---------------------------------
% Remove this section for final version!
\setlength{\marginparwidth}{20mm}
\newcommand{\margtodo}
{\marginpar{\textbf{\textcolor{red}{ToDo}}}{}}
\newcommand{\todo}[1]
{{\textbf{\textcolor{red}{(\margtodo{}#1)}}}{}}
%% --------------------------------
%% | Old Marker - only for draft! |
%% --------------------------------
% Remove this section for final version!
\newenvironment{deprecated}
{\begin{color}{gray}}
{\end{color}}
%% --------------------------------
%% | Settings for word separation |
%% --------------------------------
% Help for separation:
% In german package the following hints are additionally available:
% "- = Additional separation
% "| = Suppress ligation and possible separation (e.g. Schaf"|fell)
% "~ = Hyphenation without separation (e.g. bergauf und "~ab)
% "= = Hyphenation with separation before and after
% "" = Separation without a hyphenation (e.g. und/""oder)
% Describe separation hints here:
\hyphenation{
% Pro-to-koll-in-stan-zen
% Ma-na-ge-ment Netz-werk-ele-men-ten
% Netz-werk Netz-werk-re-ser-vie-rung
% Netz-werk-adap-ter Fein-ju-stier-ung
% Da-ten-strom-spe-zi-fi-ka-tion Pa-ket-rumpf
% Kon-troll-in-stanz
}
%% ------------------------
%% | Including files |
%% ------------------------
% Only files listed here will be included!
% Userful command for partially translating the document (for bug-fixing e.g.)
%%\includeonly{%
%%chapter1,
%%}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Here, main documents begins %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
% Remove the following line for German text
\selectlanguage{ngerman}
%\selectlanguage{english}
\frontmatter
\pagenumbering{roman}
\include{titlepage}
\blankpage
\include{abstract}
%% -------------------
%% | Directories |
%% -------------------
\tableofcontents
\blankpage
%% -----------------
%% | Main part |
%% -----------------
\mainmatter
\pagenumbering{arabic}
\include{chapter1}
\include{chapter2}
%% ----------------
%% | Appendix |
%% ----------------
\cleardoublepage
%% --------------------
%% | Bibliography |
%% --------------------
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\iflanguage{english}
{\bibliographystyle{IEEEtranSA}} % english style
{\bibliographystyle{babalpha-fl}} % german style
% Use IEEEtran for numeric references
\bibliographystyle{IEEEtranSA}
\bibliography{thesis}
\cleardoublepage
\include{declaration}
\end{document}
%% LaTeX2e class for diploma theses
%% Based on wissdoc.cls by Roland Bless, 1996-2001
%% bless@telematik.informatik.uni-karlsruhe.de
%%
%% Adapted by: Timo Rohrberg, 2009
%% timo.rohrberg@student.kit.edu
%%
%% Additions by: Thorsten Haberecht, IPD - Chair Prof. Bhm, 2010
%% thorsten.haberecht@kit.edu
\NeedsTeXFormat{LaTeX2e} % We do need LaTeX2e
\ProvidesClass{thesisclass}
\LoadClass[a4paper,11pt,titlepage]{scrbook} % Class based on scrbook
\RequirePackage{ngerman} % New german orthography
%% -------------------------------
%% | Packages |
%% -------------------------------
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} % Input in ISO 8859-1 (Latin1)
\usepackage{ae} % Almost european, virtual T1-Font
\usepackage[pdftex]{graphicx}
\usepackage{vmargin} % Adjust margins in a simple way
\usepackage{fancyhdr} % Define simple headings
\usepackage{subfigure}
\usepackage{url}
\usepackage[absolute,overlay]{textpos}
\usepackage{tikz}
\usepackage[ngerman, english]{babel}
% see http://www.ctan.org/tex-archive/macros/latex/contrib/algorithm2e/algorithm2e.pdf
% for more sophisticated algorithm listings
\usepackage[raiselinks=true,
bookmarks=true,
bookmarksopenlevel=1,
bookmarksopen=true,
bookmarksnumbered=true,
hyperindex=true,
plainpages=false,
pdfpagelabels=true,
pdfborder={0 0 0.5},
colorlinks=false,
linkbordercolor={0 0.61 0.50},
citebordercolor={0 0.61 0.50}]{hyperref} %{0.57 0.74 0.57}
\usepackage[fixlanguage]{babelbib} % sets german style for literature entries
%\selectbiblanguage{ngerman} % for \bibliographystyle{babalpha}
%% --- End of Packages ---
%% -------------------------------
%% | Declarations |
%% -------------------------------
\DeclareGraphicsExtensions{.svg}
%% --- End of Declarations ---
%% -------------------------------
%% | New commands |
%% -------------------------------
\newcommand{\changefont}[3]{\fontfamily{#1} \fontseries{#2} \fontshape{#3} \selectfont}
%\renewcommand*{\headfont}{\slshape}
%\newcommand{\captionfont}{}
\newcommand{\chapterheadfont}{}
\newcommand{\blankpage}{
\clearpage{\pagestyle{empty}\cleardoublepage}
}
%% --- End of New Commands ---
%% -------------------------------
%% | Globale Settings |
%% -------------------------------
\setcounter{secnumdepth}{3} % Numbering also for \subsubsections
\setcounter{tocdepth}{3} % Register \subsubsections in content directory
\setpapersize{A4}
\setmarginsrb{3cm}{1cm}{3cm}{1cm}{6mm}{7mm}{5mm}{15mm}
\parindent 0cm % Do not indent beginning of paragraph
\parskip1.5ex plus0.5ex minus0.5ex % Margin between paragraphs
%% --- End of global Settings ---
%% -------------------------------
%% | Headings |
%% -------------------------------
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}}
\fancyhf{}
\fancyhead[LE,RO]{{\headfont\thepage}} % Left/right header for even/odd pages
\fancyhead[LO]{\headfont\nouppercase{\rightmark}} % Header for left page (odd)
\fancyhead[RE]{\headfont\nouppercase{\leftmark}} % Header for right page (even)
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\fancypagestyle{plain}{%
\fancyhf{} % No Header and Footer fields
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyfoot[C]{\thepage}
}
%% --- End of Headings ---
%% -------------------------------
%% | Style of captions |
%% -------------------------------
\renewcommand{\chaptername}{}
\renewcommand{\section}{%
\@startsection{section}%
{1} % Structure level
{0mm} % Indention
{2ex plus 1ex minus 1ex} % Pre-Margin
{0.5ex plus 0.5ex minus 0.5ex} % Post-Margin
{\chapterheadfont\Large\bfseries} % Style
}
\renewcommand{\subsection}{%
\@startsection{subsection}%
{2} % Structure level
{0mm} % Indention
{1.5ex plus 1ex minus 0.5ex} % Pre-Margin
{0.3ex plus 0.3ex minus 0.3ex} % Post-Margin
{\chapterheadfont\large\bfseries} % Style
}
\renewcommand{\subsubsection}{%
\@startsection{subsubsection}%
{3} % Structure level
{0mm} % Indention
{1.5ex plus 1ex minus 0.5ex} % Pre-Margin
{0.2ex plus 0.2ex minus 0.2ex} % Post-Margin
{\chapterheadfont\normalsize\bfseries} % Style
}
\renewcommand{\paragraph}{%
\@startsection{paragraph}%
{4} % Structure level
{0mm} % Indention
{1.3ex plus 1ex minus 0.3ex} % Pre-Margin
{0.2ex plus 0.2ex minus 0.2ex} % Post-Margin
{\chapterheadfont\normalsize\bfseries} % Style
}
\renewcommand{\subparagraph}{%
\@startsection{subparagraph}%
{5} % Structure level
{0mm} % Indention
{1ex plus 1ex minus 0.2ex} % Pre-Margin
{0.1ex plus 0.1ex minus 0.1ex} % Post-Margin
{\chapterheadfont\normalsize\bfseries} % Style
}
%% --- End of captions style ---
%% ---------------------------------
%% | Style of chapter captions |
%% ---------------------------------
\newlength{\chapnolen}
\newlength{\chapparlen}
\newsavebox{\chapno}
\renewcommand{\@makechapterhead}[1]{
\vspace*{0.2\textheight}
\vskip 15\p@
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\savebox{\chapno}{\chapterheadfont\huge\bfseries \thechapter.}
\settowidth{\chapnolen}{\usebox{\chapno}}
\parbox[t]{\chapnolen}{\usebox{\chapno}}\nobreak\leavevmode
\fi
\fi
\interlinepenalty\@MM
\setlength{\chapparlen}{\textwidth}
\addtolength{\chapparlen}{-1.0\chapnolen}
\addtolength{\chapparlen}{-2ex}
\leavevmode\nobreak
\parbox[t]{\chapparlen}{\raggedright\chapterheadfont\huge \bfseries #1\par\nobreak}
\vskip 40\p@
}}
\renewcommand{\@makeschapterhead}[1]{
\vspace*{50\p@}
{\parindent \z@ \raggedright
\normalfont
\interlinepenalty\@M
\chapterheadfont \huge \bfseries #1\par\nobreak
\vskip 40\p@
}
}
%% --- End of chapter captions style ---
%% ---------------------------------
%% | Style of content directory |
%% ---------------------------------
\let\oldtableofcontents\tableofcontents
\renewcommand{\tableofcontents}{{\pdfbookmark{\contentsname}{\contentsname}\chapterheadfont\oldtableofcontents}}
\let\@olddottedtocline\@dottedtocline
\renewcommand{\@dottedtocline}[5]{\@olddottedtocline{#1}{#2}{#3}{#4}{\chapterheadfont #5}}
%% --- End of content directory style ---
%% ----------------------------------
%% | Style of appendix numbering |
%% ----------------------------------
\renewcommand\appendix{\par
\setcounter{section}{0}%
\setcounter{subsection}{0}%
\setcounter{figure}{0}%
\renewcommand\thesection{\Alph{section}}%
\renewcommand\thefigure{\Alph{section}.\arabic{figure}}
\renewcommand\thetable{\Alph{section}.\arabic{table}}}
%% --- End of appenix numbering style ---
%% **** END OF CLASS ****
%% titlepage.tex
%%
% coordinates for the bg shape on the titlepage
\newcommand{\diameter}{20}
\newcommand{\xone}{-15}
\newcommand{\xtwo}{160}
\newcommand{\yone}{15}
\newcommand{\ytwo}{-253}
\begin{titlepage}
% bg shape
\begin{tikzpicture}[overlay]
\draw[color=gray]
(\xone mm, \yone mm)
-- (\xtwo mm, \yone mm)
arc (90:0:\diameter pt)
-- (\xtwo mm + \diameter pt , \ytwo mm)
-- (\xone mm + \diameter pt , \ytwo mm)
arc (270:180:\diameter pt)
-- (\xone mm, \yone mm);
\end{tikzpicture}
\begin{textblock}{10}[0,0](4,2.5)
\includegraphics[width=.3\textwidth]{logos/KITLogo_RGB.pdf}
\end{textblock}
\changefont{phv}{m}{n} % helvetica
\vspace*{3.5cm}
\begin{center}
\Huge{\mytitle}
\vspace*{2cm}\\
\Large{
\iflanguage{english}{Diploma Thesis of}
{Masterarbeit\\von}
}\\
\vspace*{1cm}
\huge{\myname}\\
\vspace*{1cm}
\Large{
\iflanguage{english}{At the Department of Informatics}
{An der Fakult\"at f\"ur Informatik}
\\
\iflanguage{english}{Institute for Visualization and Data Analysis (IVD)}
{Institut f\"ur Visualisierung and Datenanalyse (IVD)}
}
\end{center}
\vspace*{1cm}
\Large{
\begin{center}
\begin{tabular}[ht]{l c l}
% Gutachter sind die Professoren, die die Arbeit bewerten.
\iflanguage{english}{Reviewer}{Erstgutachter}: & \hfill & \reviewerone\\
\iflanguage{english}{Second reviewer}{Zweitgutachter}: & \hfill & \reviewertwo\\
\iflanguage{english}{Advisor}{Betreuender Mitarbeiter}: & \hfill & \advisor\\
%\iflanguage{english}{Second advisor}{Zweiter betreuender Mitarbeiter}: & \hfill & \advisortwo\\
% Der zweite betreuende Mitarbeiter kann weggelassen werden.
\end{tabular}
\end{center}
}
\vspace{2cm}
\begin{center}
\large{\iflanguage{english}{Duration}{Bearbeitungszeit}: \timestart \hspace*{0.25cm} -- \hspace*{0.25cm} \timeend}
\end{center}
\begin{textblock}{10}[0,0](4,16.8)
\tiny{
\iflanguage{english}
{KIT -- University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association}
{KIT -- Universit\"at des Landes Baden-W\"urttemberg und nationales Forschungszentrum in der Helmholtz-Gemeinschaft}
}
\end{textblock}
\begin{textblock}{10}[0,0](14,16.75)
\large{
\textbf{www.kit.edu}
}
\end{textblock}
\end{titlepage}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment