add command \election
This commit is contained in:
parent
67decddb6d
commit
3bdc642e47
|
@ -278,6 +278,25 @@
|
|||
\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] {
|
||||
\ifthenelse{\the\numexpr \countInlineItems{#1} > 1} {%
|
||||
\textit{[#1 verlassen die Sitzung]}%
|
||||
|
|
Loading…
Reference in a new issue