diff options
author | Karl Berry <karl@freefriends.org> | 2016-08-16 21:47:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-08-16 21:47:33 +0000 |
commit | 54563336da5800024cf4ec710295814020413f5b (patch) | |
tree | b82ff1549c230e74a9840663f19a9273034923ed /Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls | |
parent | e2352a95300f539f3313c8f28407251c26caa3cf (diff) |
udesoftec (16aug16)
git-svn-id: svn://tug.org/texlive/trunk@41872 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.cls | 67 |
1 files changed, 44 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls b/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls index 60f6028ada8..6fe05b2f1b3 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 -%% 2015/09/04 v1.5.2 udesoftec +%% 2016/08/15 v1.5.5 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,7 @@ % http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf \NeedsTeXFormat{LaTeX2e}% -\ProvidesClass{udesoftec}[2015/09/04 v1.5.2 udesoftec.cls Thesis class and bibstyle for UDE SOFTEC]% +\ProvidesClass{udesoftec}[2016/08/15 v1.5.5 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{ @@ -195,8 +195,15 @@ \fi \else% \fi% -\DeclareOption{bibtex} {\fallBackToBibtextrue} -\DeclareOption{biber} {\fallBackToBibtexfalse} +\def\udesoftec@bblengine{BibTeX} +\DeclareOption{bibtex} { + \fallBackToBibtextrue + \def\udesoftec@bblengine{BibTeX} +} +\DeclareOption{biber} { + \fallBackToBibtexfalse + \def\udesoftec@bblengine{BibLaTeX/Biber} +} \DeclareOption{de} {\primaryDocumentLanguageGermantrue} \DeclareOption{en} {\primaryDocumentLanguageGermanfalse} \DeclareOption{omit-lot} {\documentOmitLOTtrue} @@ -260,12 +267,12 @@ \labelPreTopic{zum Thema} \labelRespectConfidentiality{(Sperrvermerk beachten)} \academicfield{Wirtschaftsinformatik} -\institution{Vorgelegt der Fakult\"at f\"ur Wirtschaftswissenschaften\par der Universit\"at Duisburg-Essen} -\semester{Wintersemester 2015/2016, 8. Fachsemester \udesoftec@academicfield} +\institution{Vorgelegt der Fakult\"at f\"ur Wirtschaftswissenschaften der\par Universit\"at Duisburg-Essen} +\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} +\udesoftecversion{} (with \udesoftec@bblengine)} \authorbox{ \begin{tabularx}{.7\linewidth}{ll} @@ -286,15 +293,15 @@ \abstract{\udesoftec@defaultabstracten} \entitle{} \abstractEn{} - \typeofdoc{Master Thesis} + \typeofdoc{Masters Thesis} \labelPreTopic{about the topic} \labelRespectConfidentiality{(Adhere confidentially clause --- Sperrvermerk beachten)} \academicfield{Business Information Systems} - \institution{Presented to the Faculty of Economics and Business Administration\par of University of Duisburg-Essen} - \semester{Winter semester 2015/2016, 8th Semester in - \udesoftec@academicfield} + \institution{Presented to the Faculty of Economics and Business Administration of\par University of Duisburg-Essen} + \semester{\udesoftec@academicfield{} -- Summer semester 2016} \confidentialitySource{Name of Company which wants the statutory declaration} - \date{Version: \today} + \date{Document version: \today \linebreak Template version: +\udesoftecversion{} (with \udesoftec@bblengine)} \authorbox{ \begin{tabularx}{.7\linewidth}{ll} Author:&Max Mustermann\\ @@ -326,7 +333,8 @@ %%%% microtype %%%%%% % 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 +% purpose-de: optischen Randausgleich verwenden. Beispiele siehe Paket-Doku +% source: http://www.ctan.org/pkg/microtype \usepackage{microtype} %%%%%%%%%%%%%%%%%%%%%% @@ -345,8 +353,9 @@ %%%% l18n %%%%%%%%%%%%% % purpose: localization and utf-8 config % babel has primary language last -\usepackage[\udesoftec@documentLanguage]{babel} \usepackage[utf8]{inputenc} +\usepackage[\udesoftec@documentLanguage]{babel} +\usepackage[autostyle,english=british,german=quotes]{csquotes} \usepackage{hyphenat} % helps with \nohyphens command, which allows to remove hypens from quotes. %%%%%%%%%%%%%%%%%%%%%% @@ -724,7 +733,7 @@ % 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 \let\defaultchapterformat\chapterformat -\renewcommand{\chapterformat}{% +\newcommand{\udesoftec@chapterformat}{% \begingroup% \setlength{\unitlength}{1mm}% \begin{picture}(20,40)(-2,8)% @@ -747,6 +756,8 @@ \end{picture} % <-- Leerzeichen ist hier beabsichtigt! \endgroup } + +\let\chapterformat\udesoftec@chapterformat %%%%%%%%%%%%%%%%%%%%%% \ifdocumentOmitPageBreaks \let\chapterformat\defaultchapterformat @@ -902,23 +913,27 @@ innerrightmargin=\udesoftec@outerboxmargin,% innerbottommargin=2ex,% } -\usepackage{csquotes} \newcommand*\quotefont{\fontfamily{LinuxLibertineT-LF}} % selects Libertine as the quote font %\newcommand*\quotefont{\normalfont\fontfamily{\sfdefault}} % 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 \providecommand{\pictureopenquote}{\tikz[remember picture,overlay,xshift=-3ex,yshift=-.5] \node (OQ) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont\textooquote};} -\providecommand{\pictureclosequote}{\tikz[remember picture,overlay,xshift=4ex,yshift=2ex] \node (CQ) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont\textcoquote};} +%\providecommand{\pictureclosequote}{\tikz[remember picture,overlay,xshift=4ex,yshift=2ex] \node (CQ) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont\textcoquote};} +\providecommand{\pictureopenquoteen}{\tikz[remember picture,overlay,xshift=-4ex,yshift=-2.5ex] \node (OQ) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont\textooquote};} -\providecommand{\pictureopenquoteen}{\tikz[remember picture,overlay,xshift=-3ex,yshift=-1ex] \node (OQ) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont\textooquote};} -\providecommand{\pictureclosequoteen}{\tikz[remember picture,overlay,xshift=4ex,yshift=1.5ex] \node (CQ) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont\textcoquote};} +% +%\providecommand{\pictureopenquoteen}{% +%\tikz[remember picture,overlay,xshift=-4ex,yshift=-2.7ex] \node (OQ1) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont\textooquote};% +%\tikz[remember picture,overlay,xshift=-2ex,yshift=-2.5ex] \node (OQ2) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont\textcoquote};% +%} +%\providecommand{\pictureclosequoteen}{\tikz[remember picture,overlay,xshift=4ex,yshift=1.5ex] \node (CQ) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont\textcoquote};} \newenvironment{citequoteparenv}{% \mdfsetup{% innerleftmargin=6ex,% - innerrightmargin=6ex,% + innerrightmargin=2ex,% backgroundcolor=DocumentBright2,% linecolor=DocumentMedium2,% linewidth=.5pt, @@ -927,7 +942,6 @@ \begin{mdframed}% \iflanguage{ngerman}{\pictureopenquote}{\pictureopenquoteen}% }{ - \iflanguage{ngerman}{\pictureclosequote}{\pictureclosequoteen} \end{mdframed}% } \newcommand{\citequotepar}[3][]{% @@ -936,6 +950,12 @@ \par\hfill\small\cite[#1]{#2}% \end{citequoteparenv}% } +\newcommand{\citequoteparnoquote}[3][]{% + \begin{citequoteparenv}% + \sloppy{\small\nohyphens{#3}}% + \par\hfill\small\cite[#1]{#2}% + \end{citequoteparenv}% +} \newenvironment{exampleBox}[1][]{% \mdfsetup{% frametitle={% @@ -1168,11 +1188,12 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h \else \usepackage{udesoftec-biblatex} \AtEndDocument{% - \printbibliography + \printbibliography[heading=udesoftec]% } \fi -\usepackage[listings]{scrhack} +% conflict with texlive2016? +% \usepackage[listings]{scrhack} % 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{}}% |