provide \nr{<nr>} command for starting writeup of an exercise

This commit is contained in:
Maximilian Keßler 2021-10-16 09:01:30 +02:00
parent 8397374ffb
commit fbd489ad36

View file

@ -69,3 +69,9 @@ __NEW_IF__(largename,false)
%Für Zeilenabstand 1,5 %Für Zeilenabstand 1,5
\RequirePackage[onehalfspacing]{setspace} \RequirePackage[onehalfspacing]{setspace}
\RequirePackage[super]{nth}
\newcommand\nr[1]{
\section*{__IF__(english)\nth{#1} exercise\else #1. Aufgabe\fi}
\setcounter{equation}{0}
}