From 1b49b1bc8a4f1240f4fa998121c744c22e70d65b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 14 Aug 2013 22:34:56 +0000 Subject: udesoftec (14aug13) git-svn-id: svn://tug.org/texlive/trunk@31431 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/bibtex/bst/udesoftec/udesoftec.bst | 4 +- Master/texmf-dist/doc/latex/udesoftec/CHANGELOG | 18 + Master/texmf-dist/doc/latex/udesoftec/README | 6 +- Master/texmf-dist/doc/latex/udesoftec/VERSION | 2 +- .../latex/udesoftec/udesoftec-doc-examplebib.bib | 8 +- .../doc/latex/udesoftec/udesoftec-doc.pdf | Bin 228358 -> 467348 bytes .../doc/latex/udesoftec/udesoftec-doc.tex | 92 +++-- .../doc/latex/udesoftec/udesoftec-extra.sty | 39 +++ .../texmf-dist/tex/latex/udesoftec/udesoftec.cls | 369 ++++++++++++++------- 9 files changed, 385 insertions(+), 153 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/udesoftec/udesoftec-extra.sty diff --git a/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst b/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst index b4249c05a43..4ebce9c2a8b 100644 --- a/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst +++ b/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst @@ -1,5 +1,5 @@ %% special citation style which is based on german WIRTSCHAFTSINFORMATIK with some proper adjustments to reality -% last change 2013/06/25 +% last change 2013/08/12 % % most important things: % * do not use crossref - it will be ignored but may raise warnings of not found entries due to wrong order in bibfile @@ -396,7 +396,7 @@ FUNCTION {format.url} FUNCTION {format.urldate} { urldate empty$ { "" } - { "\bblurldate{" * urldate * "}" } + { "\bblurldate{" urldate * "}" * } if$ } diff --git a/Master/texmf-dist/doc/latex/udesoftec/CHANGELOG b/Master/texmf-dist/doc/latex/udesoftec/CHANGELOG index c51e4bfda61..e87d5111994 100644 --- a/Master/texmf-dist/doc/latex/udesoftec/CHANGELOG +++ b/Master/texmf-dist/doc/latex/udesoftec/CHANGELOG @@ -1,3 +1,21 @@ +2013/08/14 +* added udesoftec.tds.zip to support other TeX Collections +* removed problem with umlauts in lstlisting-env +* added (currently emtpy udesoftec-extra.sty, for easier + updating in case of changed behaviour +* improved documentation +* improved \parExample and \citequotepar +* added classoption omit-loa +* added classoption omit-todos +* added \printglossaries, \printacronyms and \listoftodos to + \AtBeginDocument and \AtEndDocument for convenience (i.e. + they aren't necessary in the document anymore) +* made \listoftodos conditional +* correct bibstyle "lastaccessed" format +* added additional sections to manual with more examples +* english cover wasn't found due to wrong filename referenced +* option for confidentially clause now available + 2013/07/09 * added version number * updated cover page line spacing diff --git a/Master/texmf-dist/doc/latex/udesoftec/README b/Master/texmf-dist/doc/latex/udesoftec/README index 20a6ec9f0be..8b6b70a0266 100644 --- a/Master/texmf-dist/doc/latex/udesoftec/README +++ b/Master/texmf-dist/doc/latex/udesoftec/README @@ -2,7 +2,7 @@ ude-softec documentclass and bibstyle Maintainer: J. Peter M. Schuler Copyright: 2013 J. Peter M. Schuler -Version: 2013-07-09 v1.1 udesoftec +Version: 2013-08-14 v1.2 udesoftec License: lppl Topic: dissertation @@ -20,12 +20,14 @@ Description: give sufficient information for everybody familiar with TeX. Installation: + Use the udesoftec.tds.zip or alternatively: udesoftec.bst and udesoftec.cls are installed as always. The files matching udesoftec-cover*.* should be placed next to the - documentclass udesoftec.cls + documentclass udesoftec.cls. e.g.: texmf/tex/latex/udesoftec/udesoftec.cls + texmf/tex/latex/udesoftec/udesoftec-extra.sty texmf/tex/latex/udesoftec/udesoftec-cover-uba.pdf texmf/tex/latex/udesoftec/udesoftec-cover-ude-de.pdf texmf/tex/latex/udesoftec/udesoftec-cover-ude-en.pdf diff --git a/Master/texmf-dist/doc/latex/udesoftec/VERSION b/Master/texmf-dist/doc/latex/udesoftec/VERSION index 9a7a7eb84e1..75d385422b0 100644 --- a/Master/texmf-dist/doc/latex/udesoftec/VERSION +++ b/Master/texmf-dist/doc/latex/udesoftec/VERSION @@ -1 +1 @@ -2013-07-09 v1.1 udesoftec \ No newline at end of file +2013-08-14 v1.2 udesoftec \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc-examplebib.bib b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc-examplebib.bib index 921109f5516..f8c998dfa55 100644 --- a/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc-examplebib.bib +++ b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc-examplebib.bib @@ -59,16 +59,16 @@ isbn = {978-3-540-41371-4} } - @article{Fettke.et.al.2009, author = {Fettke, Peter and Loos, Peter}, year = {2009}, - title = {Morgenstern, Adendstern und Venus - Zum Gebruach der Wörter Referenzmodell und Pattern}, - pages = {540–541}, + title = {Patterns in der Wirtschaftsinformatik: Morgenstern, Adendstern und Venus - Zum Gebrauch der W{\"o}rter {\dq}Referenzmodell{\dq} und {\dq}Pattern{\dq}}, + journal = {WIRTSCHAFTSINFORMATIK}, + pages = {540--541}, volume = {51}, number = {6}, issn = {0937-6429}, - journal = {WIRTSCHAFTSINFORMATIK} + doi = {10.1007/s11576-009-0195-5} } @book{Nielsen.1993, diff --git a/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf index f1ea9f3040c..fd552fe8183 100644 Binary files a/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf and b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.tex b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.tex index b4dde6830cb..f0f2ee2960e 100644 --- a/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.tex +++ b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.tex @@ -1,12 +1,12 @@ % !Mode:: "TeX:UTF-8" -\documentclass[screenlayout,omit-lof,omit-lot,final]{udesoftec} +\documentclass[screenlayout,omit-lof,omit-lot]{udesoftec} \title{Latex-Formatvorlage für Qualifikationsarbeiten} \subtitle{am Lehrstuhl für Wirtschaftsinformatik und Softwaretechnik} \author{Max Mustermann} \def \entitle{[\hyperref[sec:abstract]{English summary available}]} \def \city{Essen} -\def \typeofdoc{} +\def \typeofdoc{Dokumentation zur} \def \labelPreTopic{} \def \institution{Universität Duisburg-Essen} \def \semester{} @@ -26,8 +26,8 @@ This LaTeX package provides a documentclass for use in written theses at the University of Duisburg-Essen, Research Group for Business Informatics and Software Engineering. It is based on pdflatex and bibtex using KOMA-Script and natbib and many other popular packages. The current documentation is only available in german. However the \hyperref[sec:classoptions]{class options in section \ref*{sec:classoptions}} and \hyperref[sec:variables]{configuration variables for the titlepage in section \ref*{sec:variables}} should be quite understandable and the \hyperref[sec:paketlist]{paket listing in the appendix} shows where to look for further information. \section*{Installation} - Install with MikTeX or TeX Live's \verb+tlmgr+.\par - udesoftec.bst and udesoftec.cls are installed as always. The files matching \verb+udesoftec-cover*.*+ should be placed next to the + Install with MikTeX or TeX Live's \lstinline!tlmgr!.\par + udesoftec.bst and udesoftec.cls are installed as always. The files matching \newline\lstinline!udesoftec-cover*.*! should be placed next to the documentclass, e.g.: \begin{itemize} \item texmf/tex/latex/udesoftec/udesoftec.cls @@ -47,7 +47,7 @@ This LaTeX package provides a documentclass for use in written theses at the Uni \newacronym[description={Business-to-Customer, \entode{Unternehmen-zu-Kunde}, beschreibt den Zielmarkt für Transaktionen}]{b2c}{B2C}{Business-to-Customer} \newglossaryentry{Pattern}{name=Pattern, description={TODO:Pattern Definition}} \newglossaryentry{Pattern-Kategorie}{name=Pattern-Kategorie, description={Die Einteilung eines \gls{Pattern} in einem Pattern-Katalog}} -\printacronyms + %%%%%%%%%%%%%%%%%%%%%%%% CONTENT %%%%%%%%%%%%%%%%%%%%%%% \mainmatter @@ -104,9 +104,9 @@ Unter Windows wird ausdrücklich MikTeX empfohlen, da dieses selbständig und On Unter MacOS kann beispielsweise ein minimales TeX Live-System wie \href{http://tug.org/mactex/morepackages.html}{BasicTeX} genutzt werden. Die notwendigen Pakete lassen sich wie folgt installieren: \begin{lstlisting}[language=bash,breaklines=true] -sudo tlmgr install udesoftec chngcntr hyphenat nag footmisc placeins advdate expdlist todonotes type1cm wallpaper marginnote glossaries xfor datatool substr varwidth collection-fontsrecommended +sudo tlmgr install udesoftec chngcntr hyphenat nag footmisc placeins advdate expdlist todonotes type1cm wallpaper marginnote glossaries xfor datatool substr varwidth collection-fontsrecommended tikz mdframed libertine \end{lstlisting} -Sollte es zu Problemen kommen sollten die Fehlermeldungen und die \hyperref[sec:paketlist]{Liste der Pakete im Anhang} genügend Informationen bieten. +Sollte es zu Problemen kommen, sollten die Fehlermeldungen und die \hyperref[sec:paketlist]{Liste der Pakete im Anhang} genügend Informationen bieten. \subsection{Sumatra PDF} \href{http://blog.kowalczyk.info/software/sumatrapdf/download-free-pdf-viewer-de.html}{SumatraPDF} herunterladen (Portable Version genügt, am besten direkt neben die TeXnixCenter.exe legen). @@ -201,8 +201,12 @@ Im TeXnicCenter mit Strg+Alt+R die "`Erstellung Ergebnis"'-Ansicht anzeigen lass \item[en]{Wechselt die primäre Dokumentsprache von Deutsch auf Englisch. Ändert einzelne Überschriften und andere sprachabhängige Labels.} \item[omit-lot]{Tabellenverzeichnis entfernen (wenn keine Tabellen in der Arbeit vorkommen, oder für Test-Ausgaben).} \item[omit-lof]{Abbildungsverzeichnis entfernen (wenn keine Tabellen in der Arbeit vorkommen, oder für Test-Ausgaben).} + \item[omit-loa]{Abkürzungsverzeichnis entfernen (für Test-Ausgaben).} + \item[omit-todos]{TODO-Liste am Ende des Dokuments entfernen.} + \item[final]{Setzt die Standard-Werte für die omit-Optionen.} \item[vawiessen]{Passt einzelne Ausgaben an die Vorgaben von VAWi (Standort Essen) an.} \item[vawibamberg]{Passt einzelne Ausgaben an die Vorgaben von VAWi (Standort Bamberg) an.} + \item[confidential]{Erstellt einen Sperrvermerk, vgl. \autoref{sec:sperrvermerk}.} \end{description} \subsection{Anpassen des Deckblatts}\label{sec:variables} @@ -217,7 +221,7 @@ Neben den Paket-Optionen \lstinline!vawiessen! und \lstinline!vawibamberg! könn \item semester \item confidentialitySource \item authorbox -\item enttitle +\item entitle \end{itemize} \end{multicols} Die Nutzung ist wie bei LaTeX üblich: @@ -247,7 +251,7 @@ Die häufigsten Zitationsarten sind hier vermerkt, eine komplette Liste der Mög \subsection{Absatz-Zitate} -\begin{lstlisting} +\begin{lstlisting}[language={[LaTeX]TeX},morekeywords=citequotepar] \citequotepar[]{}{} \end{lstlisting} \citequotepar[xix]{Tidwell.2011}{The text that started it all dealt with physical buildings, not software. Christopher Alexander’s @@ -255,23 +259,23 @@ A Pattern Language and its companion book The Timeless Way of Building establish concept of patterns and described a 250-pattern multilayered pattern language.} \subsection{Zitat im Text} -\begin{lstlisting} +\begin{lstlisting}[language={[LaTeX]TeX}] \cite[]{} \end{lstlisting} Merkmale von Patterns sind bspw. Abstraktionsgrad, Domänenbezug und Sprache \cite[541]{Fettke.et.al.2009}. \subsection{Zitat im Text mit Autorennamen im Text} -\begin{lstlisting} +\begin{lstlisting}[language={[LaTeX]TeX}] \citet[]{} \end{lstlisting} Systemakzeptanz ist nach \citet[24]{Nielsen.1993} die grundlegende Frage dahingehend, [...]. \par -\begin{lstlisting} +\begin{lstlisting}[language={[LaTeX]TeX}] \citeauthor{} \end{lstlisting} Dabei unterteilt \citeauthor{Nielsen.1993} diese Akzeptanz in verschiedene Bereiche. \subsection{Multi-Quellen-Zitate} -\begin{lstlisting} +\begin{lstlisting}[language={[LaTeX]TeX}] \citetext{\citealp[]{}...} \end{lstlisting} Dementsprechen wird für die Usability mit dem Fokus auf das Web, in der Literatur entsprechend der Begriff der Web Usability verwendet \citetext{vgl. z.~B. \citealp[146]{Matera.2006}; \citealp[xix]{Nielsen.et.al.2006}; \citealp[11]{Schweibenz.et.al.2003}}. @@ -282,7 +286,7 @@ Abbildungen werden ausschließlkich als PDF eingefügt. Dadurch sind Sie einfach Im Gegensatz zur anderen Textprogrammen ist folgendes wichtig zu wissen: Die Position der Abbildung bestimmt LaTeX, nicht der Autor. Daher sollten Abbildungen so im Text genutzt werden, dass es egal ist, ob Sie an der geplanten Stelle, auf der selben Seite darüber, oder erst einzelne Seiten später plaziert wird. -\begin{lstlisting}[language=TeX,basicstyle=\scriptsize,emph={\begin,\citeauthor,\autoref},breaklines=true] +\begin{lstlisting}[language={[LaTeX]TeX},morekeywords={\begin,\citeauthor,\autoref,\includegraphics,\imagewidth},breaklines=true] Dabei unterteilt \citeauthor{Nielsen.1993} diese Akzeptanz in verschiedene Bereiche (vgl. \autoref{fig:Nielsen_1993_Acceptability}). %%%%%%%%%%%%%%%%%%% FIGURE %%%%%%%%%%%%%%%%%%%%%% @@ -308,18 +312,58 @@ Dabei unterteilt \citeauthor{Nielsen.1993} diese Akzeptanz in verschiedene Berei \end{figure}% %%%%%%%%%%%%%%%%%%% FIGURE %%%%%%%%%%%%%%%%%%%%%% -\section{Weitere Funktionen} +\section{Sperrvermerke}\label{sec:sperrvermerk} +Durch die Klassenoption "`confidential"' wird der Sperrvermerk aktiviert und durch die Neudefinition des Firmennamens über den folgenden Befehl, kann Sie entsprechend angepasst werden: +\begin{lstlisting}[language={[LaTeX]TeX}] +\def \confidentialitySource{Name der Firma} +\end{lstlisting} + +\section{Abkürzungen} + +Über das folgende Kommando können Abkürzungen angelegt werden: +\begin{lstlisting}[language={[LaTeX]TeX},morekeywords={\newacronym}] +\newacronym[]{}{}{} +\end{lstlisting} +Als Wert für \lstinline!! hat sich die Kleinschreibung der Abkürzung bewährt, also bspw.: +\begin{lstlisting}[language={[LaTeX]TeX},morekeywords={\newacronym}] +\newacronym{din}{DIN}{Deutsches Institut für Normung} +\end{lstlisting} +Über die folgenden Kommandos können Abkürzungen genutzt werden, wobei \lstinline!\acr! bei erster Verwendung ausschreibt: +\begin{lstlisting}[language={[LaTeX]TeX},morekeywords={\acr,\acrshort}] +\acr{} oder \acrshort{} +\end{lstlisting} +Bspw.: Abkürzungen wie \acr{b2c} können eingeführt und danach kurz als \acr{b2c} genutzt werden, oder wie bei \acrshort{ui} trotz erstmaliger Verwendung kurzgeschrieben werden. -Durch einen Glossar können Begriffe wie \gls{Pattern-Kategorie} referenziert werden. Und falls noch etwas zu tun ist, helfen die TODOs\todo{Hierfür noch eine Quelle}. -Listen wie zum Beginn können auch mit festem Einschub gesetzt werden: +\section{Aufzählungen mit festem Einschub} +Beschreibungslisten können auch mit festem Einschub gesetzt werden: +\begin{description}[\setleftmargin{3.5cm}] + \item[Merkmal]{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.} + \item[Element]{Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} +\end{description} +\begin{lstlisting}[language={[LaTeX]TeX},morekeywords={\setleftmargin}] \begin{description}[\setleftmargin{3.5cm}] + \item[Merkmal]{Lorem ipsum dolor...} + \item[Element]{Stet clita kasd...} +\end{description} +\end{lstlisting} + +\section{Aufzählungen mit Umbruch} +Beschreibungslisten können auch mit festem Umbruch gesetzt werden: +\begin{description}[\breaklabel] \item[Merkmal]{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.} - \item[Ausprägung]{Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} + \item[Element]{Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} \end{description} +\begin{lstlisting}[language={[LaTeX]TeX},morekeywords={\breaklabel}] +\begin{description}[\breaklabel] + \item[Merkmal]{Lorem ipsum dolor...} + \item[Element]{Stet clita kasd...} +\end{description} +\end{lstlisting} -Zusätzlich können natürlich Abkürzungen wie \acr{b2c} eingeführt, oder wie bei \acrshort{ui} trotz erstmaliger Verwendung kurzgeschrieben werden. +\section{TODOs} +Über \lstinline!\todo{}! und \lstinline!\inlinetodo{}! gibt es die Möglichkeit TODOs zu verwalten. \inlinetodo{Diese können innerhalb des Textes stehen wie hier.} Aber Sie können auch am Rand \todo{Absatz überarbeiten} stehen. Am Ende des Dokuments wird eine Gesamtliste angefügt, sofern ein TODO existiter und das Dokument nicht mit der Option \lstinline!final! oder \lstinline!omit-todos! kompiliert wird. \chapter{FAQ} \section{Bei kursiver Serifenschrift ist das "`a"' und das "`\&"' komisch} @@ -375,16 +419,20 @@ Die genutzte Klasse ist \emph{scrbook}, die Bestandteil von KOMA-Script ist. Wei \item hyperref \item hypcap \item glossaries + \item verbatim \item multicol \item listings \item scrhack - \item varwidth + \item tikz + \item mdframed + \item libertine \end{itemize} \end{multicols} \section{Changelog} +\begingroup + \fontsize{8pt}{10pt}\selectfont \verbatiminput{CHANGELOG.} +\endgroup \bibliography{udesoftec-doc-examplebib} % output Literature and use this file as bibtext catalogue -\printglossary -\listoftodos \end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/udesoftec/udesoftec-extra.sty b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-extra.sty new file mode 100644 index 00000000000..7ed372154cc --- /dev/null +++ b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-extra.sty @@ -0,0 +1,39 @@ +% !Mode:: "TeX:UTF-8" +%% udesoftec.cls +% Copyright 2013 J. Peter M. Schuler +% 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 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The current Maintainer of this work is J. Peter M. Schuler +% j.peter.m.schuler@uni-due.de +% +% This work consists of the files udesoftec.cls and udesoftec.bst. +% +% As this work is based on years of mostly undocumented improvement, +% it includes parts, for which sources can't be identified anymore. Public postings +% in the LaTeX community were used as an input and if source is known, it is +% mentioned below. If anybody identifies parts of his/her own code, +% feel free to contact the maintainer in order to get listed. +% +% Special thanks to all contributors and for the help of the tex-live team, +% e.g. Axel K.; Norbert P.; Rainer S.; Reinhard K.; Robin F. +% +% For further information refer to: +% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/README +% and +% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec.doc.pdf +\NeedsTeXFormat{LaTeX2e}% +\ProvidesPackage{udesoftec-extra}[2013/08/14 Additions for udesoftec.cls which are currently optional and may break former behaviour]% +%%%%%%%%%%%%%%%%%%%%%%%%% +% currently nothing here +%%%%%%%%%%%%%%%%%%%%%%%%% +\endinput% \ No newline at end of file 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 -- cgit v1.2.3