diff options
author | Karl Berry <karl@freefriends.org> | 2014-04-30 21:18:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-04-30 21:18:27 +0000 |
commit | dd46297c9435a2d46d4cfa54a70052bebeb0035c (patch) | |
tree | 37dda9e8e57b8b7e3d09849959130884228bca92 /Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls | |
parent | 773cdd4c2f87f3572aa1d61eee372767d3d291bd (diff) |
udesoftec (30apr14)
git-svn-id: svn://tug.org/texlive/trunk@33769 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 | 566 |
1 files changed, 236 insertions, 330 deletions
diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls b/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls index 301d275ca78..9dc536efc04 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 2014 J. Peter M. Schuler -%% 2014/04/14 v1.3.6 udesoftec +%% 2014/04/30 v1.3.7 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,14 @@ % and % http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf \NeedsTeXFormat{LaTeX2e}% -\ProvidesClass{udesoftec}[2014/04/14 v1.3.6 Thesis class and bibstyle for UDE SOFTEC]% +\ProvidesClass{udesoftec}[2014/04/30 v1.3.7 Thesis class and bibstyle for UDE SOFTEC]% + +\LoadClass[% + twoside=true, + headings=openright, % same as documentclassoption openany/openright + numbers=noenddot, % section numbering without dot + bibliography=totoc,index=totoc,listof=totoc, % put everything relevant in toc + ]{scrbook} %%%% nag %%%%%%%%%%%%% % purpose: identifies deprecated code and suggests better pckgs @@ -47,15 +54,6 @@ %%%%%%%%%%%%%%%%%%%%%% -\LoadClass[% - %titlepage=true, - twoside=true, - headings=openright, % same as documentclassoption openany/openright - numbers=noenddot, % section numbering without dot - bibliography=totoc,index=totoc,listof=totoc, % put everything relevant in toc -% headinclude=false, % changes auto-margin-calc to exclude headers. makes sense -% footinclude=false, % if the header or footer uses a sepline - ]{scrbook} \KOMAoptions{ 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) } @@ -71,10 +69,9 @@ \newif\ifdocumentIsProposal \newif\iftemplateUseSansSerifFont \newif\iftemplateUseBookLayout -\newif\iftemplateFakeBookLayout \newif\iftemplateAddChapterToFigureNumbering \newif\iftemplateUseCustomMaketitle -\newif\ifdocumentHasConfidentialityClause +\newif\ifdocumentOmitCC \newif\ifprimaryDocumentLanguageGerman \newif\iftemplateUseColorfulLinks @@ -90,69 +87,75 @@ \newif\ifdocumentOmitTodos \newif\ifdocumentUsedTodos -\newif\iftemplateDocumentLayoutChoosen -\templateDocumentLayoutChoosenfalse %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% all default values and the options %%%%% \documentIsFinalfalse \documentIsProposalfalse -\DeclareOption{draft}{\documentIsFinalfalse} -\DeclareOption{final}{\documentIsFinaltrue} \documentOmitLOTfalse \documentOmitSDfalse \documentOmitLOFfalse \documentOmitLOAfalse \documentOmitTOCfalse \documentOmitTodosfalse +\documentOmitCCtrue \documentUsedTodosfalse -\DeclareOption{omit-lot}{\documentOmitLOTtrue} -\DeclareOption{omit-lof}{\documentOmitLOFtrue} -\DeclareOption{omit-loa}{\documentOmitLOAtrue} -\DeclareOption{omit-toc}{\documentOmitTOCtrue} -\DeclareOption{omit-sd}{\documentOmitSDtrue} -\DeclareOption{omit-todos}{\documentOmitTodostrue} +\templateUseColorfulLinkstrue +\templateUseSansSerifFonttrue +\templateUseBookLayoutfalse +\templateVawifalse +\templateVawiEssenfalse +\templateVawiBambergfalse +\templateAddChapterToFigureNumberingfalse +\templateUseCustomMaketitletrue +\primaryDocumentLanguageGermantrue +\bibliographystyle{udesoftec} + +\DeclareOption{draft} {\documentIsFinalfalse} +\DeclareOption{final} {\documentIsFinaltrue} +\DeclareOption{de} {\primaryDocumentLanguageGermantrue} +\DeclareOption{en} {\primaryDocumentLanguageGermanfalse} +\DeclareOption{omit-lot} {\documentOmitLOTtrue} +\DeclareOption{omit-lof} {\documentOmitLOFtrue} +\DeclareOption{omit-loa} {\documentOmitLOAtrue} +\DeclareOption{omit-toc} {\documentOmitTOCtrue} +\DeclareOption{omit-sd} {\documentOmitSDtrue} +\DeclareOption{omit-todos} {\documentOmitTodostrue} +\DeclareOption{confidential}{\documentOmitCCfalse} \DeclareOption{proposal}{ -\documentIsProposaltrue -\documentOmitLOTtrue -\documentOmitSDtrue -\documentOmitLOFtrue -\documentOmitLOAtrue -\documentOmitTOCtrue -\documentOmitTodosfalse + \documentIsProposaltrue + \documentOmitLOTtrue + \documentOmitSDtrue + \documentOmitLOFtrue + \documentOmitLOAtrue + \documentOmitTOCtrue + \documentOmitTodosfalse } -\templateFakeBookLayoutfalse -\templateUseColorfulLinkstrue -\templateUseSansSerifFonttrue -\templateUseBookLayoutfalse -\templateDocumentLayoutChoosentrue - +\ifdocumentIsFinal + \ifdocumentIsProposal + \documentOmitTodostrue + \else + \documentOmitLOTfalse + \documentOmitLOFfalse + \documentOmitLOAfalse + \documentOmitTOCfalse + \documentOmitTodostrue + \fi +\else% +\fi% + \DeclareOption{printlayout}{ - \templateFakeBookLayoutfalse \templateUseColorfulLinksfalse - \templateUseSansSerifFontfalse - \templateUseBookLayouttrue - \templateDocumentLayoutChoosentrue + \templateUseSansSerifFontfalse + \templateUseBookLayouttrue } \DeclareOption{screenlayout}{ - \templateFakeBookLayoutfalse \templateUseColorfulLinkstrue \templateUseSansSerifFonttrue \templateUseBookLayoutfalse - \templateDocumentLayoutChoosentrue -} -\DeclareOption{screenwithprintpaginglayout}{ - \templateUseBookLayoutfalse - \templateUseSansSerifFonttrue - \templateUseColorfulLinkstrue - \templateFakeBookLayouttrue - \templateDocumentLayoutChoosentrue } -\templateVawifalse -\templateVawiEssenfalse -\templateVawiBambergfalse \DeclareOption{vawiessen}{ \templateVawitrue \templateVawiEssentrue @@ -161,43 +164,52 @@ \templateVawitrue \templateVawiBambergtrue } -\DeclareOption{confidential}{\documentHasConfidentialityClausetrue} \DeclareOption*{\ClassWarning{udesoftec}{Unknown option \CurrentOption}} -\templateAddChapterToFigureNumberingfalse -\templateUseCustomMaketitletrue -\documentHasConfidentialityClausefalse -\bibliographystyle{udesoftec} +%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%% +\ProcessOptions\relax + +%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%% -\primaryDocumentLanguageGermantrue -\DeclareOption{de}{\primaryDocumentLanguageGermantrue} -\DeclareOption{en}{\primaryDocumentLanguageGermanfalse} +%%%%%%%%%%%%%%%%%%%%%% +\def \udesoftec@templatePageMarkPrefix {} % might be something like "S. " + +%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%% +\newcommand{\city}[1]{\def\udesoftec@city{#1}} +\newcommand{\typeofdoc}[1]{\def\udesoftec@typeofdoc{#1}} +\newcommand{\labelPreTopic}[1]{\def\udesoftec@labelPreTopic{#1}} +\newcommand{\labelRespectConfidentiality}[1]{\def\udesoftec@labelRespectConfidentiality{#1}} +\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{\authorbox}[1]{\def\udesoftec@authorbox{#1}} + +%%%%%%%%%%%%%%%%%%%%%% %%%% labels %%%% \title{Komplexer Titel einer Abschlussarbeit f\"ur ein Dokument} \author{Max Mustermann} -\newcommand{\city}[1]{\def \udesoftec@city{#1}} -\def \udesoftec@city{Essen} -\newcommand{\typeofdoc}[1]{\def \udesoftec@typeofdoc{#1}} +\city{Essen} \typeofdoc{Masterarbeit} -\newcommand{\labelPreTopic}[1]{\def \udesoftec@labelPreTopic{#1}} \labelPreTopic{zum Thema} -\newcommand{\labelRespectConfidentiality}[1]{\def \udesoftec@labelRespectConfidentiality{#1}} \labelRespectConfidentiality{(Sperrvermerk beachten)} -\newcommand{\academicfield}[1]{\def \udesoftec@academicfield{#1}} \academicfield{Wirtschaftsinformatik} -\newcommand{\institution}[1]{\def \udesoftec@institution{#1}} \institution{Vorgelegt der Fakult\"at f\"ur Wirtschaftswissenschaften\par der Universit\"at Duisburg-Essen} -\newcommand{\semester}[1]{\def \udesoftec@semester{#1}} \semester{Wintersemester 2011/2012, 8. Fachsemester \academicfield} -\newcommand{\entitle}[1]{\def \udesoftec@entitle{#1}} \entitle{Englischer Titel der Arbeit} -\newcommand{\confidentialitySource}[1]{\def \udesoftec@confidentialitySource{#1}} \confidentialitySource{Name der Firma, die auf die Vertraulichkeitserkl\"arung besteht} \date{Version: \today} -\newcommand{\authorbox}[1]{\def \udesoftec@authorbox{#1}} \authorbox{ \begin{tabularx}{.7\linewidth}{ll} von:&Max Mustermann\\ @@ -211,8 +223,15 @@ \\ \end{tabularx} } - -\def \udesoftec@templatePageMarkPrefix {} % might be something like "S. " +\newcommand{\confidentialityclausegerman}{ + 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. + + Dieser Sperrvermerk gilt f\"ur die n\"achsten 2 Jahre. Die sich aus diesem Sperrvermerk ergebenden Einschr\"ankungen entfallen nach Ablauf dieses Zeitraums. +} +\newcommand{\confidentialityclause}{ + \chapter*{Sperrvermerk} + \confidentialityclausegerman} + \newcommand{\statutorydeclarationheading}{ \chapter*{Eidesstattliche Versicherung} @@ -223,7 +242,7 @@ Ich versichere an Eides statt durch meine Unterschrift, dass ich die vorstehende 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 ähnlicher Form noch keiner anderen +bedient habe. Die Arbeit hat in dieser oder \"ahnlicher Form noch keiner anderen Pr\"ufungsbeh\"orde vorgelegen. @@ -232,27 +251,96 @@ Pr\"ufungsbeh\"orde vorgelegen. \parbox{7cm}{\textcolor{white}{Hier wurde im Original unterschrieben}\hrule\strut \footnotesize Unterschrift} \hfill } +\newcommand{\chapterHeading}[1]{ + \let\oldcleardoublepage\cleardoublepage + \let\oldclearpage\clearpage + \let\clearpage\relax + \let\cleardoublepage\relax + + \let\backupskip\chapterheadstartvskip + \renewcommand*\chapterheadstartvskip{\vspace*{-\topskip}\vspace*{10pt}} + + \chapter*{#1} + \let\cleardoublepage\oldcleardoublepage + \let\clearpage\oldclearpage + \let\chapterheadstartvskip\backupskip +} -\ProcessOptions\relax +\ifprimaryDocumentLanguageGerman +\else -\ifdocumentIsFinal - \ifdocumentIsProposal - \documentOmitTodostrue - \else -\documentOmitLOTfalse -\documentOmitLOFfalse -\documentOmitLOAfalse -\documentOmitTOCfalse -\documentOmitTodostrue - \fi -\else% -\fi% +\renewcommand*{\confidentialityclause}{ + \chapter*{Confidentially Clause} + + + 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. + + This confidentially clause is valid for the next 2 years. Any limitations resulting from this confidentially clause do not apply after this period. + + \chapterHeading{Sperrvermerk} + + \confidentialityclausegerman +} +\renewcommand*{\statutorydeclarationheading}{ +\chapter*{Statutory Declaration} +The statutory declaration needs to be in german, so the following excerpt is in german: - -\iftemplateDocumentLayoutChoosen +\section*{Eidesstattliche Versicherung} +} +\typeofdoc{Master 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 2011/2012, 8th Semester in \academicfield} +\confidentialitySource{Name der Firma, die auf die Vertraulichkeitserkl\"arung besteht} +\date{Version: \today} +\authorbox{ +\begin{tabularx}{.7\linewidth}{ll} + Author:&Max Mustermann\\ + &Musterstrasse 123\\ + &12345 Musterstadt\\ + \\ + Examiner:&Prof. Dr. Stefan Eicker\\ + &Prof. Dr. John Doe\\ + \\ + Supervisor:&Dipl.-Wirt.-Inf Some Body\\ + \\ +\end{tabularx} +} +\fi + +\ifprimaryDocumentLanguageGerman + \def\@documentLanguage{english,ngerman} % all used languages, primary LAST +\else + \def\@documentLanguage{ngerman,english} +\fi + + +\def\udesoftec@templateTitlePageBackground{udesoftec-cover-ude-de} + +\ifprimaryDocumentLanguageGerman +\else + \def\udesoftec@templateTitlePageBackground{udesoftec-cover-ude-en} +\fi + +\iftemplateVawiBamberg + \def\udesoftec@templateTitlePageBackground{udesoftec-cover-uba} +\fi + +\iftemplateVawiEssen + \institution{Im Virtuellen Weiterbildungsstudiengang Wirtschaftsinformatik\par der Universit\"at Duisburg-Essen} + \labelPreTopic{} +\fi +\iftemplateVawiBamberg + \institution{Im Virtuellen Weiterbildungsstudiengang Wirtschaftsinformatik} + \labelPreTopic{} +\fi + +\iftemplateUseBookLayout + \KOMAoptions{twoside=true} \else -\ClassWarning{udesoftec}{No layout choosen. Use printlayout, screenlayout or screenwithprintpaginglayout.} -\ClassWarning{udesoftec}{Falling back to printlayout} + \KOMAoptions{twoside=false} \fi %%%% xcolor %%%%%%%%%% @@ -344,77 +432,10 @@ Pr\"ufungsbeh\"orde vorgelegen. \fi -\ifprimaryDocumentLanguageGerman -\else - -\renewcommand*{\statutorydeclarationheading}{ -\chapter*{Statutory Declaration} -The statutory declaration needs to be in german, so the following excerpt is in german: - -\section*{Eidesstattliche Versicherung} -} -\typeofdoc{Master Thesis} -\labelPreTopic{about the topic} -\labelRespectConfidentiality{(Sperrvermerk beachten --- adhere confidentially clause)} -\academicfield{Business Information Systems} -\institution{Presented to the Faculty of Economics and Business Administration\par of University of Duisburg-Essen} -\semester{Winter semester 2011/2012, 8th Semester in \academicfield} -\confidentialitySource{Name der Firma, die auf die Vertraulichkeitserkl\"arung besteht} -\date{Version: \today} -\authorbox{ -\begin{tabularx}{.7\linewidth}{ll} - Author:&Max Mustermann\\ - &Musterstrasse 123\\ - &12345 Musterstadt\\ - \\ - Examiner:&Prof. Dr. Stefan Eicker\\ - &Prof. Dr. John Doe\\ - \\ - Supervisor:&Dipl.-Wirt.-Inf Some Body\\ - \\ -\end{tabularx} -} -\fi - -\ifprimaryDocumentLanguageGerman - \def \@documentLanguage{english,ngerman} % all used languages, primary LAST -\else - \def\@documentLanguage{ngerman,english} -\fi - - -\ifprimaryDocumentLanguageGerman - \def \udesoftec@templateTitlePageBackground{udesoftec-cover-ude-de} -\else - \def \udesoftec@templateTitlePageBackground{udesoftec-cover-ude-en} -\fi - -\iftemplateVawiBamberg - \def \udesoftec@templateTitlePageBackground{udesoftec-cover-uba} -\fi - -\iftemplateVawiEssen - \def \udesoftec@institutionDefault{Im Virtuellen Weiterbildungsstudiengang Wirtschaftsinformatik\par der Universit\"at Duisburg-Essen} - \institution{\udesoftec@institutionDefault} - \labelPreTopic{} -\fi -\iftemplateVawiBamberg - \def \udesoftec@institutionDefault{Im Virtuellen Weiterbildungsstudiengang Wirtschaftsinformatik} - \institution{\institutionDefault} - \labelPreTopic{} -\fi - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\iftemplateUseBookLayout - \KOMAoptions{twoside=true} -\else - \KOMAoptions{twoside=false} -\fi -\iftemplateFakeBookLayout - \KOMAoptions{twoside=semi} -\fi + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%55 % http://www.golatex.de/nummerierung-der-fussnoten-durchgehend-im-gesamten-dokument-t2042.html % change counters for figures, footnotes, etc @@ -447,19 +468,6 @@ The statutory declaration needs to be in german, so the following excerpt is in \setkomafont{caption}{\normalfont\normalcolor\scriptsize} %%%%%%%%%%%%%%%%%%%%%% -%%%% page layout %%%%% -% purpose: set page margins, textbody size etc -% usage: typearea[BCOR]{DIV} -% DIV is auto-calculation of all margins in depencedy of font size -% 10pt = DIV 8;11pt = DIV 10;12pt = DIV 12 -% BCOR is additional inner margin (binding correction) -% special: BCOR adds inner margin and reduces text space. As the default margin sum seems fine we use geometry instead -% to adjust for regular printing (e.g. use in a folder), see below "geometry" -\iftemplateUseSansSerifFont - \typearea[0mm]{10} % for helvetica -\else - \typearea[0mm]{8} % for default latex font -\fi %%%%%%%%%%%%%%%%%%%%%% %%%% setspacing %%%%%% % purpose: give options for changing line spacing \doublespacing, \singlespacing, @@ -696,7 +704,7 @@ colorinlistoftodos % 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 +\begingroup% damit \unitlength-Aenderung lokal bleibt \setlength{\unitlength}{1mm}% \begin{picture}(20,40)(0,5)% \setlength{\fboxsep}{0pt}% @@ -794,47 +802,27 @@ colorinlistoftodos \end{picture} } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - % 8pt lmodern - % top=37.13mm,bottom=69.27mm - % left=26.25mm,right=52.5mm - % inner=26.25mm,outer=52.5mm - % 10pt helvetica - % 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} -\setlength\imagewidth{373.44249pt} -\def\imageSizeAdjust{0mm} + +%%%% page layout %%%%% +% purpose: set page margins, textbody size etc +% usage: typearea[BCOR]{DIV} +% DIV is auto-calculation of all margins in depencedy of font size +% 10pt = DIV 8;11pt = DIV 10;12pt = DIV 12 +% BCOR is additional inner margin (binding correction) +% special: BCOR adds inner margin and reduces text space. As the default margin sum seems fine we use geometry instead +% to adjust for regular printing (e.g. use in a folder), see below "geometry" +\usepackage[includehead=false,includefoot=false]{geometry} \iftemplateUseBookLayout - \iftemplateUseSansSerifFont \ClassWarning{udesoftec}{BookLayout with sans serif font makes no sense} - \else - \classdebug{print - book layout with serif font} - \usepackage[includehead=false,includefoot=false,top=37.13mm,bottom=69.27mm,inner=26.25mm,outer=52.5mm]{geometry} - \fi + \KOMAoptions{BCOR=12mm,DIV=calc} % for helvetica \else - \iftemplateUseSansSerifFont - \iftemplateFakeBookLayout - \classdebug{screenfakebook - oneside layout with sans serif font and book paging} - \usepackage[includemp=false,includehead=false,includefoot=false,asymmetric,top=37.13mm,bottom=69.29mm,left=30.00mm,right=52.50mm]{geometry} - \def\imageSizeAdjust{3.74995mm} - \else - \classdebug{screen - oneside layout with sans serif font} - \usepackage[includemp=false,includehead=false,includefoot=false,top=37.13mm,bottom=69.27mm,left=29.50mm,right=52.50mm]{geometry} - \fi - \else - \classdebug{deprecated - screen layout with serif font} - \ClassWarning{udesoftec}{screen layout with serif font makes no sense} - \usepackage[includemp=false,includehead=false,includefoot=false,top=37.13mm,bottom=69.27mm,left=26.25mm,right=52.5mm]{geometry} - \fi + \KOMAoptions{BCOR=0mm,DIV=calc} % for helvetica \fi -\iftemplateUseCustomMaketitle - \usepackage{wallpaper} - \renewcommand{\maketitle}{ +\usepackage{wallpaper} +\newcommand{\udesoftecmaketitle} { + \newgeometry{bottom=1cm, inner=0cm,outer=0cm,top=4cm} \begin{titlepage} @@ -862,9 +850,11 @@ colorinlistoftodos \begin{minipage}{.7\linewidth} \begin{center} - \ifdocumentHasConfidentialityClause - \udesoftec@labelRespectConfidentiality - + \ifdocumentOmitCC + \else + + \udesoftec@labelRespectConfidentiality + \fi \vspace*{20pt}\Large\@date \end{center} @@ -882,9 +872,8 @@ colorinlistoftodos \end{titlepage}% \restoregeometry } - \iftemplateVawiBamberg - \renewcommand{\maketitle}{ + \newcommand{\udesoftecvawibambergmaketitle}{ \newgeometry{bottom=1cm, left=2cm,right=1cm,top=4cm} @@ -918,10 +907,12 @@ colorinlistoftodos \begin{minipage}{.7\linewidth} \begin{center} - \ifdocumentHasConfidentialityClause - \udesoftec@labelRespectConfidentiality - - \fi + \ifdocumentOmitCC + \else + + \udesoftec@labelRespectConfidentiality + + \fi \vspace*{15pt}\Large\@date \end{center} \vspace*{20pt} @@ -938,9 +929,13 @@ colorinlistoftodos \end{center}% \end{titlepage}% \restoregeometry - } -\fi +} + +\renewcommand{\maketitle}{\udesoftecmaketitle} +\iftemplateVawiBamberg + \renewcommand{\maketitle}{\udesoftecvawibambergmaketitle} +\fi \let\oldmaketitle\maketitle \renewcommand{\maketitle}{ @@ -953,7 +948,6 @@ colorinlistoftodos \let\vbadness\oldvbadness } -\fi % !Mode:: "TeX:UTF-8" % special: don't change marginpar, else it will create overfuls with package todonotes @@ -962,78 +956,7 @@ colorinlistoftodos \newcommand{\marginfont}[1]{} \newcommand{\marginnote}[2][]{\marginpar[#1]{#2}} \fi -\iftemplateFakeBookLayout -%redefine marginnote command to obey komas "twoside=semi" -\makeatletter -\long\def\@mn@@@marginnote[#1]#2[#3]{% - \begingroup - \ifmmode\mn@strut\let\@tempa\mn@vadjust\else - \if@inlabel\leavevmode\fi - \ifhmode\mn@strut\let\@tempa\mn@vadjust\else\let\@tempa\mn@vlap\fi - \fi - \@tempa{% - \vbox to\z@{% - \vss - \@mn@margintest - \if@reversemargin\if@tempswa - \@tempswafalse - \else - \@tempswatrue - \fi\fi - \rlap{% - \ifx\@mn@currxpos\relax - \kern\marginnoterightadjust - \if@mn@verbose - \PackageInfo{marginnote}{% - xpos not known,\MessageBreak - using \string\marginnoterightadjust}% - \fi - \else\ifx\@mn@currxpos\@empty - \kern\marginnoterightadjust - \if@mn@verbose - \PackageInfo{marginnote}{% - xpos not known,\MessageBreak - using \string\marginnoterightadjust}% - \fi - \else - \if@mn@verbose - \PackageInfo{marginnote}{% - xpos seems to be \@mn@currxpos,\MessageBreak - \string\marginnoterightadjust - \space ignored}% - \fi - \begingroup - \setlength{\@tempdima}{\@mn@currxpos}% - \kern-\@tempdima - \if@twoside\ifodd\@mn@currpage\relax - \kern\oddsidemargin - \else - \kern\evensidemargin - \fi - \else - \kern\oddsidemargin - \fi - \kern 1in - \endgroup - \fi - \fi - \kern\marginnotetextwidth\kern\marginparsep - \vbox to\z@{\kern\marginnotevadjust\kern #3 - \vbox to\z@{% - \hsize\marginparwidth - \linewidth\hsize - \kern-\parskip - \marginfont\raggedrightmarginnote\strut\hspace{\z@}% - \ignorespaces#2\endgraf - \vss}% - \vss}% - }% - }% - }% - \endgroup% -} -\makeatother -\fi + \renewcommand*{\marginfont}[1]{\scriptsize#1} @@ -1252,45 +1175,28 @@ commentstyle=\color{DocumentMedium0} \AtBeginDocument{ - \pagenumbering{alph} % title page is "a" - internal trick to prevent two pages with same name - \maketitle % Komplett automatisch generiert anhand von Metadaten - \cleardoublepage - %\extratitle % empty sheet after title - %%%%%%%%%%%%%%%%%%%%%%%% VORGEPLÄNKEL %%%%%%%%%%%%%%%%%%%%%%% - \pagenumbering{Roman} % I,II,III,IV... - all pre-content pages are roman upper - \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 -- 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. - - - 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 only to the staff of the 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% - \ifdocumentOmitTOC\else\tableofcontents\fi - \ifdocumentOmitLOF\else\listoffigures\fi - \ifdocumentOmitLOT\else\listoftables\fi - \ifdocumentOmitLOA\else\printacronyms\fi + \pagenumbering{alph} % title page is "a" - internal trick to prevent two pages with same name + \maketitle % Komplett automatisch generiert anhand von Metadaten + \cleardoublepage + \pagenumbering{Roman} % I,II,III,IV... - all pre-content pages are roman upper + + \ifdocumentOmitCC\else\confidentialityclause\fi% + \ifdocumentOmitTOC\else\tableofcontents\fi + \ifdocumentOmitLOF\else\listoffigures\fi + \ifdocumentOmitLOT\else\listoftables\fi + \ifdocumentOmitLOA\else\printacronyms\fi + + \newlength{\imagewidth} + \setlength\imagewidth\linewidth } + \AtEndDocument{ -\ifdocumentUsedTodos - \ifdocumentOmitTodos - \else - \listoftodos - \fi -\fi + \ifdocumentUsedTodos + \ifdocumentOmitTodos + \else + \listoftodos + \fi + \fi -\ifdocumentOmitSD\else\statutorydeclaration\fi + \ifdocumentOmitSD\else\statutorydeclaration\fi } -\setlength\marginparsep{5mm} -\setlength\marginparwidth{40mm} |