diff options
Diffstat (limited to 'macros/latex/contrib/iodhbwm/tex')
13 files changed, 344 insertions, 50 deletions
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/dhbw-declaration.def b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-declaration.def index 93c915f9d1..93c915f9d1 100644 --- a/macros/latex/contrib/iodhbwm/tex/dhbw-declaration.def +++ b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-declaration.def diff --git a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-ba.def b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-ba.def index f8e05ce8df..5bf27cb638 100644 --- a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-ba.def +++ b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-ba.def @@ -47,9 +47,9 @@ Bearbeitungszeitraum: & \getProcessingPeriod\\ Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\ \ifcsempty{iodhbwm@institute@section}{}{Abteilung: & \getInstituteSection\\}% - Ausbildungsfirma: & \getInstitute\\ + Ausbildungsbetrieb: & \getInstitute\\ \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}% - Betreuer der Ausbildungsfirma: & \getSupervisor\\ + Betreuer des Ausbildungsbetriebs: & \getSupervisor\\ Gutachter der Dualen Hochschule: & \getReviewer\\ \end{tabularx} } diff --git a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-pa.def b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-pa.def index 790563eceb..1c05221abb 100644 --- a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-pa.def +++ b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-pa.def @@ -49,7 +49,7 @@ Bearbeitungszeitraum: & \getProcessingPeriod\\ Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\ \ifcsempty{iodhbwm@institute@section}{}{Abteilung: & \getInstituteSection\\}% - Ausbildungsfirma: & \getInstitute\\ + Ausbildungsbetrieb: & \getInstitute\\ \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}% Betreuer: & \getSupervisor\\ Unterschrift Betreuer & \rule[-.5cm]{.5\columnwidth}{.5pt} diff --git a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-sa.def b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-sa.def index b1cab1a480..c58239db3a 100644 --- a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage-sa.def +++ b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage-sa.def @@ -36,7 +36,7 @@ Bearbeitungszeitraum: & \getProcessingPeriod\\ Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\ % Abteilung: & \getInstituteSection\\ - Ausbildungsfirma: & \getInstitute\\ + Ausbildungsbetrieb: & \getInstitute\\ \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}% Betreuer: & \getSupervisor\\ % Unterschrift Betreuer & \rule[-.5cm]{.5\columnwidth}{.5pt} diff --git a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage.def b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage.def index 33b50837a2..1c34e5bf48 100644 --- a/macros/latex/contrib/iodhbwm/tex/dhbw-titlepage.def +++ b/macros/latex/contrib/iodhbwm/tex/i18n/ngerman/dhbw-titlepage.def @@ -1,42 +1,25 @@ \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} + \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 - \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}} + \textsc{\large Thema \ifcsempty{iodhbwm@thesis@second@title}{}{A}} {\bfseries \getThesisTitle}\bigskip @@ -50,11 +33,9 @@ \vfill - \begin{center} - von\par + \par \centering{\bfseries\large \getAuthor}\par \today - \end{center} \vfill 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}[% |