\usepackage{iftex}
%Compilerunabhängigkeit
\ifPDFTeX
- \usepackage[utf8]{inputenc}
- \usepackage[T1]{fontenc}
+ \usepackage[utf8]{inputenc}
+ \usepackage[T1]{fontenc}
\fi
\usepackage{latexsym}
\usepackage{longtable}
\renewcommand*{\familydefault}{\sfdefault}
\ifPDFTeX
\else
-\usepackage{fontspec}
+ \usepackage{fontspec}
\fi
%% Checkboxen
% Abschnitte mit Kasten hinterlegt
\newcommand{\reqspecsectionstyle}{%
-\renewcommand{\thesection}{\alph{section}}
-\makeatletter
-\def\section{\@ifstar\unnumberedsection\numberedsection}
-\makeatother
+ \renewcommand{\thesection}{\alph{section}}
+ \makeatletter
+ \def\section{\@ifstar\unnumberedsection\numberedsection}
+ \makeatother
}
\makeatletter
\def\numberedsection{\@ifnextchar[%]
- \numberedsectionwithtwoarguments\numberedsectionwithoneargument}
+\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
- \unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
+\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\endgroup
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{\protect\numberline{\thesection{}.}#1}%
- }
+}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip