anton-cls-updates #1

Merged
jonas.gaffke merged 8 commits from anton-cls-updates into master 2023-02-04 11:10:30 +01:00
Showing only changes of commit 3bdc642e47 - Show all commits

View file

@ -278,6 +278,25 @@
\end{minipage}\end{lrbox}\fbox{\usebox{\mybox}} \end{minipage}\end{lrbox}\fbox{\usebox{\mybox}}
} }
% election command - not an environment!
\newcommand{\election}[3] {%
\begin{lrbox}{\mybox}\begin{minipage}{.985\textwidth}
\ifthenelse{\isempty{#1}}{}{%
\textbf{#1. Wahlgang:}\\[7pt]
}
\begin{tabularx}{\linewidth}{p{.275\linewidth}|c|c|c|l}
\textbf{Kandidat\_in} & \textbf{Dafür} & \textbf{Dagegen} &
\textbf{Enthaltungen} & \textbf{Ergebnis} \\
\hline
#2
\end{tabularx}%
\ifthenelse{\isempty{#3}}{}{%
\\[7pt]
#3
}
\end{minipage}\end{lrbox}\fbox{\usebox{\mybox}}
}
\newcommand*{\away}[1] { \newcommand*{\away}[1] {
\ifthenelse{\the\numexpr \countInlineItems{#1} > 1} {% \ifthenelse{\the\numexpr \countInlineItems{#1} > 1} {%
\textit{[#1 verlassen die Sitzung]}% \textit{[#1 verlassen die Sitzung]}%