summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-08-14 22:34:56 +0000
committerKarl Berry <karl@freefriends.org>2013-08-14 22:34:56 +0000
commit1b49b1bc8a4f1240f4fa998121c744c22e70d65b (patch)
treecf33fe88cd31d95d77eb95fb20bd3959b1a168eb /Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls
parentdf137cab5b91cd4f845b6a3f27545d963298be75 (diff)
udesoftec (14aug13)
git-svn-id: svn://tug.org/texlive/trunk@31431 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls')
-rw-r--r--Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls369
1 files changed, 247 insertions, 122 deletions
diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls b/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls
index 5dde6519eca..a46056a0e32 100644
--- a/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls
+++ b/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls
@@ -1,7 +1,7 @@
% !Mode:: "TeX:UTF-8"
%% udesoftec.cls
% Copyright 2013 J. Peter M. Schuler
-% 2013-07-09 v1.1 udesoftec
+% 2013-08-14 v1.2 udesoftec
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -32,7 +32,7 @@
% and
% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec.doc.pdf
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesClass{udesoftec}[2013/06/28 University of Duisburg-Essen, Research Group for Business Informatics and Software Engineering Thesis documentclass and bibstyle]%
+\ProvidesClass{udesoftec}[2013/08/14 Thesis class and bibstyle for UDE SOFTEC - University of Duisburg-Essen, Research Group for Business Informatics and Software Engineering]%
\LoadClass[%
%titlepage=true,
twoside=true,
@@ -69,6 +69,9 @@
\newif\ifdocumentOmitLOT
\newif\ifdocumentOmitLOF
+\newif\ifdocumentOmitLOA
+\newif\ifdocumentOmitTodos
+\newif\ifdocumentUsedTodos
\newif\iftemplateDocumentLayoutChoosen
\templateDocumentLayoutChoosenfalse
@@ -80,8 +83,13 @@
\DeclareOption{final}{\documentIsFinaltrue}
\documentOmitLOTfalse
\documentOmitLOFfalse
+\documentOmitLOAfalse
+\documentOmitTodosfalse
+\documentUsedTodosfalse
\DeclareOption{omit-lot}{\documentOmitLOTtrue}
\DeclareOption{omit-lof}{\documentOmitLOFtrue}
+\DeclareOption{omit-loa}{\documentOmitLOAtrue}
+\DeclareOption{omit-todos}{\documentOmitTodostrue}
\templateUseColorfulLinksfalse
\templateUseSansSerifFontfalse
@@ -118,6 +126,7 @@
\templateVawitrue
\templateVawiBambergtrue
}
+\DeclareOption{confidential}{\documentHasConfidentialityClausetrue}
\DeclareOption*{\ClassWarning{udesoftec}{Unknown option \CurrentOption}}
\templateAddChapterToFigureNumberingfalse
@@ -161,6 +170,13 @@
\ProcessOptions\relax
+\ifdocumentIsFinal
+\documentOmitLOTfalse
+\documentOmitLOFfalse
+\documentOmitLOAfalse
+\documentOmitTodostrue
+\else%
+\fi%
\ifprimaryDocumentLanguageGerman
\def \templateTitlePageBackground{udesoftec-cover-ude-de}
@@ -200,6 +216,47 @@
\definecolor{UDEblue}{RGB/cmyk}{0,76,147/1,.68,0,.12}
\definecolor{UDEbeige}{RGB/cmyk}{239,228,191/0,.03,.19,.06}
\definecolor{UDEbrightblue}{RGB/cmyk}{223,228,242/.15,.09,0,0}
+
+\definecolor{UDEcustombrightbeige}{RGB}{255,249,229}
+\definecolor{UDEcustombrightblue}{RGB}{229,236,255}
+\definecolor{UDEcustommediumgreen}{RGB}{200,229,185}
+\definecolor{UDEcustombrightgreen}{RGB}{238,255,229}
+\definecolor{UDEcustomediumorange}{RGB}{200,229,185}
+\definecolor{UDEcustombrightorange}{RGB}{255,249,229}
+\definecolor{UDEcustombrightgray}{RGB}{244,244,244}
+\definecolor{UDEcustommediumgray}{RGB}{159,159,189}
+\definecolor{UDEcustomdarkgray}{RGB}{74,74,74}
+
+\colorlet{UDEVariantsDarkBlue}{UDEblue}
+\colorlet{UDEVariantsMediumBlue}{UDEblue!50!UDEbrightblue}
+\colorlet{UDEVariantsBrightBlue}{UDEbrightblue}
+\colorlet{UDEVariantsDarkBeige}{UDEbeige}
+\colorlet{UDEVariantsMediumBeige}{UDEbeige}
+\colorlet{UDEVariantsBrightBeige}{UDEcustombrightbeige}
+\colorlet{UDEVariantsMediumGreen}{UDEcustommediumgreen}
+\colorlet{UDEVariantsBrightGreen}{UDEcustombrightgreen}
+\colorlet{UDEVariantsMediumOrange}{UDEcustomediumorange}
+\colorlet{UDEVariantsBrightOrange}{UDEcustombrightgreen}
+
+\colorlet{DocumentDark0}{UDEcustomdarkgray}
+\colorlet{DocumentMedium0}{UDEcustommediumgray}
+\colorlet{DocumentBright0}{UDEcustombrightgray}
+
+\colorlet{DocumentDark1}{UDEVariantsDarkBlue}
+\colorlet{DocumentMedium1}{UDEVariantsMediumBlue}
+\colorlet{DocumentBright1}{UDEVariantsBrightBlue}
+
+\colorlet{DocumentDark2}{UDEVariantsDarkBeige}
+\colorlet{DocumentMedium2}{UDEVariantsMediumBeige}
+\colorlet{DocumentBright2}{UDEVariantsBrightBeige}
+
+\colorlet{DocumentMedium3}{UDEVariantsMediumBeige}
+\colorlet{DocumentBright3}{UDEVariantsBrightGreen}
+
+\colorlet{DocumentMedium4}{UDEVariantsMediumOrange}
+\colorlet{DocumentBright4}{UDEVariantsBrightOrange}
+
+
\colorlet{allchaptercolor}{black}
@@ -239,10 +296,10 @@
\ifprimaryDocumentLanguageGerman
\else
-\def \templateTitlePageBackground{udesoftec-cover-en}
+\def \templateTitlePageBackground{udesoftec-cover-ude-en}
\def \typeofdoc{Master Thesis}
\def \labelPreTopic{about the topic}
-\def \labelRespectConfidentiality{(Sperrvermerk beachten)}
+\def \labelRespectConfidentiality{(Sperrvermerk beachten --- adhere confidentially clause)}
\def \academicfield{Business Information Systems}
\def \institution{Presented to the Faculty of Economics and Business Administration\par of University of Duisburg-Essen}
\def \semester{Winter semester 2011/2012, 8th Semester in \academicfield}
@@ -438,8 +495,8 @@
\providecaptionname{english}{\bblnoyear}{n.d.}%
\providecaptionname{ngerman}{\bblnoyearlong}{ohne Jahresangabe}%
\providecaptionname{english}{\bblnoyearlong}{no date}%
-\providecaptionname{ngerman}{\bbllastaccesswas}{Zuletzt geprüft }%
-\providecaptionname{english}{\bbllastaccesswas}{Last checked }%
+\providecaptionname{ngerman}{\bbllastaccesswas}{Zuletzt geprüft: }%
+\providecaptionname{english}{\bbllastaccesswas}{Last checked: }%
\renewcommand*{\bibfont}{\raggedright}
\newcommand{\bblurldate}[1]{ (\bbllastaccesswas #1)}
@@ -484,22 +541,11 @@
\leftskip=0ptplus1fil\rightskip=-\leftskip\parfillskip=\leftskip%
\hfill \phantom{ } \mbox{#1}\par}}
-\newcommand{\citequotepar}[3][]
-{
-\begin{addmargin}{2em}%
-\vspace*{1em}
-\sloppy{\small\nohyphens{\glqq#3\grqq}}\putRightIfRoom{\small\cite[#1]{#2}}%
-\vspace*{1em}
-\end{addmargin}%
-}
-
-
-
+\newcommand{\inquotequote}[1]{\glq{}#1\grq{}}
\newcommand{\blockquote}[3][]{
\message{LaTeX Warning: \noexpand\blockquote is deprecated, use \noexpand\citequotepar on input line \the\inputlineno }
\citequotepar[#1]{#2}{#3}
}
-
\newcommand{\intextquote}[3][]{
\message{LaTeX Warning: \noexpand\intextquote is deprecated, use \noexpand\citequote on input line \the\inputlineno }
\citequote[#1]{#2}{#3}}
@@ -507,6 +553,8 @@
\message{LaTeX Warning: \noexpand\intextquote is deprecated, use \noexpand\citequote on input line \the\inputlineno }
\citequote[#1]{#2}{#3}}
\newcommand{\citequote}[3][]{\glqq#3\grqq \ \cite[#1]{#2}}
+\newcommand{\citequotehidden}[3][]{\cite[#1]{#2}}
+\newcommand{\citetquotehidden}[3][]{\citet[#1]{#2}}
% !Mode:: "TeX:UTF-8"
%%%% todonotes %%%%%%%
@@ -514,8 +562,10 @@
% use option "disable" to disable the complete packages (leaving all commands intact, just removing output)
\usepackage[
ngerman,
-textsize=footnotesize,
-backgroundcolor=Todo,
+textsize=scriptsize,
+backgroundcolor=DocumentBright1,
+bordercolor=DocumentMedium1,
+linecolor=DocumentBright1,
colorinlistoftodos
]{todonotes}%
%% alternative for deactivation:
@@ -523,40 +573,61 @@ colorinlistoftodos
%\newcommand*{\listoftodos}[1][]{}
%\newcommand*{\missingfigure}[2][]{}
-\let\defaultTodo\todo
-\renewcommand{\todo}[1]{%
-\defaultTodo[fancyline]{#1}%
-}
-\newcommand*{\todoDesign}[1]{%
-\defaultTodo[fancyline,backgroundcolor=LightGreen]{#1}%
-}
-\newcommand*{\todoText}[1]{%
-\defaultTodo[fancyline,backgroundcolor=LightBlue]{#1}%
-}
-\newcommand*{\todoFigure}[1]{%
-\defaultTodo[fancyline,backgroundcolor=LightYellow]{#1}%
-}
-\newcommand{\inlinetodo}[1]{\defaultTodo[inline]{#1}}
-\newcommand{\todoinline}[1]{\defaultTodo[inline]{#1}}
-
-\let\defaultListoftodos\listoftodos
-\renewcommand{\listoftodos}{
- \let\originalHbadness\hbadness
- \hbadness 100000
- \defaultListoftodos
- \hbadness \originalHbadness
-}
+\ifdocumentOmitTodos
+ \renewcommand{\listoftodos}{}
+ \renewcommand{\todo}[2][]{}
+ \newcommand*{\todoDesign}[1]{}
+ \newcommand*{\todoText}[1]{}
+ \newcommand*{\todoFigure}[1]{}
+\else
+ \let\defaultTodo\todo
+ \renewcommand{\todo}[1]{%
+ \documentUsedTodostrue%
+ \defaultTodo[]{#1}%
+ }
+ \newcommand*{\todoDesign}[1]{%
+ \documentUsedTodostrue%
+ \defaultTodo[fancyline,backgroundcolor=DocumentBright2]{#1}%
+ }
+ \newcommand*{\todoText}[1]{%
+ \documentUsedTodostrue%
+ \defaultTodo[fancyline,backgroundcolor=DocumentBright3]{#1}%
+ }
+ \newcommand*{\todoFigure}[1]{%
+ \documentUsedTodostrue%
+ \defaultTodo[fancyline,backgroundcolor=DocumentBright4]{#1}%
+ }
+ \newcommand{\inlinetodo}[1]{\documentUsedTodostrue\defaultTodo[inline]{#1}}
+ \newcommand{\todoinline}[1]{\inlinetodo{#1}}
+
+ \let\defaultListoftodos\listoftodos
+ \renewcommand{\listoftodos}{
+ \let\originalHbadness\hbadness
+ \hbadness 100000
+ \defaultListoftodos
+ \hbadness \originalHbadness
+ }
+\fi
% !Mode:: "TeX:UTF-8"
-%%%% chapterdseign %%%
-% purpose: have some nice chapter headings (big number, lines and so on)
-% we need type1cm and cm-super for the bigger fonts - else there would be warnings
+%%%% chapterdesign %%%
\usepackage{type1cm}
\usepackage{fix-cm}
\addtokomafont{chapter}{\color{chapter}}
\addtokomafont{sectioning}{\color{section}}
\addtokomafont{subsubsection}{\color{subsection}}
+%have a section level which doesn't use numbers never and will work no matter how deep secnum is.
+\newcommand{\unnumberedsection}[1]{%
+\subparagraph{#1}\hspace{0cm}\\%
+}
+% Chapter-Numbering for 4 levels, i.e. PART B Chapter 5.7.3.1; in order to have unnumbered headings use \paragraph{}
+\setcounter{secnumdepth}{3}
+\setcounter{tocdepth}{3}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% purpose: have some nice chapter headings (big number, lines and so on)
+% we need type1cm and cm-super for the bigger fonts - else there would be warnings
+% source: https://groups.google.com/forum/#!msg/de.comp.text.tex/rVcjvNQI6IA/N-NsfyQzXRwJ
\makeatletter% siehe De-TeX-FAQ
\renewcommand*{\chapterformat}{%
\begingroup% damit \unitlength-Änderung lokal bleibt
@@ -585,9 +656,8 @@ colorinlistoftodos
}
%%%%%%%%%%%%%%%%%%%%%%
-% !Mode:: "TeX:UTF-8"
- \renewcommand{\headfont}{\normalfont\small\color{HeadmarkText}} % header text should be small
- \renewcommand{\pnumfont}{\normalfont\small\color{PagemarkText}} % pagenumber is in header and should be small too
+\renewcommand{\headfont}{\normalfont\small\color{HeadmarkText}} % header text should be small
+\renewcommand{\pnumfont}{\normalfont\small\color{PagemarkText}} % pagenumber is in header and should be small too
%%%% scrpage2 %%%%%%%%
% purpose: customize page styles (header, footer)
@@ -646,15 +716,6 @@ colorinlistoftodos
%%%%%%%%%%%%%%%%%%%%%%
%%%% custom pagemark %%%%%%%%%%%%%%%%%%%%%%%
-%\newcommand{\pagemarkBox}[2] {
- %% the picture has height 0 to change clipping behavior, else the clipping box might be higher than the text line
- %\begin{picture}(50,0)
- %\put(.38,-5.4) {
- %\put(-2.8,.3){\color{PagemarkBackground}\rule{56pt}{16pt}}%
- %\put(5,1){\makebox(40,16)[#2]{\textcolor{PagemarkText}\templatePageMarkPrefix\fontseries{b}\fontshape{n}\selectfont #1}}%
- %}
- %\end{picture}
-%}
\newcommand{\pagemarkBox}[2] {
% the picture has height 0 to change clipping behavior, else the clipping box might be higher than the text line
\begin{picture}(50,0)
@@ -667,10 +728,6 @@ colorinlistoftodos
\end{picture}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% !Mode:: "TeX:UTF-8"
-\iftemplateUseCustomMaketitle
-%\fi
- \usepackage{wallpaper}
% 8pt lmodern
% top=37.13mm,bottom=69.27mm
% left=26.25mm,right=52.5mm
@@ -679,7 +736,6 @@ colorinlistoftodos
% top=37.13mm,bottom=69.27mm,
% left=30.00mm,right=52mm
% inner=30.00mm,outer=52mm
- %
% for print \linewidth is 373.44249pt which is also 5.16833in and 131.24847mm.
% for screen \linewidth is 362.7727pt which is also 5.02066in and 127.49852mm
\newlength{\imagewidth}
@@ -710,14 +766,15 @@ colorinlistoftodos
\fi
+\iftemplateUseCustomMaketitle
+ \usepackage{wallpaper}
\renewcommand{\maketitle}{
-
\newgeometry{bottom=1cm, inner=0cm,outer=0cm,top=4cm}
-
+
\begin{titlepage}
\begin{center}
\ThisCenterWallPaper{1}{\templateTitlePageBackground}
- \vspace*{50pt}
+ \vspace*{30pt}
\begin{minipage}[30em]{.7\linewidth}
\begin{center}
\Large\typeofdoc\normalsize
@@ -745,23 +802,21 @@ colorinlistoftodos
\fi
\vspace*{20pt}\Large\@date
\end{center}
- \vspace*{40pt}
+ \vspace*{30pt}
\end{minipage}
\authorbox
\begin{minipage}{.7\linewidth}
\begin{center}
- \vspace*{50pt}
+ \vspace*{40pt}
\large\semester
\end{center}
- \end{minipage}
- \end{center}
-
-
- \end{titlepage}
+ \end{minipage}%
+ \end{center}%
+\end{titlepage}%
\restoregeometry
}
-\iftemplateVawiBamberg
+ \iftemplateVawiBamberg
\renewcommand{\maketitle}{
@@ -801,22 +856,20 @@ colorinlistoftodos
\labelRespectConfidentiality
\fi
- \vspace*{20pt}\Large\@date
+ \vspace*{15pt}\Large\@date
\end{center}
- \vspace*{40pt}
+ \vspace*{20pt}
\end{minipage}
\authorbox
\begin{minipage}{.7\linewidth}
\begin{center}
- \vspace*{50pt}
+ \vspace*{40pt}
\large\semester
- \end{center}
- \end{minipage}
- \end{center}
-
-
- \end{titlepage}
+ \end{center}%
+ \end{minipage}%
+ \end{center}%
+ \end{titlepage}%
\restoregeometry
}
\fi
@@ -910,7 +963,7 @@ colorinlistoftodos
}%
}%
}%
- \endgroup
+ \endgroup%
}
\makeatother
\fi
@@ -940,7 +993,8 @@ colorinlistoftodos
]{hyperref}%
\AtBeginDocument{\def\subsectionautorefname{\sectionautorefname}}
\AtBeginDocument{\def\subsubsectionautorefname{\sectionautorefname}}
-
+% change url font type to "inherit"
+\renewcommand\UrlFont{\color{LinkExternal}}
%%%%%%%%%%%%%%%%%%%%%%
%%%% hycap %%%%%%%%%%%
@@ -955,7 +1009,9 @@ colorinlistoftodos
%%%% glossary %%%%%%%%%
% for glossary and acronyms; instead of package acronym
% special: glossary after hyperref
+% special:\AtEndDocument{\printglossary} before usepackage to suppress warning of missing printglossary
%\usepackage[footnote,printonlyused]{acronym}
+\AtEndDocument{\printglossary}
\usepackage[acronym,nonumberlist,section=chapter,toc]{glossaries}
\deftranslation[to=ngerman]{Acronyms}{Abkürzungsverzeichnis}
\deftranslation[to=ngerman]{Glossary}{Glossar}
@@ -984,25 +1040,6 @@ colorinlistoftodos
\glossaryentryfield{##2}{##3}{##4}{##5}{##6}}%
}
-%usage:
-% \newacronym[key-val list]{label}{abbrv}{long}
-% \acr {auto short/long}
-% \acrshort
-% \acrlong
-% !Mode:: "TeX:UTF-8"
-
-
-
-%\let\defaultTodo\todo
-%\renewcommand{\todo}[1]{
-%%\defaultTodo[inline]{#1}%
-%\defaultTodo{\sloppy #1}
-%}
-%\ifpdf
-%\else
-%%didn't fix todo for dvi, so disabled here:
-%\renewcommand{\todo}[1]{}
-%\fi
\newcommand{\chapterWithoutPageBreack}{\global\@topnum\z@\@afterindentfalse\secdef\@chapter\@schapter}
\let\chapterDefaultCommand\chapter
@@ -1028,6 +1065,7 @@ colorinlistoftodos
\newcommand{\bad}[1]{\textcolor{Bad}{#1}}
%%%%%%%%%%%%%%%%
+% allow footnotes in minipage
% from http://stackoverflow.com/questions/3126082/store-a-text-string-in-latex-and-then-add-other-text-to-it-concatenate
% by David Underhill
\newcounter{footnotesinthisminipage}
@@ -1045,19 +1083,62 @@ colorinlistoftodos
%\let\executeThisAfterEndOfMinipage aloa
}%
-%%%%%%%%%%%%%%%%
-\usepackage{verbatim}
-\usepackage{multicol}
-\usepackage{listings}
-\usepackage[listings]{scrhack}
-\lstset{%
-frame=single,%
-basicstyle=\scriptsize,%
-breaklines=true,%
-backgroundcolor=\color{listingBackground}%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% DEMO AND TESTING AREA HERE
+%%%%%%%%%%%%%%%%%%%%%%%%%
+% have quote boxes with big quotation marks
+% big quotation marks based on, reduced code and used mdframed
+% http://tex.stackexchange.com/questions/16964/block-quote-with-big-quotation-marks
+\usepackage{tikz}
+\usepackage{mdframed}
+\usepackage{libertine} % or any other font package
+\newcommand*\quotefont{\fontfamily{LinuxLibertineT-LF}} % selects Libertine as the quote font
+\newcommand*\quotesize{60} % if quote size changes, need a way to make shifts relative
+% Make commands for the quotes
+\newcommand*{\openquote}
+ {\tikz[remember picture,overlay,xshift=-4ex,yshift=-.5]
+ \node (OQ) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont\glqq};\kern0pt}
+\newcommand*{\closequote}
+ {\tikz[remember picture,overlay,xshift=4ex,yshift=2ex]
+ \node (CQ) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont\grqq};}
+
+\newenvironment{quoteBox}{%
+\mdfsetup{%
+innertopmargin=2ex,%
+backgroundcolor=DocumentBright2,%
+linecolor=DocumentMedium2,%
+linewidth=.5pt
}
+\begin{mdframed}\begin{quote}%
+\openquote%
+}{
+\closequote%
+\end{quote}\end{mdframed}%
+}
+
+\newcommand{\citequotepar}[3][]
+{%
+\begin{quoteBox}
+\sloppy{\small\nohyphens{#3}}%
+\par\hfill\small\cite[#1]{#2}%
+\end{quoteBox}%
+}
+
+\newenvironment{exampleBox}[1][]{%
+\mdfsetup{%
+frametitle={%
+\tikz[baseline=(current bounding box.east),outer sep=0pt]
+\node[anchor=east,rectangle,draw=DocumentMedium1,line width=.5pt,fill=DocumentBright1,]
+{\strut #1};}%
+}%
+\mdfsetup{innertopmargin=.5em,linecolor=DocumentMedium1,%
+backgroundcolor=DocumentBright1,%
+linewidth=.5pt,topline=true,
+frametitleaboveskip=\dimexpr-\ht\strutbox\relax,}
+\begin{mdframed}%
+}{\end{mdframed}}
-\usepackage{varwidth}
\newcommand{\parExample}[2][!]{%
\ifx!#1{
\parExampleWithHeading{Beispiel:}{#2}
@@ -1068,14 +1149,41 @@ backgroundcolor=\color{listingBackground}%
\newcommand{\parExampleWithHeading}[2]{%
\let\defaultCmdFootnote\footnote%
\let\footnote\footnoteCmdForInsideMinipage%
- \begin{addmargin}{0em}\vspace*{1em}\colorbox{parExample}{\begin{varwidth}{\linewidth-.7em}%
- \small\textbf{#1}\par%
+ \begin{exampleBox}[#1]%
\small{#2}%
- \end{varwidth}}\vspace*{1em}\end{addmargin}%
+ \end{exampleBox}%
\let\footnote\defaultCmdFootnote%
}
+%%%%%%%%%%%%%%%%
+\usepackage{verbatim}
+\usepackage{multicol}
+\usepackage{listings}
+\usepackage[listings]{scrhack}
+\lstset{%
+frame=single,%
+basicstyle=\scriptsize,%
+breaklines=true,%
+backgroundcolor=\color{DocumentBright0},%
+rulecolor=\color{DocumentMedium0},%
+keywordstyle=\color{DocumentDark1},
+stringstyle=\color{DocumentDark2},
+commentstyle=\color{DocumentMedium0}
+}
+%add support for german utf-8 umlauts:
+% source: http://stackoverflow.com/questions/1116266/listings-in-latex-with-utf-8-or-at-least-german-umlauts
+\lstset{
+ literate={ö}{{\"o}}1
+ {ä}{{\"a}}1
+ {ü}{{\"u}}1
+ {Ä}{{\"A}}1
+ {Ö}{{\"O}}1
+ {Ü}{{\"U}}1
+ {ß}{{\ss}}1
+}
+
+
\AtBeginDocument{
\pagenumbering{alph} % title page is "a" - internal trick to prevent two pages with same name
\maketitle % Komplett automatisch generiert anhand von Metadaten
@@ -1083,15 +1191,32 @@ backgroundcolor=\color{listingBackground}%
%\extratitle % empty sheet after title
%%%%%%%%%%%%%%%%%%%%%%%% VORGEPLÄNKEL %%%%%%%%%%%%%%%%%%%%%%%
\pagenumbering{Roman} % I,II,III,IV... - all pre-content pages are roman upper
- % \input{chapters/02_Foreword}
+ \ifdocumentHasConfidentialityClause
+ \ifprimaryDocumentLanguageGerman
+ \chapter*{Sperrvermerk}
+ Die vorliegende \typeofdoc ~enthält vertrauliche Informationen der \emph{\confidentialitySource}, die der Geheimhaltung unterliegen. Veröffentlichungen oder Vervielfältigungen der \typeofdoc ~-- auch nur auszugsweise -- sind ohne ausdrückliche Genehmigung der \emph{\confidentialitySource} nicht gestattet. Die \typeofdoc ~ist nur den Mitarbeitern des betreuenden Lehrstuhls sowie den Mitgliedern des Prüfungsausschusses zugänglich zu machen.
+
+ Dieser Sperrvermerk gilt für die nächsten 2 Jahre. Die sich aus diesem Sperrvermerk ergebenden Einschränkungen entfallen nach Ablauf dieses Zeitraums.
+ \else
+ \chapter*{Confidentially Clause}
+ This \typeofdoc ~contains confidential data of \emph{\confidentialitySource}. Any publication or duplication of this \typeofdoc ~-- even in part -- is prohibited, excluding cases with explicit permission by \emph{\confidentialitySource}. The \typeofdoc ~is to be made accessible to the staff of research group supervising it and the board of examiners.
+
+ This confidentially clause is valid for the next 2 years. Any limitations resulting from this confidentially clause do not apply after this period.
+ \fi%
+ \else%
+ \fi%
\tableofcontents
\ifdocumentOmitLOF\else\listoffigures\fi
\ifdocumentOmitLOT\else\listoftables\fi
+ \ifdocumentOmitLOA\else\printacronyms\fi
}
\AtEndDocument{
+\ifdocumentUsedTodos
+ \ifdocumentOmitTodos
+ \else
+ \listoftodos
+ \fi
+\fi
}
-
\setlength\marginparsep{5mm}
\setlength\marginparwidth{40mm}
-
-\endinput% \ No newline at end of file