summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls')
-rw-r--r--Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls181
1 files changed, 93 insertions, 88 deletions
diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls b/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls
index 6fe05b2f1b3..9d488bf97fb 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-2015 J. Peter M. Schuler
-%% 2016/08/15 v1.5.5 udesoftec
+%% 2017/05/12 v1.6.0 udesoftec
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -39,7 +39,8 @@
% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesClass{udesoftec}[2016/08/15 v1.5.5 udesoftec.cls Thesis class and bibstyle for UDE SOFTEC]%
+\ProvidesClass{udesoftec}[2017/05/12 v1.6.0 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{
@@ -989,87 +990,6 @@
\let\footnote\defaultCmdFootnote%
}
-\usepackage{listings}
-\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
-}
-%default design
-\lstset{%
- frame=single,%
- basicstyle=\fontfamily{\ttdefault}\tiny,%
- breaklines=true,%
- backgroundcolor=\color{DocumentBright0},%
- rulecolor=\color{DocumentMedium0},%
- keywordstyle=\color{DocumentDark1},
- stringstyle=\color{DocumentDark2},
- commentstyle=\color{DocumentMedium0},
- framesep=\udesoftec@outerboxmargin,
- rulesep=0ex,
- numberbychapter=true,
- captionpos=b,
-}
-\lstnewenvironment{lstlistinglatex}[1][]{%
- \lstset{
- language={[LaTeX]TeX},
- breaklines=true,
- moretexcs={\citeauthor,\autoref,\includegraphics,\citet,\citetext,\citealp,\inlinetodo,\todo,\entitle,\authorbox,\city,\typeofdoc,\semester,\confidSource,\confidentialitySource,\academicfield,\institution,\abstract,\abstractEn,\printacronyms},
- morekeywords={figure,document,itemize,enumerate,description,final,omit-todos,tabularx},
- emph={style,leftmargin},
- texcsstyle=*\color{DocumentDark1},
- keywordstyle=\color{DocumentDark3}\textbf,
- emphstyle=\color{DocumentDark4},
- }
- \lstset{#1} %allow options for new listing
-}{}
-% BibTeX definition from
-% http://tex.stackexchange.com/questions/85998/include-bibtex-contents-in-a-listings-block
-\lstdefinelanguage{BibTeX}
- {keywords={%
- @article,@book,@collectedbook,@conference,@electronic,@ieeetranbstctl,%
- @inbook,@incollectedbook,@incollection,@injournal,@inproceedings,%
- @manual,@mastersthesis,@misc,@patent,@periodical,@phdthesis,@preamble,%
- @proceedings,@standard,@string,@techreport,@unpublished,@techstandard%
- },
- comment=[l][\itshape]{@comment},
- sensitive=false,
- }
-\lstnewenvironment{lstlistingbibtex}[1][]{%
- \lstset{
- language={BibTeX},
- breaklines=true,
- emph={style,leftmargin},
- texcsstyle=*\color{DocumentDark1},
- keywordstyle=\color{DocumentDark3}\textbf,
- emphstyle=\color{DocumentDark4},
- }
- \lstset{#1} %allow options for new listing
-}{}
-\def\lstinlinelatex{\lstinline[%
-language={[LaTeX]TeX},
- breaklines=true,
- moretexcs={\citeauthor,\autoref,\includegraphics,\citet,\citetext,\citealp,\inlinetodo,\todo,\entitle,\authorbox,\city,\typeofdoc,\semester,\confidentialitySource,\academicfield,\institution,\abstract,\abstractEn,\printacronyms},
- morekeywords={figure,document,description,itemize,enumerate,final,omit-todos,tabularx},
- texcsstyle=*\color{DocumentDark1},
- keywordstyle=\color{DocumentDark3}\textbf,
-]}
\usepackage[
ngerman,
textsize=tiny,
@@ -1172,9 +1092,9 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h
}
-\AtEndDocument{%
- \printglossary%
-}
+%\AtEndDocument{%
+% \printglossary%
+%}
\newcommand{\figref}[1]{\autoref{fig:#1}}
\newcommand{\eng}[1]{engl.: \emph{\english{#1}}}
\newcommand{\entode}[1]{engl. für \emph{\english{#1}}}
@@ -1193,7 +1113,88 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h
\fi
% conflict with texlive2016?
-% \usepackage[listings]{scrhack}
+%\usepackage[listings]{scrhack}
+\usepackage{listings}
+\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
+}
+%default design
+\lstset{%
+ frame=single,%
+ basicstyle=\fontfamily{\ttdefault}\tiny,%
+ breaklines=true,%
+ backgroundcolor=\color{DocumentBright0},%
+ rulecolor=\color{DocumentMedium0},%
+ keywordstyle=\color{DocumentDark1},
+ stringstyle=\color{DocumentDark2},
+ commentstyle=\color{DocumentMedium0},
+ framesep=\udesoftec@outerboxmargin,
+ rulesep=0ex,
+ numberbychapter=true,
+ captionpos=b,
+}
+\lstnewenvironment{lstlistinglatex}[1][]{%
+ \lstset{
+ language={[LaTeX]TeX},
+ breaklines=true,
+ moretexcs={\citeauthor,\autoref,\includegraphics,\citet,\citetext,\citealp,\inlinetodo,\todo,\entitle,\authorbox,\city,\typeofdoc,\semester,\confidSource,\confidentialitySource,\academicfield,\institution,\abstract,\abstractEn,\printacronyms},
+ morekeywords={figure,document,itemize,enumerate,description,final,omit-todos,tabularx},
+ emph={style,leftmargin},
+ texcsstyle=*\color{DocumentDark1},
+ keywordstyle=\color{DocumentDark3}\textbf,
+ emphstyle=\color{DocumentDark4},
+ }
+ \lstset{#1} %allow options for new listing
+}{}
+% BibTeX definition from
+% http://tex.stackexchange.com/questions/85998/include-bibtex-contents-in-a-listings-block
+\lstdefinelanguage{BibTeX}
+ {keywords={%
+ @article,@book,@collectedbook,@conference,@electronic,@ieeetranbstctl,%
+ @inbook,@incollectedbook,@incollection,@injournal,@inproceedings,%
+ @manual,@mastersthesis,@misc,@patent,@periodical,@phdthesis,@preamble,%
+ @proceedings,@standard,@string,@techreport,@unpublished,@techstandard%
+ },
+ comment=[l][\itshape]{@comment},
+ sensitive=false,
+ }
+\lstnewenvironment{lstlistingbibtex}[1][]{%
+ \lstset{
+ language={BibTeX},
+ breaklines=true,
+ emph={style,leftmargin},
+ texcsstyle=*\color{DocumentDark1},
+ keywordstyle=\color{DocumentDark3}\textbf,
+ emphstyle=\color{DocumentDark4},
+ }
+ \lstset{#1} %allow options for new listing
+}{}
+\def\lstinlinelatex{\lstinline[%
+language={[LaTeX]TeX},
+ breaklines=true,
+ moretexcs={\citeauthor,\autoref,\includegraphics,\citet,\citetext,\citealp,\inlinetodo,\todo,\entitle,\authorbox,\city,\typeofdoc,\semester,\confidentialitySource,\academicfield,\institution,\abstract,\abstractEn,\printacronyms},
+ morekeywords={figure,document,description,itemize,enumerate,final,omit-todos,tabularx},
+ texcsstyle=*\color{DocumentDark1},
+ keywordstyle=\color{DocumentDark3}\textbf,
+]}
% make list of x conditional due to their usage
% http://tex.stackexchange.com/questions/33193/how-to-determine-whether-a-list-of-figures-is-empty
\AtEndEnvironment{figure}{\gdef\udesoftec@usedlistofitems@figure{}}%
@@ -1212,7 +1213,11 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h
\newcommand{\acr}[1]{\gls{#1}\gdef\udesoftec@usedlistofitems@acronyms{}}
\AtEndDocument{\ifdefined\udesoftec@usedlistofitems@acronyms\label{udesoftec:needsloa}\fi}%
-\newcommand{\udesoftecprintacronyms}{\@ifundefined{r@udesoftec:needsloa}{}{\printacronyms[style=myAcronymStyle]}}%
+
+\providecaptionname{ngermen}{\udesoftecAcronymsTitle}{Abkürzungsverzeichnis}%
+\providecaptionname{english}{\udesoftecAcronymsTitle}{Acronyms}%
+\providecaptionname{british}{\udesoftecAcronymsTitle}{Acronyms}%
+\newcommand{\udesoftecprintacronyms}{\@ifundefined{r@udesoftec:needsloa}{}{\printacronyms[style=myAcronymStyle,title=\udesoftecAcronymsTitle]}}%
\AfterEndPreamble{
\udesoftecoverride%