Files
2025-01-13 10:46:20 +01:00

71 lines
1.7 KiB
TeX

% !TeX encoding = UTF-8
% !TeX spellcheck = de_DE
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{testat}[2023/11/03 0.1.0 Testat Latex Template]
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\setlength{\parindent}{0pt}
\pagestyle{empty}
\RequirePackage[ngerman]{babel}
\RequirePackage[a4paper, lmargin=2cm, rmargin=2cm, tmargin=2cm, bmargin=2cm]{geometry} %margins
%\usepackage{setspace}
%\renewcommand{\baselinestretch}{1.2}
\RequirePackage[table,x11names,dvipsnames,table]{xcolor}
\RequirePackage{longtable}
\RequirePackage{booktabs}
\RequirePackage{csvsimple}
\RequirePackage{amssymb}
\RequirePackage{ifthen}
\RequirePackage[shortlabels]{enumitem}
\RequirePackage{datatool}
\DTLsetseparator{;}
\renewcommand\labelitemi{$\vcenter{\hbox{\large$\bullet$}}$}
\newcommand{\testattype}{}
\newcommand{\taskdefinitionA}{}
\newcommand{\mainclassA}{}
\newcommand{\taskdefinitionB}{}
\newcommand{\mainclassB}{}
\newcommand{\firstname}{}
\newcommand{\lastname}{}
\newcommand{\matrikelnummer}{}
\newcommand{\timeslot}{}
\newcommand{\row}{}
\newcommand{\seat}{}
\newcommand{\username}{}
\newcommand{\userpw}{}
\newcommand{\logintan}{}
\newcommand{\group}{}
\newcommand{\mainclass}{}
\newcommand{\taskdefinition}{}
\newcommand{\typetext}{{\large\textbf{\testattype\ der Vorlesung Programmierung}}}
\newcommand{\tasks}{%
\ifthenelse{\equal{\group}{A}}
{\renewcommand{\taskdefinition}{\taskdefinitionA}}
{\renewcommand{\taskdefinition}{\taskdefinitionB}}
\begin{center}
\typetext
\end{center}
\taskdefinition
}
\newcommand{\testat}{%
\renewcommand{\group}{A}
\tasks
\renewcommand{\group}{B}
\tasks
}
\endinput