Skip to content
Snippets Groups Projects
Commit db9a7c8c authored by Jan Wille's avatar Jan Wille
Browse files

added sneeky comma after \@matrikelnr

parent e5493ce1
No related branches found
No related tags found
No related merge requests found
......@@ -313,7 +313,8 @@
\if\@author\@empty\else\usekomafont{author}{\parbox{\dimexpr\linewidth}{\centering\@author}}\fi
\else
\if\@author\@empty\else
\foreach \x [count=\i,evaluate=\i as \y using {{\@matrikelnr}[\i-1]}] in \@author {\eaddtabtoks{\x & \y\protect\\}}
% sneeky comma needed after \@matrikelnr to deal with single item list
\foreach \x [count=\i,evaluate=\i as \y using {{\@matrikelnr,}[\i-1]}] in \@author {\eaddtabtoks{\x & \y\protect\\}}
\usekomafont{author}{\begin{tabular}{l l}\printtabtoks\end{tabular}}
\fi
\fi}%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment