Fixed formatting

This commit is contained in:
Frederik Beimgraben 2025-10-29 21:00:21 +01:00
parent b7ca70161e
commit 4acdd04c88
5 changed files with 227 additions and 207 deletions

View File

@ -10,21 +10,28 @@
\vspace{\fill} \vspace{\fill}
% ==== List of Figures ==== \ifthenelse{\value{figure}>0 \OR \value{table}>0}{
\newpage % ==== List of Figures ====
{ \newpage
\noindent {
\blenderfont \noindent
\vspace*{-6em} \blenderfont
\listoffigures \vspace*{-6em}
\ifnum\value{figure}>0
\listoffigures
\fi
}
% ==== List of Tables ====
{
\noindent
\blenderfont
\ifnum\value{table}>0
\listoftables
\fi
}
} }
% ==== List of Tables ====
{
\noindent
\blenderfont
\listoftables
}
% ==== Glossary ===== % ==== Glossary =====
{ {

View File

@ -13,5 +13,3 @@
\section{Wirksamkeit} \section{Wirksamkeit}
\section{Praktikabilität} \section{Praktikabilität}
\section{Ethische Implikationen}

View File

@ -22,8 +22,8 @@
% If not using XeTeX, print an error message and stop compiling % If not using XeTeX, print an error message and stop compiling
\ifx\XeTeXversion\undefined \ifx\XeTeXversion\undefined
\PackageError{HSRTReport}{This class can only be used with XeLaTeX.}{} \PackageError{HSRTReport}{This class can only be used with XeLaTeX.}{}
\stop \stop
\fi \fi
%---------------------------------------- %----------------------------------------
@ -62,17 +62,17 @@
%---------------------------------------- %----------------------------------------
\RequirePackage{hyperref} \RequirePackage{hyperref}
\hypersetup{ \hypersetup{
pdfpagemode={UseOutlines}, pdfpagemode={UseOutlines},
bookmarksopen=true, bookmarksopen=true,
bookmarksopenlevel=0, bookmarksopenlevel=0,
hypertexnames=false, hypertexnames=false,
colorlinks=true, colorlinks=true,
citecolor=[rgb]{0.286, 0.427, 0.537}, citecolor=[rgb]{0.286, 0.427, 0.537},
linkcolor=[rgb]{0.161, 0.31, 0.427}, linkcolor=[rgb]{0.161, 0.31, 0.427},
urlcolor=[rgb]{0.071, 0.212, 0.322}, urlcolor=[rgb]{0.071, 0.212, 0.322},
pdfstartview={FitV}, pdfstartview={FitV},
unicode, unicode,
breaklinks=true breaklinks=true
} }
%---------------------------------------- %----------------------------------------
@ -83,37 +83,37 @@
\definecolor{midnightblue}{rgb}{0.094, 0.051, 0.228} \definecolor{midnightblue}{rgb}{0.094, 0.051, 0.228}
\newfontfamily\blenderfont[ \newfontfamily\blenderfont[
Path=\fontsPath/Blender/, Path=\fontsPath/Blender/,
Extension=.ttf, Extension=.ttf,
UprightFont=*-Medium, UprightFont=*-Medium,
BoldFont=*-Bold, BoldFont=*-Bold,
ItalicFont=*-MediumItalic, ItalicFont=*-MediumItalic,
BoldItalicFont=*-BoldItalic BoldItalicFont=*-BoldItalic
]{Blender} ]{Blender}
\newfontfamily\dinfont[ \newfontfamily\dinfont[
Path=\fontsPath/DIN/, Path=\fontsPath/DIN/,
Extension=.ttf, Extension=.ttf,
UprightFont=*-Regular, UprightFont=*-Regular,
BoldFont=*-Bold, BoldFont=*-Bold,
ItalicFont=*-Italic, ItalicFont=*-Italic,
BoldItalicFont=*-BoldItalic BoldItalicFont=*-BoldItalic
]{DIN} ]{DIN}
\setsansfont{Blender}[ \setsansfont{Blender}[
Path=\fontsPath/Blender/, Path=\fontsPath/Blender/,
Extension=.ttf, Extension=.ttf,
UprightFont=*-Medium, UprightFont=*-Medium,
BoldFont=*-Bold, BoldFont=*-Bold,
ItalicFont=*-MediumItalic, ItalicFont=*-MediumItalic,
BoldItalicFont=*-BoldItalic BoldItalicFont=*-BoldItalic
] ]
\setmainfont{DIN}[ \setmainfont{DIN}[
Path=\fontsPath/DIN/, Path=\fontsPath/DIN/,
Extension=.ttf, Extension=.ttf,
UprightFont=*-Regular, UprightFont=*-Regular,
BoldFont=*-Bold, BoldFont=*-Bold,
ItalicFont=*-Italic, ItalicFont=*-Italic,
BoldItalicFont=*-BoldItalic BoldItalicFont=*-BoldItalic
] ]
@ -137,7 +137,7 @@
\DeclareRobustCommand{\SetLogosScale}[1]{ \DeclareRobustCommand{\SetLogosScale}[1]{
\renewcommand{\logosScale}{#1} \renewcommand{\logosScale}{#1}
} }
\let\newglobalarray\newarray \let\newglobalarray\newarray
@ -157,16 +157,16 @@
% Command to add a logo to the array % Command to add a logo to the array
% Usage: \AddLogoToArray{<Name>}{<Scale>}{<Opacity>} % Usage: \AddLogoToArray{<Name>}{<Scale>}{<Opacity>}
\DeclareRobustCommand{\AddLogo}[4]{ \DeclareRobustCommand{\AddLogo}[4]{
\stepcounter{logoCounter} \stepcounter{logoCounter}
\LogosPaths(\thelogoCounter)={#1} \LogosPaths(\thelogoCounter)={#1}
\LogosScales(\thelogoCounter)={#2} \LogosScales(\thelogoCounter)={#2}
\LogosOpacities(\thelogoCounter)={#3} \LogosOpacities(\thelogoCounter)={#3}
\LogosExtensions(\thelogoCounter)={#4} \LogosExtensions(\thelogoCounter)={#4}
} }
% Command to get opacity of a logo % Command to get opacity of a logo
\DeclareRobustCommand{\GetLogoOpacity}[1]{ \DeclareRobustCommand{\GetLogoOpacity}[1]{
\expand{\LogosOpacities(#1)} \expand{\LogosOpacities(#1)}
} }
% Command to add a data line for the title page (key, value) % Command to add a data line for the title page (key, value)
@ -175,19 +175,19 @@
\def\tand{&} \def\tand{&}
\titlePageData={\tand} \titlePageData={\tand}
\DeclareRobustCommand{\AddTitlePageDataSpace}[1]{ \DeclareRobustCommand{\AddTitlePageDataSpace}[1]{
% Add vertical space of size #1 % Add vertical space of size #1
\titlePageData=\expandafter{\the\titlePageData \vspace{#1}} \titlePageData=\expandafter{\the\titlePageData \vspace{#1}}
} }
\DeclareRobustCommand{\AddTitlePageDataLine}[2]{ \DeclareRobustCommand{\AddTitlePageDataLine}[2]{
\titlePageData=\expandafter{\the\titlePageData\\ \textbf{#1}\tand #2} \titlePageData=\expandafter{\the\titlePageData\\ \textbf{#1}\tand #2}
} }
% Command to get all the data for the title page (to be inserted in tabular) % Command to get all the data for the title page (to be inserted in tabular)
% ({tabular}{@{} p{40mm} l}) Key is always bold % ({tabular}{@{} p{40mm} l}) Key is always bold
\DeclareRobustCommand{\GetTitlePageDataTable}{ \DeclareRobustCommand{\GetTitlePageDataTable}{
\begin{tabular}{@{} p{40mm} l} \begin{tabular}{@{} p{30mm} p{\textwidth-30mm-2\tabcolsep}}
\the\titlePageData \the\titlePageData
\end{tabular} \end{tabular}
} }
% ============================================================================= % =============================================================================
@ -198,51 +198,51 @@
% Define the logo and its position % Define the logo and its position
\AtBeginPage{ \AtBeginPage{
\setlength{\imageHeight}{2cm*\real{\mainLogoScale}*\real{\logosScale}*\real{0.45}} \setlength{\imageHeight}{2cm*\real{\mainLogoScale}*\real{\logosScale}*\real{0.45}}
\begin{tikzpicture}[overlay, remember picture] \begin{tikzpicture}[overlay, remember picture]
% === Main Logo(s) === % === Main Logo(s) ===
\node[anchor=south east, inner sep=0pt, xshift=-\footerXShift, yshift=\footerYShift, opacity=0.0] (logo0) at (current page.south east) { \node[anchor=south east, inner sep=0pt, xshift=-\footerXShift, yshift=\footerYShift, opacity=0.0] (logo0) at (current page.south east) {
\strcompare{\thepage}{1}{}{ \strcompare{\thepage}{1}{}{
\includegraphics[height=\imageHeight]{\imagesPath/DUMMY_FOOT.png} \includegraphics[height=\imageHeight]{\imagesPath/DUMMY_FOOT.png}
} }
}; };
\ifnum\thepage=1 \ifnum\thepage=1
\else \else
% For loop to place all logos % For loop to place all logos
\foreach \i in {1,...,\value{logoCounter}} { \foreach \i in {1,...,\value{logoCounter}} {
% Calculate name for i-1 % Calculate name for i-1
\pgfmathtruncatemacro{\prev}{\i-1} \pgfmathtruncatemacro{\prev}{\i-1}
\node[anchor=east, inner sep=0pt, xshift=-0.1cm, opacity=0.3] (logo\i) at (logo\prev.west) { \node[anchor=east, inner sep=0pt, xshift=-0.1cm, opacity=0.3] (logo\i) at (logo\prev.west) {
\makeatletter \makeatletter
\testarray{LogosScales}(\i) \testarray{LogosScales}(\i)
\setlength{\imageHeight}{1.5cm*\real{\temp@macro}*\real{\logosScale}*\real{0.55}} \setlength{\imageHeight}{1.5cm*\real{\temp@macro}*\real{\logosScale}*\real{0.55}}
\testarray{LogosExtensions}(\i) \testarray{LogosExtensions}(\i)
\let\extension\temp@macro \let\extension\temp@macro
\testarray{LogosOpacities}(\i) \testarray{LogosOpacities}(\i)
\let\opacity\temp@macro \let\opacity\temp@macro
\testarray{LogosPaths}(\i) \testarray{LogosPaths}(\i)
\ifthenelse{\equal{\extension}{svg}}{ \ifthenelse{\equal{\extension}{svg}}{
\begin{tikzpicture} \begin{tikzpicture}
\node[opacity=\opacity] { \node[opacity=\opacity] {
\includesvg[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension} \includesvg[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension}
}; };
\end{tikzpicture} \end{tikzpicture}
}{ }{
\begin{tikzpicture} \begin{tikzpicture}
\node[opacity=\opacity] { \node[opacity=\opacity] {
\includegraphics[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension} \includegraphics[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension}
}; };
\end{tikzpicture} \end{tikzpicture}
} }
\makeatother \makeatother
}; };
} }
\fi \fi
% Skyline % Skyline
\node[anchor=south west, inner sep=0pt, yshift=0em] at (current page.south west) { \node[anchor=south west, inner sep=0pt, yshift=0em] at (current page.south west) {
\includesvg[width=1.5\paperwidth]{\skylinePath} \includesvg[width=1.5\paperwidth]{\skylinePath}
}; };
\end{tikzpicture} \end{tikzpicture}
} }
%---------------------------------------- %----------------------------------------
@ -256,10 +256,10 @@
\fancyfoot[C]{} \fancyfoot[C]{}
\fancypagestyle{fancy}{ \fancypagestyle{fancy}{
\fancyhf{} \fancyhf{}
\fancyhead[L]{\color{gray}\blenderfont \@title} \fancyhead[L]{\color{gray}\blenderfont \@title}
\fancyhead[R]{\pagemark} \fancyhead[R]{\pagemark}
\fancyfoot[C]{} \fancyfoot[C]{}
} }
% Set font for all headings % Set font for all headings
@ -270,14 +270,14 @@
\setkomafont{subsubsection}{\large\blenderfont\bfseries} \setkomafont{subsubsection}{\large\blenderfont\bfseries}
\RedeclareSectionCommand[ \RedeclareSectionCommand[
beforeskip=1ex, beforeskip=1ex,
afterskip=0.5ex, afterskip=0.5ex,
style=section style=section
]{chapter} ]{chapter}
\RedeclareSectionCommands[ \RedeclareSectionCommands[
beforeskip=0.6ex, beforeskip=0.6ex,
afterskip=0.3ex, afterskip=0.3ex,
]{section,subsection,subsubsection} ]{section,subsection,subsubsection}
\newcommand{\decoRule}{\rule{.8\textwidth}{.4pt}} \newcommand{\decoRule}{\rule{.8\textwidth}{.4pt}}
@ -298,8 +298,8 @@
\renewcommand\cftsubsubsecfont{\blenderfont\color{gray}} \renewcommand\cftsubsubsecfont{\blenderfont\color{gray}}
\RedeclareSectionCommands[ \RedeclareSectionCommands[
tocentryformat=\blenderfont\normalsize, tocentryformat=\blenderfont\normalsize,
tocpagenumberformat=\blenderfont\normalsize tocpagenumberformat=\blenderfont\normalsize
]{section,subsection} ]{section,subsection}
% Figure and Table in the Table of Contents % Figure and Table in the Table of Contents

View File

@ -3,77 +3,85 @@
\newcommand{\createdon}[1]{\gdef\@createdon{#1}} \newcommand{\createdon}[1]{\gdef\@createdon{#1}}
\renewcommand{\maketitle}{ \renewcommand{\maketitle}{
\providecommand{\titlepageabstract}{% \providecommand{\titlepageabstract}{%
Dies ist ein Beispiel für ein Abstract. Es sollte eine kurze Zusammenfassung des Inhalts des Seminars sein. Dies ist ein Beispiel für ein Abstract. Es sollte eine kurze Zusammenfassung des Inhalts des Seminars sein.
} }
\setlength{\imageHeight}{2cm*\real{\mainLogoScale}*\real{\logosScale}} \providecommand{\titlepagekeywords}{%
\begin{titlepage} Seminararbeit, Beispiel, Abstract, Zusammenfassung, Inhaltsverzeichnis
\begin{tikzpicture}[overlay, remember picture] }
\node[anchor=south east, inner sep=0pt, xshift=-0.1cm, yshift=0.1cm] (heart) at (current page.south east) { \setlength{\imageHeight}{2cm*\real{\mainLogoScale}*\real{\logosScale}}
\tiny\color{gray}\blenderfont Made with {\ensuremath\heartsuit} in \LaTeX \begin{titlepage}
}; \begin{tikzpicture}[overlay, remember picture]
\node[anchor=north west, inner sep=0pt, xshift=1.3cm, yshift=-1.5cm, opacity=0] (logo0) at (current page.north west) { \node[anchor=south east, inner sep=0pt, xshift=-0.1cm, yshift=0.1cm] (heart) at (current page.south east) {
\includegraphics[height=\imageHeight]{\imagesPath/DUMMY_FOOT.png} \tiny\color{gray}\blenderfont Made with {\ensuremath\heartsuit} in \LaTeX
}; };
\foreach \i in {1,...,\value{logoCounter}} { \node[anchor=north west, inner sep=0pt, xshift=1.3cm, yshift=-1.5cm, opacity=0] (logo0) at (current page.north west) {
% Calculate name for i-1 \includegraphics[height=\imageHeight]{\imagesPath/DUMMY_FOOT.png}
\pgfmathtruncatemacro{\prev}{\i-1} };
\node[anchor=west, inner sep=0pt, xshift=-0.1cm, opacity=0.3] (logo\i) at (logo\prev.east) { \foreach \i in {1,...,\value{logoCounter}} {
\makeatletter % Calculate name for i-1
\testarray{LogosScales}(\i) \pgfmathtruncatemacro{\prev}{\i-1}
\setlength{\imageHeight}{1.5cm*\real{\temp@macro}*\real{\logosScale}} \node[anchor=west, inner sep=0pt, xshift=-0.1cm, opacity=0.3] (logo\i) at (logo\prev.east) {
\testarray{LogosExtensions}(\i) \makeatletter
\let\extension\temp@macro \testarray{LogosScales}(\i)
\testarray{LogosOpacities}(\i) \setlength{\imageHeight}{1.5cm*\real{\temp@macro}*\real{\logosScale}}
\let\opacity\temp@macro \testarray{LogosExtensions}(\i)
\testarray{LogosPaths}(\i) \let\extension\temp@macro
\ifthenelse{\equal{\extension}{svg}}{ \testarray{LogosOpacities}(\i)
\begin{tikzpicture} \let\opacity\temp@macro
\node[opacity=\opacity] { \testarray{LogosPaths}(\i)
\includesvg[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension} \ifthenelse{\equal{\extension}{svg}}{
}; \begin{tikzpicture}
\end{tikzpicture} \node[opacity=\opacity] {
}{ \includesvg[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension}
\begin{tikzpicture} };
\node[opacity=\opacity] { \end{tikzpicture}
\includegraphics[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension} }{
}; \begin{tikzpicture}
\end{tikzpicture} \node[opacity=\opacity] {
} \includegraphics[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension}
\makeatother };
}; \end{tikzpicture}
} }
\end{tikzpicture} \makeatother
};
}
\end{tikzpicture}
\vskip 10em \vskip 10em
\begin{flushleft} \begin{flushleft}
% title % title
{ {
\noindent \noindent
\color{black}\textbf{ \color{black}\textbf{
\blenderfont\Huge\hspace*{-2.5pt}\@title \blenderfont\Huge\hspace*{-2.5pt}\@title
} }
} }
\color{black} \color{black}
\vspace*{-0.5em} \vspace*{-0.5em}
\rule{\textwidth}{0.5mm} \rule{\textwidth}{0.5mm}
\\ \\
% abstract % abstract
\vspace{2em} \vspace{2em}
\setstretch{1.0} \setstretch{1.0}
\section*{Abstract} \section*{Abstract}
\titlepageabstract \titlepageabstract
\end{flushleft} {
\vspace*{1em}
\newline
\textbf{Keywords}\newline\titlepagekeywords
}
\end{flushleft}
\vskip 7em \vskip 7em
\vfill \vfill
% table % table
\noindent \noindent
\setstretch{1.0} \setstretch{1.0}
\GetTitlePageDataTable \GetTitlePageDataTable
\end{titlepage} \end{titlepage}
} }

View File

@ -10,36 +10,43 @@
\title{Ist transkranielle Hirnstimulation eine praktikable Methode zur Beschleunigung des Fertigkeitserwerbs im Bildungskontext?} \title{Ist transkranielle Hirnstimulation eine praktikable Methode zur Beschleunigung des Fertigkeitserwerbs im Bildungskontext?}
% Data fields for the title page % Data fields for the title page
\makeatletter \AddTitlePageDataLine{Thema}{
\AddTitlePageDataLine{Thema}{Thema-038:} Thema-038: \newline
\AddTitlePageDataLine{}{Transkranielle Hirnstimulation zur Förderung des Denkens und des Lernens} Transkranielle Hirnstimulation zur Förderung des Denkens und des Lernens
\AddTitlePageDataSpace{3pt} }
% Deutsch
\AddTitlePageDataLine{Keywords (Deutsch)}{Transkranielle Hirnstimulation, Neuroenhancement, Fertigkeitserwerb}
\AddTitlePageDataLine{}{Bildung und Training, Neuroplastizität}
% Englisch
\AddTitlePageDataLine{Keywords (English)}{Transcranial Stimulation, Neuroenhancement, Skill Acquisition}
\AddTitlePageDataLine{}{Education and Training, Neuroplasticity}
\AddTitlePageDataSpace{5pt} \AddTitlePageDataSpace{5pt}
\AddTitlePageDataLine{Wortanzahl}{\quickwordcount{Content/01_content}} % !!! Only 01_content.tex !!! \AddTitlePageDataLine{Vorgelegt von}{
\AddTitlePageDataSpace{5pt} Frederik Beimgraben \newline
\AddTitlePageDataLine{Vorgelegt von}{Frederik Beimgraben} 6. Fachsemester \newline
\AddTitlePageDataLine{}{6. Fachsemester} \href{mailto:frederik.beimgraben@student.reutlingen-university.de}{frederik.beimgraben@student.reutlingen-university.de}
\AddTitlePageDataLine{}{\href{mailto:frederik.beimgraben@student.reutlingen-university.de}{frederik.beimgraben@student.reutlingen-university.de}} }
\AddTitlePageDataSpace{5pt} \AddTitlePageDataSpace{5pt}
\AddTitlePageDataLine{Vorgelegt am}{\today} \AddTitlePageDataLine{Vorgelegt am}{\today}
\AddTitlePageDataSpace{5pt} \AddTitlePageDataSpace{5pt}
\AddTitlePageDataLine{Studiengang}{Medizinisch Technische Informatik B.Sc.} \AddTitlePageDataLine{Studiengang}{Medizinisch Technische Informatik B.Sc.}
\AddTitlePageDataLine{Professor:in}{Prof. Dr. Sven Steddin} \AddTitlePageDataLine{Modul}{
METI6.3 \newline
Seminar Ausgewählter Themen der Medizinisch-Technischen Informatik
}
\AddTitlePageDataLine{Dozent:in}{Prof. Dr. Sven Steddin}
\AddTitlePageDataLine{Semester}{Wintersemester 2025/2026} \AddTitlePageDataLine{Semester}{Wintersemester 2025/2026}
\AddTitlePageDataLine{Modul}{METI6.3} \AddTitlePageDataSpace{5pt}
\AddTitlePageDataLine{}{Seminar Ausgewählter Themen der Medizinisch-Technischen Informatik} \AddTitlePageDataLine{Wortanzahl}{\quickwordcount{Content/01_content}} % !!! Only 01_content.tex !!!
\makeatother
% Abstract % Abstract
\newcommand{\titlepageabstract}{% \newcommand{\titlepageabstract}{%
Das Abstract beschreibt in wenigen Sätzen die Zielsetzung und das Ergebnis der Ausarbeitung. Das Abstract muss sich vollständig auf der Titelseite befinden. Die Zeichensatzformatierung wird in einem eigenen Absatz beschrieben Das Abstract soll es den Lesern:innen ermöglichen, innerhalb von wenigen Augenblicken zu erfassen, welcher Inhalt hinter der Überschrift steckt und ob das Thema, aus Sicht der Leser:innen, zur weiteren Bearbeitung lohnt. Das Abstract ist keine verbale Beschreibung des Inhaltsverzeichnisses, sondern gibt kurz und knapp z.B. die Zielsetzung (z.B. Hypothese), die eingesetzten Methoden und die erzielten Ergebnisse / Erkenntnisse bekannt. Weitere Hinweise finden Sie außerdem im Vorlesungsskript. Das Abstract beschreibt in wenigen Sätzen die Zielsetzung und das Ergebnis der Ausarbeitung. Das Abstract muss sich vollständig auf der Titelseite befinden. Die Zeichensatzformatierung wird in einem eigenen Absatz beschrieben Das Abstract soll es den Lesern:innen ermöglichen, innerhalb von wenigen Augenblicken zu erfassen, welcher Inhalt hinter der Überschrift steckt und ob das Thema, aus Sicht der Leser:innen, zur weiteren Bearbeitung lohnt. Das Abstract ist keine verbale Beschreibung des Inhaltsverzeichnisses, sondern gibt kurz und knapp z.B. die Zielsetzung (z.B. Hypothese), die eingesetzten Methoden und die erzielten Ergebnisse / Erkenntnisse bekannt. Weitere Hinweise finden Sie außerdem im Vorlesungsskript.
} }
% Keywords
\newcommand{\titlepagekeywords}{%
Transkranielle Hirnstimulation,
Neuroenhancement,
Fertigkeitserwerb,
Bildung und Training,
Neuroplastizität
}
% Disable indentation % Disable indentation
\setlength{\parindent}{0pt} \setlength{\parindent}{0pt}