Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions tex/ausarbeitung.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\documentclass[msc,m,palatino,oneside,12pt]{softlang}
\documentclass[msc,w,palatino,oneside,12pt]{softlang}

% Use one of the following terms and replace msc as argument in documentclass:
% Master of Science thesis: msc
Expand All @@ -15,6 +15,8 @@
% oneside is for normal text layout, the text is centered
% twoside prints the text assymmetric
% palatino is tzhe font of the letters
% extern enables logo and name for external partner
% germen sets main document languge to german. Default is english.


% BibLatex for Bibliography
Expand Down Expand Up @@ -58,6 +60,10 @@
\title{<Titel der Arbeit>}
\studiengang{<Studiengang>}

% set document option 'extern' to enable this functionality
% \externLogo{7.46cm}{logos/name}
% \externName{<Name Extern>}

\makeatletter
%% Set the metadata for the PDF document and the colors of the internal links.
%% All colors are set to black in order to avoid unnecessary colorfulness.
Expand Down Expand Up @@ -135,5 +141,4 @@
\cleardoublepage
%\bibliographystyle{alphadin}
\printbibliography
\end{document}

\end{document}
290 changes: 154 additions & 136 deletions tex/softlang.cls
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
% 2008-05-14 Nico Jahn (FB-4 Layout für Skripte, Seminararbeiten und DA, SA, BA, MA überarbeitet)
% 2012-10-30 Michael Ruster back to UTF8, use of hyphens in unknown words put together from two known
% 2015-12-25 Matthias Paul (Erweiterung für das Software Languages Team)
% 2024-10-17 Jonas Schell (Anpassungen für das Software Languages Team)
%
%*******************************************************************************

%--- Identification ------------------------------------------------------------

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{softlang}[2015/12/25 v1.3]
\ProvidesClass{softlang}[2024/10/17 v2.0]

%--- Initial code --------------------------------------------------------------

Expand All @@ -41,6 +42,7 @@
\newboolean{@isSingle}
\newboolean{@isOneHalf}
\newboolean{@isDouble}
\newboolean{@isGerman}

%--- Declaration of options ----------------------------------------------------

Expand All @@ -65,6 +67,7 @@
\DeclareOption{single}{\setboolean{@isSingle}{true}}
\DeclareOption{onehalf}{\setboolean{@isOneHalf}{true}}
\DeclareOption{double}{\setboolean{@isDouble}{true}}
\DeclareOption{german}{\setboolean{@isGerman}{true}}

%--- Execution of options ------------------------------------------------------

Expand All @@ -73,7 +76,14 @@
%--- Package loading -----------------------------------------------------------

\LoadClass[a4paper,titlepage]{book}
\RequirePackage[ngerman,english]{babel} % Unterstuetzung neue deutsche Rechtschreibung
% Unterstuetzung neue deutsche
\ifthenelse{\boolean{@isGerman}}{
% Setze Deutsch als Dokumentenhauptsprache
\RequirePackage[english,ngerman]{babel}
}{
% Setze Englisch als Dokumentenhauptsprache
\RequirePackage[ngerman,english]{babel}
}
\RequirePackage{csquotes}
\RequirePackage[T1]{fontenc} % Silbentrennung auch bei Worten mit Umlauten
\RequirePackage[utf8]{inputenc} % Unterstuetzung von Umlauten und Sonderzeichen
Expand Down Expand Up @@ -134,6 +144,12 @@
\def\@drittgutachterInfo{}
\newcommand{\drittgutachterInfo}[1]{\def\@drittgutachterInfo{#1}}

\def\@externLogo{}
\newcommand{\externLogo}[2]{\def\@externLogo{\includegraphics[height=2.14cm]{{#2}}}}

\def\@externName{}
\newcommand{\externName}[1]{\def\@externName{#1}}

\newcommand{\abgabe}{%
\ifcase\month\or Januar\or Februar\or M{\"a}rz\or April\or Mai\or Juni\or
Juli\or August\or September\or Oktober\or November\or Dezember \fi\
Expand All @@ -153,151 +169,153 @@
\renewcommand{\maketitle}{

%%% Titelseite %%%
\setlength{\voffset}{-.5in}
\setlength{\voffset}{-.5in}
% \setlength{\hoffset}{+.25in}
\begin{titlepage}
\begin{titlepage}
% Logo Uni
\noindent\includegraphics[height=1.2cm]{logos/UniLogo}
\hfill
%\includegraphics[height=1.2cm]{logos/IwviLogo}\\
%\hspace*{1.867cm}Fachbereich 4: Informatik%

\normalsize \vspace*{1.5cm}

\hspace*{-1.7cm}
\ifthenelse{\boolean{@isExtern}}{ % mit externem Logo
\begin{tabular*}{\linewidth}{p{.9cm}>{\PBS\raggedleft}p{5cm}@{\hspace{2cm}}p{6cm}}
\@externLogo & & {\includegraphics[height=2.14cm]{logos/UniLogo}} \\[-.1ex]
& \footnotesize \@externName &
\end{tabular*}
}{ % nur Uni-Logo
\begin{tabular*}{\linewidth}{p{.9cm}>{\PBS\raggedleft}p{5cm}@{\hspace{2cm}}p{6cm}}
& & {\includegraphics[height=2.14cm]{logos/UniLogo}}
\end{tabular*}
}
\normalsize \vspace*{1.5cm}
\begin{center}
\doublespacing
{\huge\bfseries\@title}\\[1.25cm]
\singlespacing

\ifthenelse{\boolean{@isScr}}{
\huge Skript\\[.2cm]}

\ifthenelse{\boolean{@isSem}}{
\huge Seminararbeit\\[.2cm]}

\ifthenelse{\boolean{@isProSem}}{
\huge Proseminararbeit\\[.2cm]}

\ifthenelse{\boolean{@isSA}}{
\huge Studienarbeit\\[.2cm]}

\ifthenelse{\boolean{@isPP}}{
\huge Projektpraktikum\\[.2cm]}

\ifthenelse{\boolean{@isDA}}{%
\huge Diplomarbeit\\[.2cm]
\normalsize zur Erlangung des Grades eine%
\ifthenelse{\boolean{@isFemale}}{%
r Diplom-Informatikerin\\}{%
s Diplom-Informatikers\\}}

\ifthenelse{\boolean{@isBA}}{
\huge Bachelorarbeit\\[.2cm]
\normalsize zur Erlangung des Grades eines
Bachelor of Science\\}

\ifthenelse{\boolean{@isMA}}{
\huge Masterarbeit\\[.2cm]
\normalsize zur Erlangung des Grades eines
Master of Science\\}

\ifthenelse{\equal{\@studiengang}{}}{}{
\normalsize im Studiengang \@studiengang \\[0.75cm]}

\normalsize vorgelegt von\\[1ex]\Large\@author \\[2.3cm]
\doublespacing
{\huge\bfseries\@title}\\[1.25cm]
\singlespacing

\ifthenelse{\boolean{@isScr}}{
\huge Skript\\[.2cm]
}{}
\ifthenelse{\boolean{@isSem}}{
\huge Seminararbeit\\[.2cm]
}{}
\ifthenelse{\boolean{@isProSem}}{
\huge Proseminararbeit\\[.2cm]
}{}
\ifthenelse{\boolean{@isSA}}{
\huge Studienarbeit\\[.2cm]
}{}
\ifthenelse{\boolean{@isPP}}{
\huge Projektpraktikum\\[.2cm]
}{}
\ifthenelse{\boolean{@isDA}}{
\huge Diplomarbeit\\[.2cm]
\normalsize zur Erlangung des Grades eine
\ifthenelse{\boolean{@isFemale}}{
r Diplom-Informatikerin\\
}{
s Diplom-Informatikers\\
}
}{}
\ifthenelse{\boolean{@isBA}}{
\huge Bachelorarbeit\\[.2cm]
\normalsize zur Erlangung des Grades eines Bachelor of Science\\
}{}
\ifthenelse{\boolean{@isMA}}{
\huge Masterarbeit\\[.2cm]
\normalsize zur Erlangung des Grades eines Master of Science\\
}{}
\ifthenelse{\equal{\@studiengang}{}}{
% Do nothing if \@studiengang is empty
}{
\normalsize im Studiengang \@studiengang \\[0.75cm]
}
\normalsize vorgelegt von\\[1ex]\Large\@author \\[2.3cm]
\end{center}

\normalsize {

\ifthenelse{\boolean{@isScr}}{
\begin{tabularx}{\linewidth}{l X}
Dozent : & \@dozent \\
& \@dozentInfo \\[.2cm]
\end{tabularx}\\[2cm]}{

\ifthenelse{\boolean{@isProSem}\or\boolean{@isSem}\or\boolean{@isSA}\or\boolean{@isPP}}{%
%% if isSA or isPP or isSem
\begin{tabularx}{\linewidth}{l X}
Betreuer: & \@erstgutachter \\
& \@erstgutachterInfo \\[.2cm]
& \@zweitgutachter \\
& \@zweitgutachterInfo \\[.2cm]
\ifthenelse{\NOT\equal{\@drittgutachter}{}}{
& \@drittgutachter \\
& \@drittgutachterInfo \\[.2cm]}{}
\end{tabularx}\\[2cm]}{%

% \begin{tabularx}{\linewidth}{r X}
\begin{tabularx}{1.05\textwidth}{r X} %{ >{\hsize=.24\hsize}X >{\hsize=0.76\hsize}X}
\ifthenelse{\equal{\@zweitgutachter}{}}{
Gutachter: & \@erstgutachter \\
& \@erstgutachterInfo \\}{
Erstgutachter: & \@erstgutachter \\
& \@erstgutachterInfo \\[.2cm]
Zweitgutachter: & \@zweitgutachter \\
& \@zweitgutachterInfo \\[.2cm]
\ifthenelse{\NOT\equal{\@drittgutachter}{}}{
Betreuer: & \@drittgutachter \\
& \@drittgutachterInfo \\[.2cm]}{}
}
\end{tabularx}\\[2cm]}}
}
\normalsize \hspace*{.12cm} Koblenz, im \abgabe

\normalsize {
\ifthenelse{\boolean{@isScr}}{
\begin{tabularx}{\linewidth}{l X}
Dozent: & \@dozent \\
& \@dozentInfo \\[.2cm]
\end{tabularx}\\[2cm]
}{
\ifthenelse{\boolean{@isProSem}\or\boolean{@isSem}\or\boolean{@isSA}\or\boolean{@isPP}}{
%% if isSA or isPP or isSem
\begin{tabularx}{\linewidth}{l X}
Betreuer: & \@erstgutachter \\
& \@erstgutachterInfo \\[.2cm]
& \@zweitgutachter \\
& \@zweitgutachterInfo \\[.2cm]
\ifthenelse{\NOT\equal{\@drittgutachter}{}}{
& \@drittgutachter \\
& \@drittgutachterInfo \\[.2cm]
}{}
\end{tabularx}\\[2cm]
}{
\begin{tabularx}{1.05\textwidth}{r X} %{ >{\hsize=.24\hsize}X >{\hsize=0.76\hsize}X}
\ifthenelse{\equal{\@zweitgutachter}{}}{
Gutachter: & \@erstgutachter \\
& \@erstgutachterInfo \\
}{
Erstgutachter: & \@erstgutachter \\
& \@erstgutachterInfo \\[.2cm]
Zweitgutachter: & \@zweitgutachter \\
& \@zweitgutachterInfo \\[.2cm]
\ifthenelse{\NOT\equal{\@drittgutachter}{}}{
Betreuer: & \@drittgutachter \\
& \@drittgutachterInfo \\[.2cm]
}{}
}
\end{tabularx}\\[2cm]
}
}
}
\normalsize \hspace*{.12cm} Koblenz, im \abgabe
\end{titlepage}


\setlength{\voffset}{\voffsetBackup}
\setlength{\hoffset}{\hoffsetBackup}


\cleardoublepage

\ifthenelse{\boolean{@isBA}\or\boolean{@isMA}\or\boolean{@isDA}}{

\huge
\textbf{Erklärung}
\normalsize
\newline\newline\newline\newline\newline\newline
\thispagestyle{empty}
\noindent
Hiermit bestätige ich, dass die vorliegende Arbeit von mir selbständig verfasst wurde und ich
keine anderen als die angegebenen Hilfsmittel – insbesondere keine im Quellenverzeichnis
nicht benannten Internet–Quellen – benutzt habe und die Arbeit von mir vorher nicht in einem
anderen Prüfungsverfahren eingereicht wurde. Die eingereichte schriftliche Fassung
entspricht der auf dem elektronischen Speichermedium (CD-Rom).\\
\vspace*{2ex}

\begin{flushleft}
\begin{tabularx}{\linewidth}{X c c}

{} & Ja & Nein \\
{} & {} & {} \\
Mit der Einstellung der Arbeit in die Bibliothek bin ich einverstanden. & $\square$ & $\square$ \\
{} & {} & {} \\
Der Veröffentlichung dieser Arbeit im Internet stimme ich zu. &
$\square$ & $\square$

\end{tabularx}
\end{flushleft}
\vspace*{3cm}


\small
\noindent
\dotfill \\
{\small(Ort, Datum)}\hfill{\small (\@author)}
}{}% Unterschiedliche Zeilenabstaende

\ifthenelse{\boolean{@isSingle}} {
\singlespacing
} {
\ifthenelse{\boolean{@isDouble}} {
\doublespacing
} {
\onehalfspacing
\ifthenelse{\boolean{@isBA}\or\boolean{@isMA}\or\boolean{@isDA}}{
\huge
\textbf{Erklärung}
\normalsize
\newline
\newline
\newline
\newline
\newline
\newline
\thispagestyle{empty}
\noindent
Hiermit erkläre ich, dass ich die vorliegende Arbeit eigenständig und ohne fremde Hilfe angefertigt habe. Textpassagen, die wörtlich oder dem Sinn nach auf Publikationen oder Vorträgen anderer Autoren beruhen, sind als solche kenntlich gemacht.
\\
Die Arbeit wurde bisher keiner anderen Prüfungsbehörde vorgelegt und auch noch nicht veröffentlicht.\\
\vspace*{2ex}

\begin{flushleft}
\begin{tabularx}{\linewidth}{X c c}
& Ja & Nein \\
& & \\
Mit der Einstellung der Arbeit in die Bibliothek bin ich einverstanden. & $\square$ & $\square$ \\
& & \\
Der Veröffentlichung dieser Arbeit im Internet stimme ich zu. & $\square$ & $\square$
\end{tabularx}
\end{flushleft}
\vspace*{3cm}

\small
\noindent
\dotfill \\
{\small(Ort, Datum)}\hfill{\small (\@author)}
}{}
\ifthenelse{\boolean{@isSingle}} {
\singlespacing
}{
\ifthenelse{\boolean{@isDouble}} {
\doublespacing
}{
\onehalfspacing
}
}
}
}

\interfootnotelinepenalty=10000