From 0e03b1c035f50863fd828faf12e59f1b3c6850a7 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 2 Apr 2020 03:02:37 +0000 Subject: CTAN sync 202004020302 --- macros/latex/contrib/iodhbwm/README.md | 21 +++--- macros/latex/contrib/iodhbwm/doc/iodhbwm.pdf | Bin 633935 -> 624361 bytes macros/latex/contrib/iodhbwm/doc/iodhbwm.tex | 23 ++++--- .../latex/contrib/iodhbwm/tex/dhbw-declaration.def | 35 ---------- .../contrib/iodhbwm/tex/dhbw-titlepage-ba.def | 57 ---------------- .../contrib/iodhbwm/tex/dhbw-titlepage-pa.def | 59 ---------------- .../contrib/iodhbwm/tex/dhbw-titlepage-sa.def | 46 ------------- .../latex/contrib/iodhbwm/tex/dhbw-titlepage.def | 74 --------------------- macros/latex/contrib/iodhbwm/tex/i18n.def | 36 ++++++++++ .../iodhbwm/tex/i18n/english/dhbw-declaration.def | 37 +++++++++++ .../iodhbwm/tex/i18n/english/dhbw-titlepage-ba.def | 57 ++++++++++++++++ .../iodhbwm/tex/i18n/english/dhbw-titlepage-pa.def | 59 ++++++++++++++++ .../iodhbwm/tex/i18n/english/dhbw-titlepage-sa.def | 59 ++++++++++++++++ .../iodhbwm/tex/i18n/english/dhbw-titlepage.def | 55 +++++++++++++++ .../iodhbwm/tex/i18n/ngerman/dhbw-declaration.def | 35 ++++++++++ .../iodhbwm/tex/i18n/ngerman/dhbw-titlepage-ba.def | 57 ++++++++++++++++ .../iodhbwm/tex/i18n/ngerman/dhbw-titlepage-pa.def | 59 ++++++++++++++++ .../iodhbwm/tex/i18n/ngerman/dhbw-titlepage-sa.def | 46 +++++++++++++ .../iodhbwm/tex/i18n/ngerman/dhbw-titlepage.def | 55 +++++++++++++++ .../contrib/iodhbwm/tex/iodhbwm-templates.sty | 32 ++++++--- macros/latex/contrib/iodhbwm/tex/iodhbwm.cls | 6 +- 21 files changed, 602 insertions(+), 306 deletions(-) delete mode 100644 macros/latex/contrib/iodhbwm/tex/dhbw-declaration.def delete mode 100644 macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-ba.def delete mode 100644 macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-pa.def delete mode 100644 macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-sa.def delete mode 100644 macros/latex/contrib/iodhbwm/tex/dhbw-titlepage.def create mode 100644 macros/latex/contrib/iodhbwm/tex/i18n.def create mode 100644 macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-declaration.def create mode 100644 macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-ba.def create mode 100644 macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-pa.def create mode 100644 macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-sa.def create mode 100644 macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage.def create mode 100644 macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-declaration.def create mode 100644 macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-ba.def create mode 100644 macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-pa.def create mode 100644 macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-sa.def create mode 100644 macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage.def (limited to 'macros/latex/contrib/iodhbwm') diff --git a/macros/latex/contrib/iodhbwm/README.md b/macros/latex/contrib/iodhbwm/README.md index fff5878e17..9716853bf5 100644 --- a/macros/latex/contrib/iodhbwm/README.md +++ b/macros/latex/contrib/iodhbwm/README.md @@ -1,33 +1,34 @@ -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. The documentation is currently only available in German. --------------------------------------------------------------------------- +--- Felix Faltin -Web: +Web: E-Mail: ffaltin91@gmail.com --------------------------------------------------------------------------- -Copyright 2018-2019 Felix Faltin +--- + +Copyright 2018-2020 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 - + and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later. @@ -35,9 +36,9 @@ 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. --------------------------------------------------------------------------- +--- diff --git a/macros/latex/contrib/iodhbwm/doc/iodhbwm.pdf b/macros/latex/contrib/iodhbwm/doc/iodhbwm.pdf index 1de10b8c49..2c383a577c 100644 Binary files a/macros/latex/contrib/iodhbwm/doc/iodhbwm.pdf and b/macros/latex/contrib/iodhbwm/doc/iodhbwm.pdf differ diff --git a/macros/latex/contrib/iodhbwm/doc/iodhbwm.tex b/macros/latex/contrib/iodhbwm/doc/iodhbwm.tex index d26a35aa24..fd7f206f61 100644 --- a/macros/latex/contrib/iodhbwm/doc/iodhbwm.tex +++ b/macros/latex/contrib/iodhbwm/doc/iodhbwm.tex @@ -9,7 +9,7 @@ %\usepackage{showframe} \package[vcs=https://github.com/faltfe/iodhbwm,ctan=iodhbwm]{iodhbwm} -\version{1.1.1} +\version{1.2} \title{iodhbwm Klasse} \author{Felix Faltin} @@ -150,9 +150,9 @@ \newcommand{\Version}[1]{\marginpar[\raggedleft v#1]{\raggedright v#1}} \begin{document} - \changes{0.4-alpha}{Add print option, auto-intro-pages and some new commands} - \changes{0.4a-alpha}{Rename \opt{intro/add custom list} into \opt{intro/append custom content}}% - \changes{0.4.1-alpha}{Unterstützung eines Anhang wurde hinzugefügt}% + \changes{1.1}{Erweiterung der Optionen}% + \changes{1.1.1}{Kleinere Fehlerbehebungen innerhalb von listings} + \changes{1.2}{Bereitstellung Englischer Vorlagen (Danke an mickmack1213)} \maketitle @@ -173,7 +173,11 @@ \clearpage \tableofcontents - + + \clearpage + \PrintChanges + \clearpage + \section{Konventionen} % \begin{sourcecode}[listing side comment, comment={Ich bin ein Kommentar},title={Hello world example}] %% Hello again @@ -679,12 +683,11 @@ Um die Autovervollständigung für \thepackage{} zu aktiveren, müssen die Dateien \file{iodhbwm.cwl} und \file{iodhbwm-template.cwl} nach \path|%appdata%\texstudio\completion\user| beziehungsweise nach \path|.config/texstudio/completion/user| kopiert werden. \section{Installation} + \subsection{CTAN} + Das Bundle wird ebenfalls über CTAN zur Verfügung gestellt und kann deshalb über die offiziellen Paketquellen heruntergeladen und installiert werden. Diese Variante ist zu bevorzugen. \subsection{Lokale Installation} Eine eigene Installation des Pakets kann in einem lokalen texmf Ordner (lokales Repository) erfolgen. Das Bundle kann manuell aus dem Git-Repository heruntergeladen werden. - - \subsection{CTAN} - Das Bundle wird ebenfalls über CTAN (mit Release der Version v1.0) zur Verfügung gestellt und kann deshalb über die offiziellen Paketquellen heruntergeladen und installiert werden. Diese Variante ist zu bevorzugen. - + \subsubsection{MiKTeX} \begin{enumerate} \item Lokales Repository anlegen, welches der \href{http://tug.ctan.org/tds/tds.html}{Verzeichnisstruktur für \LaTeX{} Dateien} entspricht. Die Verzeichnisstruktur könnte wie folgt aussehen:\par \verb|C:\Users\\localtexmf\tex\latex\iodhbwm| @@ -708,8 +711,6 @@ Eine ausführliche Beschreibung befindet sich auf \url{https://tex.stackexchange.com/a/73017/142408}. -% \PrintChanges - \PrintIndex \end{document} diff --git a/macros/latex/contrib/iodhbwm/tex/dhbw-declaration.def b/macros/latex/contrib/iodhbwm/tex/dhbw-declaration.def deleted file mode 100644 index 93c915f9d1..0000000000 --- a/macros/latex/contrib/iodhbwm/tex/dhbw-declaration.def +++ /dev/null @@ -1,35 +0,0 @@ -\ifcsdef{chapter}% -{\chapter*{Erklärung}}% -{\section*{Erklärung}} - -\thispagestyle{empty} - -\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 - -\begin{tabular}{l} - \hline - \getLocation, den \getDate -\end{tabular} - -\clearpage diff --git a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-ba.def b/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-ba.def deleted file mode 100644 index f8e05ce8df..0000000000 --- a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-ba.def +++ /dev/null @@ -1,57 +0,0 @@ -\begin{titlepage} - \centering - \ifcsempty{iodhbwm@institute@logo}{% - \includegraphics[height=1.7cm]{\getDHBWLogo} - }{% - \begin{minipage}[c]{.25\textwidth} - \includegraphics[width=\linewidth,keepaspectratio]{\getDHBWLogo} - \end{minipage} - \hfill - \begin{minipage}[c]{.25\textwidth} - \centering - \includegraphics[width=\linewidth,keepaspectratio]{\getInstituteLogo} - \end{minipage} - } - - \bigskip - - \rule{\textwidth}{.5mm}\bigskip - - {\bfseries \getThesisTitle}\smallskip - - \rule{\textwidth}{.5mm}\bigskip - - \textsc{\Large Bachelorarbeit} - - \bigskip - für die Prüfung zum - - \textsc{\large \getBachelorDegree} - - \bigskip - des Studiengangs \getCourseName\par - der Dualen Hochschule Baden-Württemberg \getDHBWLocation - - \vfill - - von\par - {\bfseries\large \getAuthor}\bigskip - - Abgabe am \getSubmissionDate - - \vfill - - \small{% - \begin{tabularx}{\textwidth}{@{}lX@{}} - \toprule - Bearbeitungszeitraum: & \getProcessingPeriod\\ - Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\ - \ifcsempty{iodhbwm@institute@section}{}{Abteilung: & \getInstituteSection\\}% - Ausbildungsfirma: & \getInstitute\\ - \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}% - Betreuer der Ausbildungsfirma: & \getSupervisor\\ - Gutachter der Dualen Hochschule: & \getReviewer\\ - \end{tabularx} - } - \cleardoublepage -\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-pa.def b/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-pa.def deleted file mode 100644 index 790563eceb..0000000000 --- a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-pa.def +++ /dev/null @@ -1,59 +0,0 @@ -\begin{titlepage} - \centering - \ifcsempty{iodhbwm@institute@logo}{% - \includegraphics[height=1.5cm]{\getDHBWLogo} - }{% - \begin{minipage}[c]{.25\textwidth} - \includegraphics[width=\linewidth,keepaspectratio]{\getDHBWLogo} - \end{minipage} - \hfill - \begin{minipage}[c]{.25\textwidth} - \raggedleft - \includegraphics[width=\linewidth,keepaspectratio]{\getInstituteLogo} - \end{minipage} - } - - \bigskip - - \Large\textsc{Projektarbeit} - - \normalsize - des Studiengangs \getCourseName\par - der Dualen Hochschule Baden-Württemberg \getDHBWLocation - - \rule{\textwidth}{.5mm}\bigskip - - \textsc{\large Thema \ifcsempty{iodhbwm@thesis@second@title}{}{A}} - - {\bfseries \getThesisTitle}\bigskip - - \ifcsempty{iodhbwm@thesis@second@title}{}{% - \textsc{\large Thema B}\par - %\tikz{\node (1) [draw, rounded rectangle] {Kolloquium};} - {\bfseries \getThesisSecondTitle} - }{} - - \rule{\textwidth}{.5mm} - - \vfill - - \par - {\bfseries\large \getAuthor}\par - \getDate - - \vfill - - \small{% - \begin{tabularx}{\textwidth}{@{}lX@{}} - \toprule - Bearbeitungszeitraum: & \getProcessingPeriod\\ - Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\ - \ifcsempty{iodhbwm@institute@section}{}{Abteilung: & \getInstituteSection\\}% - Ausbildungsfirma: & \getInstitute\\ - \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}% - Betreuer: & \getSupervisor\\ - Unterschrift Betreuer & \rule[-.5cm]{.5\columnwidth}{.5pt} - \end{tabularx} - } - \cleardoublepage -\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-sa.def b/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-sa.def deleted file mode 100644 index b1cab1a480..0000000000 --- a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-sa.def +++ /dev/null @@ -1,46 +0,0 @@ -\begin{titlepage} - \centering - \includegraphics[height=1.7cm]{\getDHBWLogo} - - \Large\textsc{Studienarbeit} - - \normalsize - des Studiengangs \getCourseName\par - der Dualen Hochschule Baden-Württemberg \getDHBWLocation - - \rule{\textwidth}{.5mm}\bigskip - - \textsc{\large Thema \ifcsempty{iodhbwm@thesis@second@title}{}{A}} - - {\bfseries \getThesisTitle}\bigskip - - \ifcsempty{iodhbwm@thesis@second@title}{}{% - \textsc{\large Thema B}\par - %\tikz{\node (1) [draw, rounded rectangle] {Kolloquium};} - {\bfseries \getThesisSecondTitle} - }{} - - \rule{\textwidth}{.5mm} - - \vfill - - von\par - {\bfseries\large \getAuthor}\par - \getDate - - \vfill - - \small{% - \begin{tabularx}{\textwidth}{@{}lX@{}} - \toprule - Bearbeitungszeitraum: & \getProcessingPeriod\\ - Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\ -% Abteilung: & \getInstituteSection\\ - Ausbildungsfirma: & \getInstitute\\ - \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}% - Betreuer: & \getSupervisor\\ -% Unterschrift Betreuer & \rule[-.5cm]{.5\columnwidth}{.5pt} - \end{tabularx} - } - \cleardoublepage -\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage.def b/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage.def deleted file mode 100644 index 33b50837a2..0000000000 --- a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage.def +++ /dev/null @@ -1,74 +0,0 @@ -\begin{titlepage} - \begin{minipage}[c]{.30\textwidth} - \includegraphics[height=1.7cm]{dhbw-logo} - \end{minipage} - \hfill - \begin{minipage}[c]{.30\textwidth} - \centering - \includegraphics[height=1.7cm]{example-image} - \end{minipage} - \hfill - \begin{minipage}[c]{.30\textwidth} - \raggedleft - \includegraphics[height=1.7cm]{example-image} - \end{minipage} - - \begin{center} - \Large\textsc{Arbeit} - - \normalsize - des Studiengangs Informationstechnik\par - der Dualen Hochschule Baden-Württemberg \getDHBWLocation - \end{center} - - \rule{\textwidth}{.5mm}\bigskip - % \begin{minipage}[t]{.45\textwidth} - % \centering\textsc{Thema A} - % - % \bfseries\large \dots - % \hfill - % \begin{minipage}[t]{.45\textwidth} - % \centering\textsc{Thema B} - % - % \tikz{\node (1) [draw, rounded rectangle] {Kolloquium};}\par - % - % \bfseries\large \dots - % \end{minipage} - % \\[1em] - - \centering\textsc{\large Thema \ifcsempty{iodhbwm@thesis@second@title}{}{A}} - - {\bfseries \getThesisTitle}\bigskip - - \ifcsempty{iodhbwm@thesis@second@title}{}{% - \textsc{\large Thema B}\par - %\tikz{\node (1) [draw, rounded rectangle] {Kolloquium};} - {\bfseries \getThesisSecondTitle} - }{} - - \rule{\textwidth}{.5mm} - - \vfill - - \begin{center} - von\par - \centering{\bfseries\large \getAuthor}\par - \today - \end{center} - - \vfill - - \small{% - \begin{tabularx}{\textwidth}{@{}lX@{}} - \toprule - Bearbeitungszeitraum: & \getProcessingPeriod\\ - Matrikelnummer, Kurs: & \getStudentId\\ - Abteilung: & \getInstituteSection\\ - Ausbildungsfirma: & \getInstitute\\ - Standort: & \getLocation\\ - Betreuer: & \getSupervisor\\ - Unterschrift Betreuer & \rule[-.5cm]{.5\columnwidth}{.5pt} - \end{tabularx} - } - \cleardoublepage -\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/i18n.def b/macros/latex/contrib/iodhbwm/tex/i18n.def new file mode 100644 index 0000000000..42dda7a3ff --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/i18n.def @@ -0,0 +1,36 @@ +\newcommand{\@addlanguage}[7]{% + \iflanguage{#1}{ + \renewcommand*{\iodhbwm@file@prefix}{i18n/#1/dhbw} + + \def\iodhbwm@bachelor@type@boe{#2} + \def\iodhbwm@bachelor@type@bos{#3} + \def\iodhbwm@bachelor@type@boa{#4} + + \def\iodhbwm@thesis@type@ba{#5} + \def\iodhbwm@thesis@type@pa{#6} + \def\iodhbwm@thesis@type@sa{#7} + + \booltrue{iodhbwm@if@supported@language} + }% + {}% +} + +% ################################################################ +% ### ADD SUPPORTED LANGUAGES HERE +% ################################################################ + +% english +\@addlanguage{english} + {Bachelor of Engineering} + {Bachelor of Science} + {Bachelor of Arts} + {bachelor's thesis} + {project report} + {study report} + +% ################################################################ + +% Print waring if an unsupported language is used +\ifbool{iodhbwm@if@supported@language}{}{% + \PackageWarning{\iodhbwm@pkg@name}{The passed language `\iodhbwm@main@language` was not found.\MessageBreak Using ngerman instead.} +} diff --git a/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-declaration.def b/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-declaration.def new file mode 100644 index 0000000000..83412c1939 --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-declaration.def @@ -0,0 +1,37 @@ +\clearpage + +\ifcsdef{chapter}% +{\chapter*{Declaration}}% +{\section*{Declaration}} + +\thispagestyle{empty} + +\bigskip + +I hereby assure you that I have written my \getThesisType{} on the\bigskip + +\textsc{Subject \ifcsempty{iodhbwm@thesis@second@title}{}{A}} + +{\bfseries \getThesisTitle} + +\ifcsempty{iodhbwm@thesis@second@title}{}{% +\bigskip +\textsc{Subject B}\par% +{\bfseries \getThesisSecondTitle}% +}{}\bigskip + +independently and that I have not used any other sources and aids than those indicated. + + +I also assure you that the electronic version submitted is the same as the printed version.$^\ast$ + +{\small$^\ast$ if both versions are required.} + +\vfill + +\begin{tabular}{l} +\hline +\getLocation, \getDate +\end{tabular} + +\clearpage \ No newline at end of file diff --git a/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-ba.def b/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-ba.def new file mode 100644 index 0000000000..0d72435ca4 --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-ba.def @@ -0,0 +1,57 @@ +\begin{titlepage} + \centering + \ifcsempty{iodhbwm@institute@logo}{% + \includegraphics[height=1.7cm]{\getDHBWLogo} + }{% + \begin{minipage}[c]{.25\textwidth} + \includegraphics[width=\linewidth,keepaspectratio]{\getDHBWLogo} + \end{minipage} + \hfill + \begin{minipage}[c]{.25\textwidth} + \centering + \includegraphics[width=\linewidth,keepaspectratio]{\getInstituteLogo} + \end{minipage} + } + + \bigskip + + \rule{\textwidth}{.5mm}\bigskip + + {\bfseries \getThesisTitle}\smallskip + + \rule{\textwidth}{.5mm}\bigskip + + \textsc{\Large Bachelor's thesis} + + \bigskip + for the degree + + \textsc{\large \getBachelorDegree} + + \bigskip + of the course \getCourseName\par + at the Baden-Wuerttemberg Cooperative State University \getDHBWLocation + + \vfill + + by\par + {\bfseries\large \getAuthor}\bigskip + + Submission on \getSubmissionDate + + \vfill + + \small{% + \begin{tabularx}{\textwidth}{@{}lX@{}} + \toprule + Processing Period: & \getProcessingPeriod\\ + Student id, course: & \getStudentId, \getCourseId\\ + \ifcsempty{iodhbwm@institute@section}{}{Department: & \getInstituteSection\\}% + Apprenticing company: & \getInstitute\\ + \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}% + Company's supervisor: & \getSupervisor\\ + University's reviewer: & \getReviewer\\ + \end{tabularx} + } + \cleardoublepage +\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-pa.def b/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-pa.def new file mode 100644 index 0000000000..31254bc505 --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-pa.def @@ -0,0 +1,59 @@ +\begin{titlepage} + \centering + \ifcsempty{iodhbwm@institute@logo}{% + \includegraphics[height=1.5cm]{\getDHBWLogo} + }{% + \begin{minipage}[c]{.25\textwidth} + \includegraphics[width=\linewidth,keepaspectratio]{\getDHBWLogo} + \end{minipage} + \hfill + \begin{minipage}[c]{.25\textwidth} + \raggedleft + \includegraphics[width=\linewidth,keepaspectratio]{\getInstituteLogo} + \end{minipage} + } + + \bigskip + + \Large\textsc{Project report} + + \normalsize + of the course \getCourseName\par + at the Baden-Wuerttemberg Cooperative State University \getDHBWLocation + + \rule{\textwidth}{.5mm}\bigskip + + \textsc{\large Subject \ifcsempty{iodhbwm@thesis@second@title}{}{A}} + + {\bfseries \getThesisTitle}\bigskip + + \ifcsempty{iodhbwm@thesis@second@title}{}{% + \textsc{\large Subject B}\par + %\tikz{\node (1) [draw, rounded rectangle] {Colloquium};} + {\bfseries \getThesisSecondTitle} + }{} + + \rule{\textwidth}{.5mm} + + \vfill + + \par + {\bfseries\large \getAuthor}\par + \getDate + + \vfill + + \small{% + \begin{tabularx}{\textwidth}{@{}lX@{}} + \toprule + Processing Period: & \getProcessingPeriod\\ + Student id, course: & \getStudentId, \getCourseId\\ + \ifcsempty{iodhbwm@institute@section}{}{Department: & \getInstituteSection\\}% + Apprenticing company: & \getInstitute\\ + \ifbool{iodhbwm@if@print@location}{Location: & \getLocation\\}{}% + Supervisor: & \getSupervisor\\ + Signature of supervisor & \rule[-.5cm]{.5\columnwidth}{.5pt} + \end{tabularx} + } + \cleardoublepage +\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-sa.def b/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-sa.def new file mode 100644 index 0000000000..51a2c29e6d --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage-sa.def @@ -0,0 +1,59 @@ +\begin{titlepage} + \centering + \ifcsempty{iodhbwm@institute@logo}{% + \includegraphics[height=1.5cm]{\getDHBWLogo} + }{% + \begin{minipage}[c]{.25\textwidth} + \includegraphics[width=\linewidth,keepaspectratio]{\getDHBWLogo} + \end{minipage} + \hfill + \begin{minipage}[c]{.25\textwidth} + \raggedleft + \includegraphics[width=\linewidth,keepaspectratio]{\getInstituteLogo} + \end{minipage} + } + + \bigskip + + \Large\textsc{Study report} + + \normalsize + of the course \getCourseName\par + at the Baden-Wuerttemberg Cooperative State University \getDHBWLocation + + \rule{\textwidth}{.5mm}\bigskip + + \textsc{\large Subject \ifcsempty{iodhbwm@thesis@second@title}{}{A}} + + {\bfseries \getThesisTitle}\bigskip + + \ifcsempty{iodhbwm@thesis@second@title}{}{% + \textsc{\large Subject B}\par + %\tikz{\node (1) [draw, rounded rectangle] {Colloquium};} + {\bfseries \getThesisSecondTitle} + }{} + + \rule{\textwidth}{.5mm} + + \vfill + + \par + {\bfseries\large \getAuthor}\par + \getDate + + \vfill + + \small{% + \begin{tabularx}{\textwidth}{@{}lX@{}} + \toprule + Processing Period: & \getProcessingPeriod\\ + Student id, course: & \getStudentId, \getCourseId\\ + \ifcsempty{iodhbwm@institute@section}{}{Department: & \getInstituteSection\\}% +% Apprenticing company: & \getInstitute\\ + \ifbool{iodhbwm@if@print@location}{Location: & \getLocation\\}{}% + Supervisor: & \getSupervisor\\ +% Signature of supervisor & \rule[-.5cm]{.5\columnwidth}{.5pt} + \end{tabularx} + } + \cleardoublepage +\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage.def b/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage.def new file mode 100644 index 0000000000..efd704204f --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/i18n/english/dhbw-titlepage.def @@ -0,0 +1,55 @@ +\begin{titlepage} + \centering + \begin{minipage}[c]{.25\textwidth} + \includegraphics[width=\linewidth,keepaspectratio]{dhbw-logo} + \end{minipage} + \hfill + \begin{minipage}[c]{.25\textwidth} + \raggedleft + \includegraphics[width=\linewidth,keepaspectratio]{example-image} + \end{minipage} + + \bigskip + + \Large\textsc{Report} + + \normalsize + of the course Information Technology\par + at the Baden-Wuerttemberg Cooperative State University \getDHBWLocation + + \rule{\textwidth}{.5mm}\bigskip + + \textsc{\large Subject \ifcsempty{iodhbwm@thesis@second@title}{}{A}} + + {\bfseries \getThesisTitle}\bigskip + + \ifcsempty{iodhbwm@thesis@second@title}{}{% + \textsc{\large Subject B}\par + %\tikz{\node (1) [draw, rounded rectangle] {Colloquium};} + {\bfseries \getThesisSecondTitle} + }{} + + \rule{\textwidth}{.5mm} + + \vfill + + \par + {\bfseries\large \getAuthor}\par + \today + + \vfill + + \small{% + \begin{tabularx}{\textwidth}{@{}lX@{}} + \toprule + Processing Period: & \getProcessingPeriod\\ + Student id, course: & \getStudentId, \getCourseId\\ + Department: & \getInstituteSection\\ + Apprenticing company: & \getInstitute\\ + Location: & \getLocation\\ + Supervisor: & \getSupervisor\\ + Signature of supervisor & \rule[-.5cm]{.5\columnwidth}{.5pt} + \end{tabularx} + } + \cleardoublepage +\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-declaration.def b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-declaration.def new file mode 100644 index 0000000000..93c915f9d1 --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-declaration.def @@ -0,0 +1,35 @@ +\ifcsdef{chapter}% +{\chapter*{Erklärung}}% +{\section*{Erklärung}} + +\thispagestyle{empty} + +\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 + +\begin{tabular}{l} + \hline + \getLocation, den \getDate +\end{tabular} + +\clearpage diff --git a/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-ba.def b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-ba.def new file mode 100644 index 0000000000..5bf27cb638 --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-ba.def @@ -0,0 +1,57 @@ +\begin{titlepage} + \centering + \ifcsempty{iodhbwm@institute@logo}{% + \includegraphics[height=1.7cm]{\getDHBWLogo} + }{% + \begin{minipage}[c]{.25\textwidth} + \includegraphics[width=\linewidth,keepaspectratio]{\getDHBWLogo} + \end{minipage} + \hfill + \begin{minipage}[c]{.25\textwidth} + \centering + \includegraphics[width=\linewidth,keepaspectratio]{\getInstituteLogo} + \end{minipage} + } + + \bigskip + + \rule{\textwidth}{.5mm}\bigskip + + {\bfseries \getThesisTitle}\smallskip + + \rule{\textwidth}{.5mm}\bigskip + + \textsc{\Large Bachelorarbeit} + + \bigskip + für die Prüfung zum + + \textsc{\large \getBachelorDegree} + + \bigskip + des Studiengangs \getCourseName\par + der Dualen Hochschule Baden-Württemberg \getDHBWLocation + + \vfill + + von\par + {\bfseries\large \getAuthor}\bigskip + + Abgabe am \getSubmissionDate + + \vfill + + \small{% + \begin{tabularx}{\textwidth}{@{}lX@{}} + \toprule + Bearbeitungszeitraum: & \getProcessingPeriod\\ + Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\ + \ifcsempty{iodhbwm@institute@section}{}{Abteilung: & \getInstituteSection\\}% + Ausbildungsbetrieb: & \getInstitute\\ + \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}% + Betreuer des Ausbildungsbetriebs: & \getSupervisor\\ + Gutachter der Dualen Hochschule: & \getReviewer\\ + \end{tabularx} + } + \cleardoublepage +\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-pa.def b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-pa.def new file mode 100644 index 0000000000..1c05221abb --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-pa.def @@ -0,0 +1,59 @@ +\begin{titlepage} + \centering + \ifcsempty{iodhbwm@institute@logo}{% + \includegraphics[height=1.5cm]{\getDHBWLogo} + }{% + \begin{minipage}[c]{.25\textwidth} + \includegraphics[width=\linewidth,keepaspectratio]{\getDHBWLogo} + \end{minipage} + \hfill + \begin{minipage}[c]{.25\textwidth} + \raggedleft + \includegraphics[width=\linewidth,keepaspectratio]{\getInstituteLogo} + \end{minipage} + } + + \bigskip + + \Large\textsc{Projektarbeit} + + \normalsize + des Studiengangs \getCourseName\par + der Dualen Hochschule Baden-Württemberg \getDHBWLocation + + \rule{\textwidth}{.5mm}\bigskip + + \textsc{\large Thema \ifcsempty{iodhbwm@thesis@second@title}{}{A}} + + {\bfseries \getThesisTitle}\bigskip + + \ifcsempty{iodhbwm@thesis@second@title}{}{% + \textsc{\large Thema B}\par + %\tikz{\node (1) [draw, rounded rectangle] {Kolloquium};} + {\bfseries \getThesisSecondTitle} + }{} + + \rule{\textwidth}{.5mm} + + \vfill + + \par + {\bfseries\large \getAuthor}\par + \getDate + + \vfill + + \small{% + \begin{tabularx}{\textwidth}{@{}lX@{}} + \toprule + Bearbeitungszeitraum: & \getProcessingPeriod\\ + Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\ + \ifcsempty{iodhbwm@institute@section}{}{Abteilung: & \getInstituteSection\\}% + Ausbildungsbetrieb: & \getInstitute\\ + \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}% + Betreuer: & \getSupervisor\\ + Unterschrift Betreuer & \rule[-.5cm]{.5\columnwidth}{.5pt} + \end{tabularx} + } + \cleardoublepage +\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-sa.def b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-sa.def new file mode 100644 index 0000000000..c58239db3a --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-sa.def @@ -0,0 +1,46 @@ +\begin{titlepage} + \centering + \includegraphics[height=1.7cm]{\getDHBWLogo} + + \Large\textsc{Studienarbeit} + + \normalsize + des Studiengangs \getCourseName\par + der Dualen Hochschule Baden-Württemberg \getDHBWLocation + + \rule{\textwidth}{.5mm}\bigskip + + \textsc{\large Thema \ifcsempty{iodhbwm@thesis@second@title}{}{A}} + + {\bfseries \getThesisTitle}\bigskip + + \ifcsempty{iodhbwm@thesis@second@title}{}{% + \textsc{\large Thema B}\par + %\tikz{\node (1) [draw, rounded rectangle] {Kolloquium};} + {\bfseries \getThesisSecondTitle} + }{} + + \rule{\textwidth}{.5mm} + + \vfill + + von\par + {\bfseries\large \getAuthor}\par + \getDate + + \vfill + + \small{% + \begin{tabularx}{\textwidth}{@{}lX@{}} + \toprule + Bearbeitungszeitraum: & \getProcessingPeriod\\ + Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\ +% Abteilung: & \getInstituteSection\\ + Ausbildungsbetrieb: & \getInstitute\\ + \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}% + Betreuer: & \getSupervisor\\ +% Unterschrift Betreuer & \rule[-.5cm]{.5\columnwidth}{.5pt} + \end{tabularx} + } + \cleardoublepage +\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage.def b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage.def new file mode 100644 index 0000000000..1c34e5bf48 --- /dev/null +++ b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage.def @@ -0,0 +1,55 @@ +\begin{titlepage} + \centering + \begin{minipage}[c]{.25\textwidth} + \includegraphics[width=\linewidth,keepaspectratio]{dhbw-logo} + \end{minipage} + \hfill + \begin{minipage}[c]{.25\textwidth} + \raggedleft + \includegraphics[width=\linewidth,keepaspectratio]{example-image} + \end{minipage} + + \bigskip + + \Large\textsc{Arbeit} + + \normalsize + des Studiengangs Informationstechnik\par + der Dualen Hochschule Baden-Württemberg \getDHBWLocation + + \rule{\textwidth}{.5mm}\bigskip + + \textsc{\large Thema \ifcsempty{iodhbwm@thesis@second@title}{}{A}} + + {\bfseries \getThesisTitle}\bigskip + + \ifcsempty{iodhbwm@thesis@second@title}{}{% + \textsc{\large Thema B}\par + %\tikz{\node (1) [draw, rounded rectangle] {Kolloquium};} + {\bfseries \getThesisSecondTitle} + }{} + + \rule{\textwidth}{.5mm} + + \vfill + + \par + \centering{\bfseries\large \getAuthor}\par + \today + + \vfill + + \small{% + \begin{tabularx}{\textwidth}{@{}lX@{}} + \toprule + Bearbeitungszeitraum: & \getProcessingPeriod\\ + Matrikelnummer, Kurs: & \getStudentId\\ + Abteilung: & \getInstituteSection\\ + Ausbildungsfirma: & \getInstitute\\ + Standort: & \getLocation\\ + Betreuer: & \getSupervisor\\ + Unterschrift Betreuer & \rule[-.5cm]{.5\columnwidth}{.5pt} + \end{tabularx} + } + \cleardoublepage +\end{titlepage} diff --git a/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty b/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty index 3f9a6e7b06..b52807439e 100644 --- a/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty +++ b/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty @@ -7,7 +7,7 @@ % Felix Faltin % E-Mail: ffaltin91@gmail.com % ---------------------------------------------------------- -% Copyright 2017-2019 Felix Faltin +% Copyright 2017-2020 Felix Faltin % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -23,8 +23,8 @@ % % ---------------------------------------------------------- -\newcommand*{\iodhbwm@pkg@version}{v1.1.1} -\newcommand*{\iodhbwm@pkg@date}{2019-09-08} +\newcommand*{\iodhbwm@pkg@version}{v1.2} +\newcommand*{\iodhbwm@pkg@date}{2020-04-01} \newcommand*{\iodhbwm@pkg@info}{Inoffical DHBW Mannheim thesis package} \newcommand*{\iodhbwm@pkg@name}{iodhbwm-templates} @@ -67,11 +67,28 @@ \newbool{iodhbwm@if@print@lof} \newbool{iodhbwm@if@print@location} \newbool{iodhbwm@if@oldpagestyle} +\newbool{iodhbwm@if@supported@language} + +% ---------------------------------------------------------- +% Define language depended settings +% ---------------------------------------------------------- +% Default language: ngerman +\newcommand*{\iodhbwm@file@prefix}{i18n/ngerman/dhbw} + +\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} + +\iflanguage{ngerman}{\booltrue{iodhbwm@if@supported@language}}{} +\input{i18n.def} % ---------------------------------------------------------- % Define internal commands % ---------------------------------------------------------- -\newcommand*{\iodhbwm@file@prefix}{dhbw} \newcommand*{\iodhbwm@file@ending}{.def} \edef\iodhbwm@file@titlepage@default{\iodhbwm@file@prefix-titlepage\iodhbwm@file@ending} \edef\iodhbwm@file@titlepage@ba{\iodhbwm@file@prefix-titlepage-ba\iodhbwm@file@ending} @@ -80,13 +97,6 @@ \edef\iodhbwm@file@declaration@default{\iodhbwm@file@prefix-declaration\iodhbwm@file@ending} \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} diff --git a/macros/latex/contrib/iodhbwm/tex/iodhbwm.cls b/macros/latex/contrib/iodhbwm/tex/iodhbwm.cls index 86d6340ed3..c1ffa62ff6 100644 --- a/macros/latex/contrib/iodhbwm/tex/iodhbwm.cls +++ b/macros/latex/contrib/iodhbwm/tex/iodhbwm.cls @@ -7,7 +7,7 @@ % Felix Faltin % E-Mail: ffaltin91@gmail.com % ---------------------------------------------------------- -% Copyright 2017-2019 Felix Faltin +% Copyright 2017-2020 Felix Faltin % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -23,8 +23,8 @@ % % ---------------------------------------------------------- -\newcommand*{\iodhbwm@cls@version}{v1.1.1} -\newcommand*{\iodhbwm@cls@date}{2019-09-08} +\newcommand*{\iodhbwm@cls@version}{v1.2} +\newcommand*{\iodhbwm@cls@date}{2020-04-01} \newcommand*{\iodhbwm@cls@info}{Inoffical DHBW Mannheim thesis class} \ProvidesClass{iodhbwm}[% -- cgit v1.2.3