diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-21 21:02:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-21 21:02:41 +0000 |
commit | a8c7dacd775b4baaab4bf638c2ee092bb6b882c8 (patch) | |
tree | 91624997f36457458e6a3a08e909a268e93937fa | |
parent | 039ae7ab3b77314590eb661c109cd4cadcc183ce (diff) |
iodhbwm (21may19)
git-svn-id: svn://tug.org/texlive/trunk@51175 c570f23f-e606-0410-a88d-b1316a301751
24 files changed, 208 insertions, 121 deletions
diff --git a/Master/texmf-dist/doc/latex/iodhbwm/README.md b/Master/texmf-dist/doc/latex/iodhbwm/README.md index 5ae577ab37f..d7f5937cb9f 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/README.md +++ b/Master/texmf-dist/doc/latex/iodhbwm/README.md @@ -1,43 +1,36 @@ -iodhbwm -======= +# iodhbwm [![CTAN](https://img.shields.io/ctan/v/iodhbwm.svg)](https://www.ctan.org/pkg/iodhbwm) [![GitHub license](https://img.shields.io/github/license/faltfe/iodhbwm.svg?style=flat-square)](https://github.com/faltfe/iodhbwm/blob/master/LICENSE) [![Build Status](https://img.shields.io/travis/faltfe/iodhbwm/master.svg?style=flat-square)](https://travis-ci.org/faltfe/iodhbwm) --------------------------------------------------------------------------- -This project provides the _unofficial_ template of the [DHBW Mannheim](http://www.dhbw-mannheim.de) for -the creation of bachelor thesis, studies or project work with _LaTeX_. The goal of the package is -the quick creation of a basic framework without much effort. +--- + +This project provides the _unofficial_ template of the [DHBW Mannheim](http://www.dhbw-mannheim.de) for the creation of bachelor thesis, studies or project work with _LaTeX_. The goal of the package is the quick creation of a basic framework without much effort. The documentation is currently only available in German. --------------------------------------------------------------------------- +--- Felix Faltin -Web: <https://github.com/faltfe/iodhbwm> +Web: <https://github.com/faltfe/iodhbwm> E-Mail: ffaltin91@gmail.com --------------------------------------------------------------------------- -Copyright 2018 Felix Faltin +--- + +Copyright 2018-2019 Felix Faltin -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 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'. +This work has the LPPL maintenance status `maintained`. The Current Maintainer of this work is Felix Faltin. --------------------------------------------------------------------------- +--- If you have any ideas, questions, suggestions or bugs to report, please feel free to contact me. ---------------------------------------------------------------------------
\ No newline at end of file +--- diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/abstract/iodhbwm-auto-sections-with-abstract.pdf b/Master/texmf-dist/doc/latex/iodhbwm/examples/abstract/iodhbwm-auto-sections-with-abstract.pdf Binary files differindex 7f4de2b339d..29191cc358a 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/examples/abstract/iodhbwm-auto-sections-with-abstract.pdf +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/abstract/iodhbwm-auto-sections-with-abstract.pdf diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/abstract/iodhbwm-auto-sections-with-abstract.tex b/Master/texmf-dist/doc/latex/iodhbwm/examples/abstract/iodhbwm-auto-sections-with-abstract.tex index 7969ac69181..e7f8f15cdd5 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/examples/abstract/iodhbwm-auto-sections-with-abstract.tex +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/abstract/iodhbwm-auto-sections-with-abstract.tex @@ -1,6 +1,6 @@ % --------------------------------------------------- -% Date: 12.12.2018 -% Version: v0.1 +% Date: 15.05.2019 +% Version: v1.1.0 % Autor: Felix Faltin <ffaltin91[at]gmail.com> % Repository: https://github.com/faltfe/iodhbwm % --------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/appendix/iodhbwm-appendix.pdf b/Master/texmf-dist/doc/latex/iodhbwm/examples/appendix/iodhbwm-appendix.pdf Binary files differindex e80dde46241..36bd21baf8c 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/examples/appendix/iodhbwm-appendix.pdf +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/appendix/iodhbwm-appendix.pdf diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-print.pdf b/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-print.pdf Binary files differindex cc643976deb..5bb082e1f7d 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-print.pdf +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-print.pdf diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-print.tex b/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-print.tex index 851acf13813..38d0dec2c2d 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-print.tex +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-print.tex @@ -47,6 +47,5 @@ \end{lstlisting} \blindtext - - \Blinddocument + \end{document} diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-roman-numbers.pdf b/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-roman-numbers.pdf Binary files differnew file mode 100644 index 00000000000..d0b05d7a0a0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-roman-numbers.pdf diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-roman-numbers.tex b/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-roman-numbers.tex new file mode 100644 index 00000000000..39dd7b00b29 --- /dev/null +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-roman-numbers.tex @@ -0,0 +1,46 @@ +% --------------------------------------------------- +% Date: 15.05.2019 +% Version: v1.1.0 +% Autor: Felix Faltin <ffaltin91[at]gmail.com> +% Repository: https://github.com/faltfe/iodhbwm +% --------------------------------------------------- +% --- --- --- --- -- Class options -- --- --- --- --- +% --------------------------------------------------- +\documentclass[ + load-dhbw-templates, % Allow \dhbw* commands + auto-intro-pages, % Takes care about titlepage, abstract, ToC, etc. + add-tocs-to-toc, % Add LoF, LoT, etc. to ToC + mainlanguage = ngerman, % Set main document language + debug % Provide \lipsum, \blindtext +]{iodhbwm} +\usepackage[T1]{fontenc} + +% --------------------------------------------------- +% --- --- --- --- - Necessary setup - --- --- --- --- +% --------------------------------------------------- +\dhbwsetup{% + author = Max Mustermann, + thesis type = PA, + thesis title = Einführungsbeispiel mit empfohlenen Einstellungen, + student id = 12345, + location = Musterstadt, + institute = Musterwerke GmbH, + course/id = Txxxx, + supervisor = Felix Faltin, + processing period = {01.01.17 -- 31.01.17}, + intro/roman page numbers +} + +\begin{document} + \chapter{Testbild} + \blindtext + + \begin{figure} + \includegraphics[width=.5\linewidth]{example-image-a} + \caption{Example image a} + \end{figure} + + \blindtext + + \Blinddocument +\end{document} diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-advanced-starter.pdf b/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-advanced-starter.pdf Binary files differindex 288176d1141..1d569baa492 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-advanced-starter.pdf +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-advanced-starter.pdf diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-advanced-starter.tex b/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-advanced-starter.tex index b426803aeaf..5788a6dc255 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-advanced-starter.tex +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-advanced-starter.tex @@ -1,6 +1,6 @@ % --------------------------------------------------- -% Date: 08.10.2018 -% Version: v0.1 +% Date: 15.05.2019 +% Version: v1.1.0 % Autor: Felix Faltin <ffaltin91[at]gmail.com> % Repository: https://github.com/faltfe/iodhbwm % --------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-recommended-starter.pdf b/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-recommended-starter.pdf Binary files differindex 8b98fb8705e..2da2871c459 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-recommended-starter.pdf +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-recommended-starter.pdf diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-recommended-starter.tex b/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-recommended-starter.tex index 2e74d012103..74061672a3f 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-recommended-starter.tex +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/how-to-use-iodhbwm/iodhbwm-recommended-starter.tex @@ -1,6 +1,6 @@ % --------------------------------------------------- -% Date: 08.10.2018 -% Version: v0.1 +% Date: 15.05.2019 +% Version: v1.1.0 % Autor: Felix Faltin <ffaltin91[at]gmail.com> % Repository: https://github.com/faltfe/iodhbwm % --------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/iodhbwm/examples/references/iodhbwm-references.pdf b/Master/texmf-dist/doc/latex/iodhbwm/examples/references/iodhbwm-references.pdf Binary files differindex f3caaa26915..cf8fe78809c 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/examples/references/iodhbwm-references.pdf +++ b/Master/texmf-dist/doc/latex/iodhbwm/examples/references/iodhbwm-references.pdf diff --git a/Master/texmf-dist/doc/latex/iodhbwm/iodhbwm.pdf b/Master/texmf-dist/doc/latex/iodhbwm/iodhbwm.pdf Binary files differindex 042630f7e88..e1657613326 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/iodhbwm.pdf +++ b/Master/texmf-dist/doc/latex/iodhbwm/iodhbwm.pdf diff --git a/Master/texmf-dist/doc/latex/iodhbwm/iodhbwm.tex b/Master/texmf-dist/doc/latex/iodhbwm/iodhbwm.tex index 0aba652e0d6..944cd3bf3ba 100644 --- a/Master/texmf-dist/doc/latex/iodhbwm/iodhbwm.tex +++ b/Master/texmf-dist/doc/latex/iodhbwm/iodhbwm.tex @@ -1,5 +1,6 @@ \documentclass[babel=ngerman,highlight=false]{skdoc} \usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{enumitem} \usepackage[most]{tcolorbox} @@ -8,7 +9,7 @@ %\usepackage{showframe} \package[vcs=https://github.com/faltfe/iodhbwm,ctan=iodhbwm]{iodhbwm} -\version{1.0} +\version{1.1.0} \title{iodhbwm Klasse} \author{Felix Faltin} @@ -483,6 +484,17 @@ \Option{reviewer}\WithValues{\meta{value}} Bei Bachelorarbeiten \setupOption{\opt{thesis type}=\meta{BA}} ist es üblich einen Gutachter anzugeben. Dieser wird durch die Angabe eines \setupOption{\opt{reviewer}} übergeben. + + \subsubsection{Angaben zur DHBW} + \Option{dhbw location}\WithValues{\meta{value}}\AndDefault{Mannheim} + \Version{1.1.0}Die Option erlaubt eine Änderung des DHBW Standortes. Als Standardeinstellung ist die DHBW Manneinheim gesetzt. Der Standort wird automatisch auf den mitgelieferten Titelseiten angepasst. + + \Option{dhbw logo}\WithValues{\meta{value}}\AndDefault{dhbw-logo} + \Version{1.1.0}Ein alternatives Logo der DHBW kann mithilfe dieser Option angegeben werden. Die Dateiendung sollte, wie in \LaTeX{} üblich, weggelassen werden. + + \begin{warning}{Abmaße beachten} + Wenn ein eigenes Logo gesetzt wird, müssen die Dimensionen beachtet werden. Das bereitgestellte Logo hat eine Abmessung von $540 \times 264~px$. + \end{warning} \subsubsection{Optionen zur automatisierten Erstellung von Verzeichnissen}\label{subsub:options-tocs} Im Abschnitt~\ref{subsub:format} wurde die Option \classOption{\opt{auto-intro-pages}} beschrieben. Durch die nachfolgenden Optionen können weitere Konfigurationen vorgenommen werden. Insbesondere handelt es sich dabei um die Möglichkeit, nur bestimmte Verzeichnisse oder Seiten anzuzeigen. Die meisten der Optionen sind selbsterklärend.\medskip @@ -508,9 +520,6 @@ Erstellen des Tabellenverzeichnisses (List of Tables $\stackrel{\wedge}{=}$ LoT) \medskip - \Option{intro/append custom content}\WithValues{\meta{value}} - In manchen Fällen kann es vorkommen, dass eigene Verzeichnisse hinzugefügt werden sollen. Die Option \setupOption{\opt{intro/append custom content}} nimmt als Argument gültigen \LaTeX{} Quelltext entgegen und führt diesen aus.\medskip - \Option{intro/print all lists}\WithValues{true, false}\AndDefault{false} Durch Setzen der Option werden alle Verzeichnisse (ToC, LoF und LoT) automatisch generiert. Das Abbildungs- und Tabellenverzeichnis werden jedoch nur dargestellt, wenn diese mindestens einen Eintrag enthalten. \medskip @@ -526,6 +535,17 @@ aktiviert. Ein Abstract wird nur gedruckt, wenn eine Datei angegeben ist und die Datei existiert. \medskip + + \Option{intro/append custom content}\WithValues{\meta{value}} + In manchen Fällen kann es vorkommen, dass eigene Verzeichnisse hinzugefügt werden sollen. Die Option \setupOption{\opt{intro/append custom content}} nimmt als Argument gültigen \LaTeX{} Quelltext entgegen und führt diesen aus.\medskip + + + \Option{intro/roman page numbers}\WithValues{true, false}\AndDefault{false} + \Version{1.2.0}Bei Aktivierung der Option wird die Nummerierung innerhalb der Verzeichnisse auf Römisch umgeschaltet. Des Weiteren werden die Römischen Seitenzahlen für die Verzeichnisse ebenfalls im Inhalsverzeichnis angezeigt. + + \begin{hint}{} + Bei Aktivierung der Option \setupOption{\opt{intro/roman page numbers}=\meta{true}} erfolgt eine Abweichung von den Richtlinien der DHBW. + \end{hint} \subsection{Anhang} \LaTeX{} stellt das Makro \Macro\appendix bereit, um dem Dokument mitzuteilen, dass anschließend der Anhang folgt. Die DHBW empfiehlt bei der Erstellung die folgenden Dinge zu beachten: @@ -541,7 +561,7 @@ \begin{sourcecode}[listing only] \dhbwsetup{ - intro/append custom content = {\listofappendencies} + intro/append custom content = {\listofappendices} } \end{sourcecode} @@ -596,6 +616,10 @@ \DescribeMacro\getReviewer{} Abfrage des Gutachters für eine Bachelorarbeit, welcher durch \setupOption{\opt{reviewer}} übergeben wurde. \DescribeMacro\getBachelorDegree{} Abfrage des Bearbeitungszeitraums, welcher durch \setupOption{\opt{author}} übergeben wurde. + + \DescribeMacro\getDHBWLocation{}\Version{1.1.0}Abfrage des DHBW Standorts, welcher durch die \setupOption{\opt{dhbw location}} gesetzt wurde. + + \DescribeMacro\getDHBWLogo{}\Version{1.1.0}Abfrage des DHBW Logo, welches durch die \setupOption{\opt{dhbw logo}} gesetzt wurde. \section{Beispiele und Anwendungen} Alle Beispiele sind auf \url{https://github.com/faltfe/iodhbwm/tree/master/doc/examples} zu finden. @@ -638,8 +662,6 @@ \end{itemize} - - \subsection{Verwendung von Parts} In manchen Arbeiten kann es vorkommen, dass mit \Macro\part{} gearbeitet werden soll. Insbesondere bei Arbeiten mit zwei oder mehreren Themen kann der Wunsch aufkommen, dass der Abschnitt auch mit dem Wort \enquote{Thema} bezeichnet werden soll. Diese Änderung ist wie folgt möglich: diff --git a/Master/texmf-dist/doc/latex/iodhbwm/test-doc.pdf b/Master/texmf-dist/doc/latex/iodhbwm/test-doc.pdf Binary files differdeleted file mode 100644 index 01e240a0db4..00000000000 --- a/Master/texmf-dist/doc/latex/iodhbwm/test-doc.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/iodhbwm/test-doc.tex b/Master/texmf-dist/doc/latex/iodhbwm/test-doc.tex deleted file mode 100644 index 0692f0dfdb6..00000000000 --- a/Master/texmf-dist/doc/latex/iodhbwm/test-doc.tex +++ /dev/null @@ -1,40 +0,0 @@ -% --------------------------------------------------- -% Date: 12.11.2018 -% Version: v0.1 -% Autor: Felix Faltin <ffaltin91[at]gmail.com> -% Repository: https://github.com/faltfe/iodhbwm -% --------------------------------------------------- -% --- --- --- --- -- Class options -- --- --- --- --- -% --------------------------------------------------- -\documentclass[ -add-bibliography-, % Include bibliography (needs biber run) -bib-file = biblatex-examples.bib, % Set bibliography file -language = ngerman, % Set main document language -debug % Provide \lipsum, \blindtext -]{iodhbwm} -\usepackage[T1]{fontenc} -%\usepackage[utf8]{inputenc} % UTF-8 is default at the latest release - -% --------------------------------------------------- -% --- --- - Change default biblatex options - --- --- -% --------------------------------------------------- -% You can almost change every option with this command. There are -% only some exception like the backend and the style. -% If you want to change the citeystyle have a look at the custom -% cite style example or see the documentation for biblatex/citestyle -% option. -% --------------------------------------------------- -% Change the sorting and supress the DOI output -\ExecuteBibliographyOptions{hyperref=true} - -% --------------------------------------------------- -% --- --- --- --- Begin actual content -- --- --- --- -% --------------------------------------------------- -\begin{document} - \blindtext \cite{doody} - -% \nocite{*} % Cite every entry from the passed file - \printbibliography - - % --------------------------------------------------- -\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-declaration.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-declaration.def index b73b7dd22f0..93c915f9d11 100644 --- a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-declaration.def +++ b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-declaration.def @@ -1,12 +1,29 @@ \ifcsdef{chapter}% -{\chapter*{Ehrenwörtliche Erklärung}}% -{\section*{Ehrenwörtliche Erklärung}} +{\chapter*{Erklärung}}% +{\section*{Erklärung}} \thispagestyle{empty} -\vspace{5cm} -Gemäß \S 5 (3) der Studien- und Prüfungsordnung DHBW Technik vom 22. September 2011.\\ -Ich habe die vorliegende Arbeit selbstständig verfasst und keine anderen als die angegebenen Quellen und Hilfsmittel verwendet. +\bigskip + +Ich versichere hiermit, dass ich meine \getThesisType{} mit dem\bigskip + +\textsc{Thema \ifcsempty{iodhbwm@thesis@second@title}{}{A}} + +{\bfseries \getThesisTitle} + +\ifcsempty{iodhbwm@thesis@second@title}{}{% + \bigskip + \textsc{Thema B}\par% + {\bfseries \getThesisSecondTitle}% +}{}\bigskip + +selbstständig verfasst und keine anderen als die angegebenen Quellen und Hilfsmittel benutzt habe. + + +Ich versichere zudem, dass die eingereichte elektronische Fassung mit der gedruckten Fassung übereinstimmt.$^\ast$ + +{\small$^\ast$ falls beide Fassungen gefordert sind} \vfill @@ -15,4 +32,4 @@ Ich habe die vorliegende Arbeit selbstständig verfasst und keine anderen als di \getLocation, den \getDate \end{tabular} -\clearpage
\ No newline at end of file +\clearpage diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-ba.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-ba.def index 2af4304810e..f8e05ce8df2 100644 --- a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-ba.def +++ b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-ba.def @@ -1,10 +1,10 @@ \begin{titlepage} \centering \ifcsempty{iodhbwm@institute@logo}{% - \includegraphics[height=1.7cm]{dhbw-logo} + \includegraphics[height=1.7cm]{\getDHBWLogo} }{% \begin{minipage}[c]{.25\textwidth} - \includegraphics[width=\linewidth,keepaspectratio]{dhbw-logo} + \includegraphics[width=\linewidth,keepaspectratio]{\getDHBWLogo} \end{minipage} \hfill \begin{minipage}[c]{.25\textwidth} @@ -30,7 +30,7 @@ \bigskip des Studiengangs \getCourseName\par - der Dualen Hochschule Baden-Württemberg Mannheim + der Dualen Hochschule Baden-Württemberg \getDHBWLocation \vfill @@ -54,4 +54,4 @@ \end{tabularx} } \cleardoublepage -\end{titlepage}
\ No newline at end of file +\end{titlepage} diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-pa.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-pa.def index d37eeeffe77..790563ecebb 100644 --- a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-pa.def +++ b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-pa.def @@ -1,10 +1,10 @@ \begin{titlepage} \centering \ifcsempty{iodhbwm@institute@logo}{% - \includegraphics[height=1.5cm]{dhbw-logo} + \includegraphics[height=1.5cm]{\getDHBWLogo} }{% \begin{minipage}[c]{.25\textwidth} - \includegraphics[width=\linewidth,keepaspectratio]{dhbw-logo} + \includegraphics[width=\linewidth,keepaspectratio]{\getDHBWLogo} \end{minipage} \hfill \begin{minipage}[c]{.25\textwidth} @@ -19,7 +19,7 @@ \normalsize des Studiengangs \getCourseName\par - der Dualen Hochschule Baden-Württemberg Mannheim + der Dualen Hochschule Baden-Württemberg \getDHBWLocation \rule{\textwidth}{.5mm}\bigskip @@ -56,4 +56,4 @@ \end{tabularx} } \cleardoublepage -\end{titlepage}
\ No newline at end of file +\end{titlepage} diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-sa.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-sa.def index 275ad523bb1..b1cab1a4804 100644 --- a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-sa.def +++ b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-sa.def @@ -1,12 +1,12 @@ \begin{titlepage} \centering - \includegraphics[height=1.7cm]{dhbw-logo} + \includegraphics[height=1.7cm]{\getDHBWLogo} \Large\textsc{Studienarbeit} \normalsize des Studiengangs \getCourseName\par - der Dualen Hochschule Baden-Württemberg Mannheim + der Dualen Hochschule Baden-Württemberg \getDHBWLocation \rule{\textwidth}{.5mm}\bigskip @@ -43,4 +43,4 @@ \end{tabularx} } \cleardoublepage -\end{titlepage}
\ No newline at end of file +\end{titlepage} diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage.def index 8b1d78be5a2..33b50837a22 100644 --- a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage.def +++ b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage.def @@ -18,7 +18,7 @@ \normalsize des Studiengangs Informationstechnik\par - der Dualen Hochschule Baden-Württemberg Mannheim + der Dualen Hochschule Baden-Württemberg \getDHBWLocation \end{center} \rule{\textwidth}{.5mm}\bigskip @@ -71,4 +71,4 @@ \end{tabularx} } \cleardoublepage -\end{titlepage}
\ No newline at end of file +\end{titlepage} diff --git a/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-templates.sty b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-templates.sty index 679f4e70bb1..ec23a7f0189 100644 --- a/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-templates.sty +++ b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-templates.sty @@ -23,8 +23,8 @@ % % ---------------------------------------------------------- -\newcommand*{\iodhbwm@pkg@version}{v1.0} -\newcommand*{\iodhbwm@pkg@date}{2018-12-20} +\newcommand*{\iodhbwm@pkg@version}{v1.1.0} +\newcommand*{\iodhbwm@pkg@date}{2019-05-15} \newcommand*{\iodhbwm@pkg@info}{Inoffical DHBW Mannheim thesis package} \newcommand*{\iodhbwm@pkg@name}{iodhbwm-templates} @@ -66,6 +66,7 @@ \newbool{iodhbwm@if@print@lot} \newbool{iodhbwm@if@print@lof} \newbool{iodhbwm@if@print@location} +\newbool{iodhbwm@if@oldpagestyle} % ---------------------------------------------------------- % Define internal commands @@ -77,12 +78,19 @@ \edef\iodhbwm@file@titlepage@sa{\iodhbwm@file@prefix-titlepage-sa\iodhbwm@file@ending} \edef\iodhbwm@file@titlepage@pa{\iodhbwm@file@prefix-titlepage-pa\iodhbwm@file@ending} \edef\iodhbwm@file@declaration@default{\iodhbwm@file@prefix-declaration\iodhbwm@file@ending} -\edef\iodhbw@file@abstract@default{\iodhbwm@file@prefix-abstract.inc} +\edef\iodhbwm@file@abstract@default{\iodhbwm@file@prefix-abstract.inc} \def\iodhbwm@bachelor@type@boe{Bachelor of Engineering} \def\iodhbwm@bachelor@type@bos{Bachelor of Science} \def\iodhbwm@bachelor@type@boa{Bachelor of Arts} +\def\iodhbwm@thesis@type@ba{Bachelorarbeit} +\def\iodhbwm@thesis@type@pa{Projektarbeit} +\def\iodhbwm@thesis@type@sa{Studienarbeit} + +\def\iodhbwm@dhbw@location@default{Mannheim} +\def\iodhbwm@dhbw@logo@default{dhbw-logo} + %--------------------------------------------------- % Defining package options %--------------------------------------------------- @@ -95,8 +103,8 @@ declaration/.default = \iodhbwm@file@declaration@default, declaration = \iodhbwm@file@declaration@default, abstract/.store in = \@iodhbwm@file@abstract, - abstract/.default = \iodhbw@file@abstract@default, - abstract = = \iodhbw@file@abstract@default, + abstract/.default = \iodhbwm@file@abstract@default, + abstract = = \iodhbwm@file@abstract@default, bachelor degree type/.store in = \iodhbwm@bachelor@degree, bachelor degree type/.default = \iodhbwm@bachelor@type@boe, bachelor degree type = \iodhbwm@bachelor@type@boe, @@ -104,10 +112,22 @@ bachelor degree/BoE/.estyle = {/dhbw/bachelor degree type = \iodhbwm@bachelor@type@boe}, bachelor degree/BoS/.estyle = {/dhbw/bachelor degree type = \iodhbwm@bachelor@type@bos}, bachelor degree/BoA/.estyle = {/dhbw/bachelor degree type = \iodhbwm@bachelor@type@boa}, + thesis type name/.store in = \iodhbwm@thesis@type, + thesis type name/.default = \iodhbwm@thesis@type@ba, + thesis type name = \iodhbwm@thesis@type@ba, thesis type/.is choice, - thesis type/BA/.estyle = {/dhbw/titlepage = \iodhbwm@file@titlepage@ba}, - thesis type/SA/.estyle = {/dhbw/titlepage = \iodhbwm@file@titlepage@sa}, - thesis type/PA/.estyle = {/dhbw/titlepage = \iodhbwm@file@titlepage@pa}, + thesis type/BA/.estyle = {% + /dhbw/titlepage = \iodhbwm@file@titlepage@ba,% + /dhbw/thesis type name = \iodhbwm@thesis@type@ba% + }, + thesis type/SA/.estyle = {% + /dhbw/titlepage = \iodhbwm@file@titlepage@sa,% + /dhbw/thesis type name = \iodhbwm@thesis@type@sa% + }, + thesis type/PA/.estyle = {% + /dhbw/titlepage = \iodhbwm@file@titlepage@pa,% + /dhbw/thesis type name = \iodhbwm@thesis@type@pa% + }, thesis title/.store in = \iodhbwm@thesis@title, thesis title = {}, thesis second title/.store in = \iodhbwm@thesis@second@title, @@ -119,9 +139,15 @@ \def\iodhbwm@date@submission{#1}% }, date = \today, - submission date/.store in = \iodhbwm@date@submission, + submission date/.store in = \iodhbwm@date@submission, location/.store in = \iodhbwm@location, location = {}, + dhbw location/.store in = \iodhbwm@dhbw@location, + dhbw location/.default = \iodhbwm@dhbw@location@default, + dhbw location = \iodhbwm@dhbw@location@default, + dhbw logo/.store in = \iodhbwm@dhbw@logo, + dhbw logo/.default = \iodhbwm@dhbw@logo@default, + dhbw logo = \iodhbwm@dhbw@logo@default, institute/.store in = \iodhbwm@institute, institute section/.store in = \iodhbwm@institute@section, institute section = {}, @@ -139,15 +165,15 @@ processing period = {}, reviewer/.store in = \iodhbwm@reviewer, reviewer = {}, - titlepage/print location/.is if = iodhbwm@if@print@location, - intro/print titlepage/.is if = iodhbwm@if@print@titlepage, - intro/print abstract/.is if = iodhbwm@if@print@abstract, - intro/abstract file/.search also = {/dhbw/abstract}, - intro/print declaration/.is if = iodhbwm@if@print@declaration, - intro/print toc/.is if = iodhbwm@if@print@toc, - intro/print lof/.is if = iodhbwm@if@print@lof, - intro/print lot/.is if = iodhbwm@if@print@lot, - intro/print all lists/.style = {% + titlepage/print location/.is if = iodhbwm@if@print@location, + intro/print titlepage/.is if = iodhbwm@if@print@titlepage, + intro/print abstract/.is if = iodhbwm@if@print@abstract, + intro/abstract file/.search also = {/dhbw/abstract}, + intro/print declaration/.is if = iodhbwm@if@print@declaration, + intro/print toc/.is if = iodhbwm@if@print@toc, + intro/print lof/.is if = iodhbwm@if@print@lof, + intro/print lot/.is if = iodhbwm@if@print@lot, + intro/print all lists/.style = {% /dhbw/intro/print toc = true, /dhbw/intro/print lot = true, /dhbw/intro/print lof = true @@ -158,8 +184,9 @@ /dhbw/intro/print declaration = true, /dhbw/intro/print abstract = true }, - intro/append custom content/.store in = \iodhbwm@append@custom@content, - intro/append custom content = {} + intro/append custom content/.store in = \iodhbwm@append@custom@content, + intro/append custom content = {}, + intro/roman page numbers/.is if = iodhbwm@if@oldpagestyle } \newrobustcmd\dhbwsetup[1]{\pgfqkeys{/dhbw}{#1}} @@ -297,6 +324,25 @@ }}{See documentation for more information}% }{\iodhbwm@bachelor@degree}% } +\newcommand{\getThesisType}{% + \ifdefempty{\iodhbwm@thesis@type}{% + \PackageError{\iodhbwm@pkg@name}{% + Option thesis type required!\MessageBreak + Please use\MessageBreak\protect\dhbwsetup{\MessageBreak + \space\space thesis type = BA | SA | PA\MessageBreak + }}{See documentation for more information}% + }{\iodhbwm@thesis@type}% +} +\newcommand{\getDHBWLocation}{% + \ifdefempty{\iodhbwm@dhbw@location}{% + \PackageError{\iodhbwm@pkg@name}{% + Option dhbw location required!\MessageBreak + Please use\MessageBreak\protect\dhbwsetup{\MessageBreak + \space\space dhbw location = {Your DHBW Location}\MessageBreak + }}{See documentation for more information}% + }{\iodhbwm@dhbw@location}% +} +\newcommand{\getDHBWLogo}{\iodhbwm@dhbw@logo} % ---------------------------------------------------------- % Commands for structuring @@ -338,10 +384,14 @@ % Switch pagestyle % Deactivate page numbers in ToC \newcommand{\dhbwfrontmatter}{% - \pagestyle{empty} - \renewcommand*{\chapterpagestyle}{empty} - \hypersetup{pageanchor=false} - \addtocontents{toc}{\booltrue{iodhbwm@if@toc@unnumbered}} + \ifbool{iodhbwm@if@oldpagestyle}{% + \pagenumbering{Roman}% + }{% + \pagestyle{empty}% + \renewcommand*{\chapterpagestyle}{empty}% + \hypersetup{pageanchor=false}% + \addtocontents{toc}{\booltrue{iodhbwm@if@toc@unnumbered}}% + }% } % Switch pagestyle @@ -429,4 +479,4 @@ }% } -\endinput
\ No newline at end of file +\endinput diff --git a/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm.cls b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm.cls index 580c873add9..508c3071833 100644 --- a/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm.cls +++ b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm.cls @@ -23,8 +23,8 @@ % % ---------------------------------------------------------- -\newcommand*{\iodhbwm@cls@version}{v1.0.1} -\newcommand*{\iodhbwm@cls@date}{2019-01-27} +\newcommand*{\iodhbwm@cls@version}{v1.1.0} +\newcommand*{\iodhbwm@cls@date}{2019-05-15} \newcommand*{\iodhbwm@cls@info}{Inoffical DHBW Mannheim thesis class} \ProvidesClass{iodhbwm}[% |