diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
8 files changed, 60 insertions, 285 deletions
diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-declaration.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-declaration.def deleted file mode 100644 index 93c915f9d11..00000000000 --- a/Master/texmf-dist/tex/latex/iodhbwm/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/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-ba.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-ba.def deleted file mode 100644 index f8e05ce8df2..00000000000 --- a/Master/texmf-dist/tex/latex/iodhbwm/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/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-pa.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-pa.def deleted file mode 100644 index 790563ecebb..00000000000 --- a/Master/texmf-dist/tex/latex/iodhbwm/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/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-sa.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-sa.def deleted file mode 100644 index b1cab1a4804..00000000000 --- a/Master/texmf-dist/tex/latex/iodhbwm/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/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage.def deleted file mode 100644 index 33b50837a22..00000000000 --- a/Master/texmf-dist/tex/latex/iodhbwm/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/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-i18n.def b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-i18n.def new file mode 100644 index 00000000000..42dda7a3ff1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-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/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-templates.sty b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-templates.sty index 3f9a6e7b061..15ef8e93171 100644 --- a/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-templates.sty +++ b/Master/texmf-dist/tex/latex/iodhbwm/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.1} +\newcommand*{\iodhbwm@pkg@date}{2020-04-13} \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{iodhbwm-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/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm.cls b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm.cls index 86d6340ed38..2c3e62ea26c 100644 --- a/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm.cls +++ b/Master/texmf-dist/tex/latex/iodhbwm/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.1} +\newcommand*{\iodhbwm@cls@date}{2020-04-13} \newcommand*{\iodhbwm@cls@info}{Inoffical DHBW Mannheim thesis class} \ProvidesClass{iodhbwm}[% |