Simplify pause command and add newDay command

This commit is contained in:
Gregory Trolliet 2021-06-14 14:57:17 +02:00
parent ca34d407e7
commit fd4f295b3b

View file

@ -83,11 +83,22 @@ not set, please fix this.}
\arabic{PartCounter}%
}
\newcommand{\pause}{%
\newcommand{\pause}[2]{%
\midrule
\rowcolor{light-gray}%
\stepcounter{PartCounter}%
\arabic{PartCounter}%
& \partDuration{#1}
& \multicolumn{5}{c}{#2} \\
}
\newcommand{\newDay}[3]{%
\midrule
\rowcolor{light-gray}%
\stepcounter{PartCounter}%
\arabic{PartCounter}%
& \printTime
& \multicolumn{5}{c}{#3} \startTime{#1}{#2}\\
}
\newcounter{HourCounter}