81 lines
1.9 KiB
TeX
81 lines
1.9 KiB
TeX
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesClass{seriousgames-seminar}[2026/01/24 v1.0 Seminararbeit class]
|
|
|
|
% Basisklarticle
|
|
\LoadClass[12pt, a4paper]{article}
|
|
|
|
% Pakete
|
|
\RequirePackage[ngerman]{babel}
|
|
\RequirePackage{fontspec} % Für benutzerdefinierte Schriftarten
|
|
\RequirePackage{geometry}
|
|
\RequirePackage{fancyhdr}
|
|
\RequirePackage{titlesec}
|
|
\RequirePackage{graphicx}
|
|
\RequirePackage{xcolor}
|
|
\RequirePackage{listings}
|
|
\RequirePackage{hyperref}
|
|
\RequirePackage{amsmath}
|
|
\RequirePackage{booktabs}
|
|
\RequirePackage{tabularx}
|
|
\RequirePackage{enumitem}
|
|
|
|
% Schriftarten einstellen (nur mit LuaLaTeX oder XeLaTeX kompilieren!)
|
|
\setmainfont{IBM Plex Serif}
|
|
\setsansfont{IBM Plex Sans}
|
|
\setmonofont{Cartograph CF Nerd Font}
|
|
|
|
% Seitenränder
|
|
\geometry{left=3cm, right=3cm, top=2.5cm, bottom=2.5cm}
|
|
|
|
% Kopf- und Fußzeile
|
|
\pagestyle{fancy}
|
|
\fancyhf{}
|
|
\fancyhead[L]{\leftmark}
|
|
\fancyhead[R]{\thepage}
|
|
\renewcommand{\headrulewidth}{0.4pt}
|
|
|
|
% Überschriftenformatierung
|
|
\titleformat{\section}
|
|
{\normalfont\Large\bfseries}{\thesection}{1em}{}
|
|
\titleformat{\subsection}
|
|
{\normalfont\large\bfseries}{\thesubsection}{1em}{}
|
|
\titleformat{\subsubsection}
|
|
{\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
|
|
|
|
% Listing-Formatierung
|
|
\lstset{
|
|
basicstyle=\ttfamily\small,
|
|
breaklines=true,
|
|
frame=single,
|
|
numbers=left,
|
|
numberstyle=\tiny,
|
|
backgroundcolor=\color{gray!10},
|
|
captionpos=b
|
|
}
|
|
|
|
% Platzhalter für Abbildungen und Tabellen
|
|
\newcommand{\platzhalter}[2]{
|
|
\begin{center}
|
|
\fbox{\parbox{0.8\textwidth}{
|
|
\centering
|
|
\textbf{[Platzhalter: #1]}\\
|
|
#2
|
|
}}
|
|
\end{center}
|
|
}
|
|
|
|
% Literaturverzeichnis Stil
|
|
\bibliographystyle{plain}
|
|
|
|
% Hyperlink-Einstellungen
|
|
\hypersetup{
|
|
colorlinks=true,
|
|
linkcolor=blue,
|
|
filecolor=magenta,
|
|
urlcolor=cyan,
|
|
pdftitle={Seminararbeit - Serious Game Mit Telemetrie},
|
|
pdfauthor={Autor},
|
|
pdfsubject={Serious Games, Learning Analytics},
|
|
pdfkeywords={Serious Games, Telemetrie, xAPI, Learning Analytics}
|
|
}
|