summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/udesoftec/udesoftec.cls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-10 03:01:27 +0000
committerNorbert Preining <norbert@preining.info>2020-03-10 03:01:27 +0000
commit877268a0de707a979be934d888518f6cc02d73a6 (patch)
tree30597445c86d75b20a836b6c90ab6c31b76d902e /macros/latex/contrib/udesoftec/udesoftec.cls
parent0561778af6f8fde0a3a1c334e2aab9a4f1142d6e (diff)
CTAN sync 202003100301
Diffstat (limited to 'macros/latex/contrib/udesoftec/udesoftec.cls')
-rw-r--r--macros/latex/contrib/udesoftec/udesoftec.cls196
1 files changed, 101 insertions, 95 deletions
diff --git a/macros/latex/contrib/udesoftec/udesoftec.cls b/macros/latex/contrib/udesoftec/udesoftec.cls
index b55eacf31a..c13ddae7ce 100644
--- a/macros/latex/contrib/udesoftec/udesoftec.cls
+++ b/macros/latex/contrib/udesoftec/udesoftec.cls
@@ -1,7 +1,7 @@
% !Mode:: "TeX:UTF-8"
%% udesoftec.cls
%% Copyright 2013-2015 J. Peter M. Schuler
-%% 2018/03/28 v1.6.2 udesoftec
+%% 2020/03/09 v1.7.0 udesoftec
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -39,11 +39,11 @@
% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesClass{udesoftec}[2018/03/28 v1.6.2 udesoftec.cls Thesis class and bibstyle for UDE SOFTEC]%
+\ProvidesClass{udesoftec}[2020/03/09 v1.6.6 udesoftec.cls Thesis class and bibstyle for UDE SOFTEC]%
% class is based on KOMA-script http://www.ctan.org/pkg/koma-script
-\LoadClass{scrbook}
-\KOMAoptions{
+\LoadClass{scrbook}
+\KOMAoptions{%
twoside=true,
headings=openright, % same as documentclassoption openany/openright
numbers=noenddot, % section numbering without dot
@@ -52,7 +52,7 @@
listof=totoc,
headlines=1.5 % the size of the header in lines (1.5 because of pagemark and sepline); 1.25 is default; 1 would be appropriate if only text and no sepline)
}
-%%%% nag %%%%%%%%%%%%%
+%%%% nag %%%%%%%%%%%%%
% purpose: identifies deprecated code and suggests better pckgs
% source: http://www.ctan.org/pkg/nag
\RequirePackage[l2tabu, orthodox]{nag}
@@ -128,7 +128,7 @@
%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%
%%% all default values and the options
-\fallBackToBibtextrue
+\fallBackToBibtextrue
\documentIsFinalfalse
\documentIsProposalfalse
\documentOmitLOTfalse
@@ -142,17 +142,17 @@
\documentOmitTodosfalse
\documentOmitAfalse
\documentOmitAenfalse
-\documentOmitCCtrue
+\documentOmitCCtrue
\documentHasShortAtrue
\documentUsedTodosfalse
\templateUseColorfulLinkstrue
\templateUseSansSerifFonttrue
-\templateUseBookLayoutfalse
+\templateUseBookLayoutfalse
\templateVawifalse
\templateVawiEssenfalse
\templateVawiBambergfalse
\templateAddChapterToFigureNumberingfalse
-\templateUseCustomMaketitletrue
+\templateUseCustomMaketitletrue
\primaryDocumentLanguageGermantrue
%%%%%%%%%%%%%%%%%%%%%%
@@ -160,7 +160,7 @@
%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%
% Document options
-\DeclareOption{mwe}{
+\DeclareOption{mwe}{%
\documentOmitLOTtrue
\documentOmitSDtrue
\documentOmitLOFtrue
@@ -173,7 +173,7 @@
}
\DeclareOption{draft} {\documentIsFinalfalse}
\DeclareOption{final} {\documentIsFinaltrue}
-\DeclareOption{proposal}{
+\DeclareOption{proposal}{%
\documentIsProposaltrue
\documentOmitLOTtrue
\documentOmitSDtrue
@@ -197,11 +197,11 @@
\else%
\fi%
\def\udesoftec@bblengine{BibTeX}
-\DeclareOption{bibtex} {
+\DeclareOption{bibtex} {%
\fallBackToBibtextrue
\def\udesoftec@bblengine{BibTeX}
}
-\DeclareOption{biber} {
+\DeclareOption{biber} {%
\fallBackToBibtexfalse
\def\udesoftec@bblengine{BibLaTeX/Biber}
}
@@ -219,21 +219,21 @@
\DeclareOption{omit-aen} {\documentOmitAentrue}
\DeclareOption{confidential}{\documentOmitCCfalse}
-\DeclareOption{printlayout}{
+\DeclareOption{printlayout}{%
\templateUseColorfulLinksfalse
\templateUseSansSerifFontfalse
\templateUseBookLayouttrue
}
-\DeclareOption{screenlayout}{
+\DeclareOption{screenlayout}{%
\templateUseColorfulLinkstrue
\templateUseSansSerifFonttrue
\templateUseBookLayoutfalse
}
-\DeclareOption{vawiessen}{
+\DeclareOption{vawiessen}{%
\templateVawitrue
\templateVawiEssentrue
}
-\DeclareOption{vawibamberg}{
+\DeclareOption{vawibamberg}{%
\templateVawitrue
\templateVawiBambergtrue
}
@@ -244,6 +244,7 @@
%%%%%%%%%%%%%%%%%%%%%%
%Process all document options
\ProcessOptions\relax
+
% document title page and configuration commands
\newcommand{\city}[1]{\def\udesoftec@city{#1}}
\newcommand{\typeofdoc}[1]{\def\udesoftec@typeofdoc{#1}}
@@ -252,12 +253,12 @@
\newcommand{\academicfield}[1]{\def\udesoftec@academicfield{#1}}
\newcommand{\institution}[1]{\def\udesoftec@institution{#1}}
\newcommand{\semester}[1]{\def\udesoftec@semester{#1}}
-\newcommand{\entitle}[1]{\def\udesoftec@entitle{#1}}
-\newcommand{\confidentialitySource}[1]{\def\udesoftec@confidentialitySource{#1}}
-\newcommand{\confidSource}[1]{\def\udesoftec@confidentialitySource{#1}}
-\newcommand{\authorbox}[1]{\def\udesoftec@authorbox{#1}}
-\newcommand{\abstract}[1]{\def\udesoftec@abstract{#1}}
-\newcommand{\abstractEn}[1]{\def\udesoftec@abstracten{#1}}
+\newcommand{\entitle}[1]{\def\udesoftec@entitle{#1}}
+\newcommand{\confidentialitySource}[1]{\def\udesoftec@confidentialitySource{#1}}
+\newcommand{\confidSource}[1]{\def\udesoftec@confidentialitySource{#1}}
+\newcommand{\authorbox}[1]{\def\udesoftec@authorbox{#1}}
+\newcommand{\abstract}[1]{\def\udesoftec@abstract{#1}}
+\newcommand{\abstractEn}[1]{\def\udesoftec@abstracten{#1}}
@@ -269,13 +270,13 @@
\labelRespectConfidentiality{(Sperrvermerk beachten)}
\academicfield{Wirtschaftsinformatik}
\institution{Vorgelegt der Fakult\"at f\"ur Wirtschaftswissenschaften der\par Universit\"at Duisburg-Essen}
-\semester{\udesoftec@academicfield -- Sommersemester 2016}
-\entitle{Englischer Titel der Arbeit}
+\semester{\udesoftec@academicfield -- Sommersemester 2016}
+\entitle{Englischer Titel der Arbeit}
\confidentialitySource{Name der Firma, die auf die Vertraulichkeitserkl\"arung besteht}
\date{Dokumentversion: \today \linebreak Templateversion:
\udesoftecversion{} (with \udesoftec@bblengine)}
-\authorbox{
+\authorbox{%
\begin{tabularx}{.7\linewidth}{ll}
von:&Max Mustermann\\
&Musterstrasse 123\\
@@ -286,7 +287,7 @@
\\
Betreuer:&Dipl.-Wirt.-Inf Some Body\\
\\
-\end{tabularx}
+\end{tabularx}
}
\ifprimaryDocumentLanguageGerman
@@ -303,7 +304,7 @@
\confidentialitySource{Name of Company which wants the statutory declaration}
\date{Document version: \today \linebreak Template version:
\udesoftecversion{} (with \udesoftec@bblengine)}
- \authorbox{
+ \authorbox{%
\begin{tabularx}{.7\linewidth}{ll}
Author:&Max Mustermann\\
&Musterstrasse 123\\
@@ -314,9 +315,10 @@
\\
Supervisor:&Dipl.-Wirt.-Inf Some Body\\
\\
- \end{tabularx}
+ \end{tabularx}
}
\fi
+
\usepackage{libertine}
%% special set font before fontenc!
\fontfamily{LinuxLibertineT-TLF}
@@ -333,10 +335,10 @@
\setkomafont{caption}{\normalfont\normalcolor\scriptsize}
%%%% microtype %%%%%%
-% purpose: character protrusion (also known as margin kerning) and font expansion
+% purpose: character protrusion (also known as margin kerning) and font expansion
% purpose-de: optischen Randausgleich verwenden. Beispiele siehe Paket-Doku
% source: http://www.ctan.org/pkg/microtype
-\usepackage{microtype}
+\usepackage{microtype}
%%%%%%%%%%%%%%%%%%%%%%
\ifprimaryDocumentLanguageGerman
@@ -351,7 +353,7 @@
-%%%% l18n %%%%%%%%%%%%%
+%%%% l18n %%%%%%%%%%%%%
% purpose: localization and utf-8 config
% babel has primary language last
\usepackage[utf8]{inputenc}
@@ -360,6 +362,7 @@
\usepackage{hyphenat} % helps with \nohyphens command, which allows to remove hypens from quotes.
%%%%%%%%%%%%%%%%%%%%%%
+
%%%% xcolor %%%%%%%%%%
% purpose: define some color names
\usepackage[svgnames]{xcolor}
@@ -420,14 +423,14 @@
\colorlet{allchaptercolor}{black}
-
+
\colorlet{listingBackground}{white!50!UDEbeige}
\colorlet{documentTitle}{black}
-\colorlet{parExample}{UDEbrightblue}
+\colorlet{parExample}{UDEbrightblue}
-\colorlet{chapter}{allchaptercolor} % for all chapters, toc etc
-\colorlet{section}{allchaptercolor} % for all chapters, toc etc
-\colorlet{subsection}{allchaptercolor} % for all chapters, toc etc
+\colorlet{chapter}{allchaptercolor} % for all chapters, toc etc
+\colorlet{section}{allchaptercolor} % for all chapters, toc etc
+\colorlet{subsection}{allchaptercolor} % for all chapters, toc etc
\colorlet{ChapterHeadingBigChapterNumber}{allchaptercolor} % for the special chapter title page design
\colorlet{ChapterHeadingSmallChapterNumer}{allchaptercolor} % for the special chapter title page design
@@ -467,12 +470,12 @@
\abstractEn{}
\fi
-\newcommand{\printabstract}{%
+\newcommand{\printabstract}{%
\chapter*{\labelabstracttitle}%
\label{sec:abstract}
\pdfbookmark[0]{\labelabstracttitle}{sec:abstract}%
\udesoftec@abstract
-
+
\iflanguage{ngerman}{%
% German theses should have German and English abstract
\ifdocumentOmitAen
@@ -493,10 +496,10 @@
}
\newcaptionname{ngerman}{\labelconfidentialityclausetitle}{Sperrvermerk}
-\newcaptionname{british}{\labelconfidentialityclausetitle}{Confidentially Clause}
+\newcaptionname{british}{\labelconfidentialityclausetitle}{Confidentiality Clause}
\def\udesoftec@defaultconfidentialityclause{Die vorliegende \udesoftec@typeofdoc ~enth\"alt vertrauliche Informationen der \emph{\udesoftec@confidentialitySource}, die der Geheimhaltung unterliegen. Ver\"offentlichungen oder Vervielf\"altigungen der \udesoftec@typeofdoc ~-- auch nur auszugsweise -- sind ohne ausdr\"uckliche Genehmigung der \emph{\udesoftec@confidentialitySource} nicht gestattet. Die \udesoftec@typeofdoc ~ist nur den Mitarbeitern des betreuenden Lehrstuhls sowie den Mitgliedern des Pr\"ufungsausschusses zug\"anglich zu machen.\par{} Dieser Sperrvermerk gilt f\"ur die n\"achsten 2 Jahre. Die sich aus diesem Sperrvermerk ergebenden Einschr\"ankungen entfallen nach Ablauf dieses Zeitraums.\par{}}
\def\udesoftec@defaultconfidentialityclauseen{This \udesoftec@typeofdoc ~contains confidential data of \emph{\udesoftec@confidentialitySource}. Any publication or duplication of this \udesoftec@typeofdoc ~-- even in part -- is prohibited, excluding cases with explicit permission by \emph{\udesoftec@confidentialitySource}. The \udesoftec@typeofdoc ~is to be made accessible only to the staff of the research group supervising it and the board of examiners.\par{} This confidentially clause is valid for the next 2 years. Any limitations resulting from this confidentially clause do not apply after this period.\par{}}
-
+
% there should always be an additional German cc in English theses
\newcommand{\confidentialityclause}{%
\iflanguage{british}{%
@@ -504,41 +507,42 @@
\chapter*{\labelconfidentialityclausetitle} % English heading
\udesoftec@defaultconfidentialityclauseen % English text
\selectlanguage{ngerman} % prepare German
- \chapterWithoutPageBreak{\labelconfidentialityclausetitle} % German heading
+ \chapterWithoutPageBreak{\labelconfidentialityclausetitle} % German heading
\udesoftec@defaultconfidentialityclause % German text
\selectlanguage{british} % switching back to English
- }{
+ }{%
\cleardoublepage
\chapter*{\labelconfidentialityclausetitle}
\udesoftec@defaultconfidentialityclause
}
}
-
+
\newcaptionname{ngerman}{\labelstatutorydeclarationheading}{Eidesstattliche Versicherung}
\newcaptionname{british}{\labelstatutorydeclarationheading}{Statutory Declaration}
-\def\udesoftec@defaultstatutorydeclaration{Ich versichere an Eides statt durch meine Unterschrift, dass ich die vorstehende Arbeit selbst\"andig und ohne fremde Hilfe angefertigt und alle Stellen, die ich w\"ortlich oder ann\"ahrend w\"ortlich aus Ver\"offentlichungen entnommen habe, als solche kenntlich gemacht habe, mich auch keiner anderen als der angegebenen Literatur oder sonstiger Hilfsmittel bedient habe. Die Arbeit hat in dieser oder \"ahnlicher Form noch keiner anderen Pr\"ufungsbeh\"orde vorgelegen.\par{} \vspace*{40pt}\parbox{4cm}{\udesoftec@city, \today\hrule\strut \footnotesize Ort, Datum} \hfill\parbox{7cm}{\textcolor{white}{Hier wurde im Original unterschrieben}\hrule\strut \footnotesize Unterschrift} \hfill}
+\def\udesoftec@defaultstatutorydeclaration{Ich versichere an Eides statt durch meine Unterschrift, dass ich die vorstehende Arbeit selbst\"andig und ohne fremde Hilfe angefertigt und alle Stellen, die ich w\"ortlich oder ann\"ahernd w\"ortlich aus Ver\"offentlichungen entnommen habe, als solche kenntlich gemacht habe, mich auch keiner anderen als der angegebenen Literatur oder sonstiger Hilfsmittel bedient habe. Die Arbeit hat in dieser oder \"ahnlicher Form noch keiner anderen Pr\"ufungsbeh\"orde vorgelegen.\par{} \vspace*{40pt}\parbox{4cm}{\udesoftec@city, \today\hrule\strut \footnotesize Ort, Datum} \hfill\parbox{7cm}{\textcolor{white}{Hier wurde im Original unterschrieben}\hrule\strut \footnotesize Unterschrift} \hfill}
\def\udesoftec@defaultstatutorydeclarationenprefix{The statutory declaration needs to be in German, so the following excerpt is in German:}
-\newcommand{\statutorydeclaration}{
- \iflanguage{british}{
+\newcommand{\statutorydeclaration}{%
+ \iflanguage{british}{%
\cleardoublepage
\chapter*{\labelstatutorydeclarationheading}
\udesoftec@defaultstatutorydeclarationenprefix
- \selectlanguage{ngerman}
+ \selectlanguage{ngerman}
\chapterWithoutPageBreak{\labelstatutorydeclarationheading}
\udesoftec@defaultstatutorydeclaration
- \selectlanguage{british}
- }{
+ \selectlanguage{british}
+ }{%
\cleardoublepage
\chapter*{\labelstatutorydeclarationheading}
\udesoftec@defaultstatutorydeclaration
-
+
}
}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% http://www.golatex.de/nummerierung-der-fussnoten-durchgehend-im-gesamten-dokument-t2042.html
% change counters for figures, footnotes, etc
-\usepackage{chngcntr}
+\usepackage{chngcntr}
\counterwithout{footnote}{chapter} % count footnotes for whole document, not per chapter
@@ -582,6 +586,7 @@
\usepackage{multicol}
+
%%%%%%%%%%%%%%%%%%%%%%
% title page background
% default
@@ -610,7 +615,7 @@
\renewcommand{\maketitle}{}
\else
\usepackage{wallpaper}
- \newcommand{\udesoftecmaketitle} {
+ \newcommand{\udesoftecmaketitle} {%
\newgeometry{bottom=1cm, inner=0cm,outer=0cm,top=4cm}
\begin{titlepage}
\begin{center}
@@ -623,10 +628,10 @@
\vspace*{20pt}
{\color{documentTitle}\Huge\textbf{\@title}\par}
\vspace*{20pt}
- {\color{documentTitle}\huge\textbf{\@subtitle}\par}
- \vspace*{20pt}
+ {\color{documentTitle}\huge\textbf{\@subtitle}\par}
+ \vspace*{20pt}
{\color{documentTitle}\large\textbf{\udesoftec@entitle}\par}
- \vspace*{50pt}
+ \vspace*{50pt}
\large\udesoftec@institution
\end{center}
\end{minipage}
@@ -634,26 +639,26 @@
\begin{minipage}{.7\linewidth}
\begin{center}
\ifdocumentOmitCC
- \else
+ \else
\udesoftec@labelRespectConfidentiality\par
- \fi
+ \fi
\vspace*{20pt}\Large\@date
\end{center}
\vspace*{30pt}
\end{minipage}
\udesoftec@authorbox\par
\begin{minipage}{.7\linewidth}
- \begin{center}
+ \begin{center}
\vspace*{40pt}
- \large\udesoftec@semester\par
+ \large\udesoftec@semester\par
\end{center}
\end{minipage}%
\end{center}%
\end{titlepage}%
\restoregeometry
}
-
- \newcommand{\udesoftecvawibambergmaketitle}{
+
+ \newcommand{\udesoftecvawibambergmaketitle}{%
\newgeometry{bottom=1cm, left=2cm,right=1cm,top=4cm}
\begin{titlepage}
\begin{center}
@@ -661,22 +666,22 @@
\vspace*{0pt}
\begin{minipage}[30em]{.7\linewidth}
\begin{center}
- {\color{documentTitle}\Huge\textbf{\@title}\par}
- \vspace*{20pt}
- {\color{documentTitle}\huge\textbf{\@subtitle}\par}
- \vspace*{20pt}
+ {\color{documentTitle}\Huge\textbf{\@title}\par}
+ \vspace*{20pt}
+ {\color{documentTitle}\huge\textbf{\@subtitle}\par}
+ \vspace*{20pt}
{\color{documentTitle}\large\textbf{\udesoftec@entitle}\par}
\vspace*{50pt}
\hrule
\vspace*{20pt}
- \Large\textbf{\udesoftec@typeofdoc}\par
+ \Large\textbf{\udesoftec@typeofdoc}\par
\large\udesoftec@institution\par
\vspace*{20pt}
\hrule
\vspace*{20pt}
\end{center}
\end{minipage}
- \vfill
+ \vfill
\begin{minipage}{.7\linewidth}
\begin{center}
\ifdocumentOmitCC
@@ -699,13 +704,13 @@
\end{titlepage}%
\restoregeometry
}
-
+
\renewcommand{\maketitle}{\udesoftecmaketitle}
\iftemplateVawiBamberg
\renewcommand{\maketitle}{\udesoftecvawibambergmaketitle}
\fi
\let\oldmaketitle\maketitle
- \renewcommand{\maketitle}{
+ \renewcommand{\maketitle}{%
\let\oldhbadness\hbadness
\let\oldvbadness\vbadness
\hbadness=10000
@@ -715,6 +720,7 @@
\let\vbadness\oldvbadness
}
\fi
+
%%%% chapterdesign %%%
\addtokomafont{chapter}{\color{chapter}}
\addtokomafont{sectioning}{\color{section}}
@@ -724,7 +730,7 @@
\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{secnumdepth}{3}
\setcounter{tocdepth}{3}
@@ -735,12 +741,12 @@
% source: https://groups.google.com/forum/#!msg/de.comp.text.tex/rVcjvNQI6IA/N-NsfyQzXRwJ
\let\defaultchapterformat\chapterformat
\newcommand{\udesoftec@chapterformat}{%
- \begingroup%
+ \begingroup%
\setlength{\unitlength}{1mm}%
\begin{picture}(20,40)(-2,8)%
\setlength{\fboxsep}{0pt}%
\put(20,15){\color{ChapterHeadingSeperatorLine}\line(1,0){\dimexpr\textwidth-20\unitlength\relax\@gobble}}%
- \put(-6,4.0){
+ \put(-6,4.0){%
\makebox(20,20)[r]{%
\fontsize{19\unitlength}{23\unitlength}\selectfont\color{ChapterHeadingBigChapterNumber}\thechapter
}%
@@ -766,6 +772,7 @@
\let\clearpage\par%
\let\appendix\par%
\fi
+
\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
@@ -795,7 +802,7 @@
\classdebug{using headline for booklayout}
\automark[section]{chapter}
- \defpagestyle{chapter}{
+ \defpagestyle{chapter}{%
(0pt,0pt)
{\pagemarkBox{\pagemark}{l}\hfill}
{\hfill\pagemarkBox{\pagemark}{r}}
@@ -811,7 +818,7 @@
\rohead[]{\pagemarkBox{\pagemark}{r}}
\classdebug{using headline for screenlayout}
\automark[chapter]{chapter}
- \defpagestyle{chapter}{
+ \defpagestyle{chapter}{%
(0pt,0pt)
{\hfill\pagemarkBox{\pagemark}{r}}
{\hfill\pagemarkBox{\pagemark}{r}}
@@ -826,10 +833,10 @@
%%%%%%%%%%%%%%%%%%%%%%
%%%% custom pagemark %%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\pagemarkBox}[2] {
+\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(-.55,-5.05) {
+ \begin{picture}(50,0)
+ \put(-.55,-5.05) {%
\put(-2.8,.3){%these relate box to text
\color{PagemarkBackground}\rule{56.7pt}{16pt}}%
\put(5,1){%these relate box to text
@@ -850,14 +857,14 @@
% to adjust for regular printing (e.g. use in a folder), see below "geometry"
\usepackage[includehead=false,includefoot=false]{geometry}
\iftemplateUseBookLayout
- \KOMAoptions{twoside=true}
- \KOMAoptions{BCOR=12mm,DIV=10} % for helvetica
+ \KOMAoptions{twoside=true}
+ \KOMAoptions{BCOR=12mm,DIV=10} % for helvetica
\else
\KOMAoptions{twoside=false}
- \KOMAoptions{BCOR=0mm,DIV=10} % for helvetica
+ \KOMAoptions{BCOR=0mm,DIV=10} % for helvetica
\fi
-\renewcommand*\chapterheadstartvskip{}
+\renewcommand*\chapterheadstartvskip{}
\iffallBackToBibtex
\else
@@ -875,14 +882,15 @@
\renewcommand*{\marginfont}[1]{\scriptsize#1}
-\providecommand{\marginalText}[2][]{
+\providecommand{\marginalText}[2][]{%
\message{LaTeX Warning: \noexpand\marginalText is deprecated, use \noexpand\marginnote on input line \the\inputlineno }
\marginnote[#1]{#2}
}
-\providecommand{\marginline}[2][]{
+\providecommand{\marginline}[2][]{%
\message{LaTeX Warning: \noexpand\marginline is deprecated, use \noexpand\marginnote on input line \the\inputlineno }
\marginnote[#1]{#2}
}
+
%%%%%%%%%%%%%%%%
% allow footnotes in minipage
% from http://stackoverflow.com/questions/3126082/store-a-text-string-in-latex-and-then-add-other-text-to-it-concatenate
@@ -891,16 +899,17 @@
\stepcounter{footnotesinthisminipage}\addtocounter{footnotesinthisminipage}{-1} % initialize counter to avoid errors
\newcommand{\footnoteNumberInMinipage}{\stepcounter{footnotesinthisminipage}\stepcounter{footnote}\footnotemark[\value{footnote}]}
\newcommand{\footnoteTextAfterMinipage}[1]{%
-\addtocounter{footnotesinthisminipage}{-1}%decrease
+\addtocounter{footnotesinthisminipage}{-1}%decrease
\addtocounter{footnote}{-\value{footnotesinthisminipage}}%set footnote counter backwards for the number of footnotes
\footnotetext[\value{footnote}]{#1}%output footnotetext
\addtocounter{footnote}{\value{footnotesinthisminipage}}%reset footnote counter to real value
}%
\newcommand{\footnoteCmdForInsideMinipage}[1]{%
-\ClassError{udesoftec}{Warning: \protect\footnote\space in minipages not implemented, use \protect\footnoteNumberInMinipage and \protect\footnoteTextAfterMinipage instead}%
+\ClassError{udesoftec}{Warning: \protect\footnote\space{}in minipages not implemented, use \protect\footnoteNumberInMinipage and \protect\footnoteTextAfterMinipage instead}%
%\footnoteNumberInMinipage
%\let\executeThisAfterEndOfMinipage aloa
}%
+
%%%%%%%%%%%%%%%%%%%%%%%%%
% have quote boxes with big quotation marks
% big quotation marks based on, reduced code and used mdframed
@@ -978,9 +987,9 @@
}{\end{mdframed}}
\newcommand{\parExample}[2][!]{%
-\ifx!#1{
+\ifx!#1{%
\parExampleWithHeading{Beispiel:}{#2}
-}\else{
+}\else{%
\parExampleWithHeading{Beispiel für #1:}{#2}
}\fi
}
@@ -1037,14 +1046,15 @@ colorinlistoftodos
\providecommand{\todoinline}[1]{\inlinetodo{#1}}
\let\defaultListoftodos\listoftodos
- \renewcommand{\listoftodos}{
+ \renewcommand{\listoftodos}{%
\defaultListoftodos
}
-
+
\ifdocumentUsedTodos
\listoftodos
\fi
\fi
+
%%%% hyperref %%%%%%%%
%% special: hyperref needs to be loaded last! (exception hycap)
%% purpose: make internal and external links working and colored
@@ -1079,7 +1089,7 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h
\makeglossaries
\newglossarystyle{myAcronymStyle}{%
% put the glossary in the itemize environment:
-\renewenvironment{theglossary}{\begin{description}[leftmargin=1.5cm,style=sameline]}{\end{description}}%
+\renewenvironment{theglossary}{\begin{description}[leftmargin=2.5cm,style=sameline]}{\end{description}}%
% have nothing after \begin{theglossary}:
\renewcommand*{\glossaryheader}{}%
% have nothing between glossary groups:
@@ -1111,11 +1121,7 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h
\else
\usepackage{udesoftec-biblatex}
\AtEndDocument{%
- \let\defaultchaptermarkformat\chaptermarkformat%
- \renewcommand*{\chaptermarksimple}{}
- \let\chaptermarkformat\chaptermarksimple%
\printbibliography[heading=udesoftec]%
- \let\chaptermarkformat\defaultchaptermarkformat%
}
\fi