37 lines
1.2 KiB
TeX
37 lines
1.2 KiB
TeX
% !TEX root = ../../Main.tex
|
|
\DeclareRobustCommand{\tableDot}[1]{
|
|
\strcompare{#1}{1}{
|
|
$\bullet$
|
|
}{
|
|
\hspace{1em}
|
|
}
|
|
}
|
|
|
|
\DeclareRobustCommand{\PresenceTableLine}[6]{
|
|
% Name | Note | ab* | bis* | STUPA? | AStA?
|
|
#1 & \textit{#2} & #3 & #4 & \tableDot{#5} & \tableDot{#6} \\
|
|
}
|
|
|
|
\DeclareRobustCommand{\PresenceTableSums}[2]{
|
|
\textbf{Summe} & & & & \textbf{#1} & \textbf{#2} \\
|
|
}
|
|
|
|
\DeclareRobustCommand{\rotFull}[1]{
|
|
\rotatebox{90}{#1}
|
|
}
|
|
|
|
\DeclareRobustCommand{\rotFF}[1]{
|
|
\rotatebox{45}{#1}
|
|
}
|
|
|
|
\newcommand{\dotsColumnWidth}{0.75em}
|
|
|
|
\DeclareRobustCommand{\PresenceTable}[1] {
|
|
\begin{center}
|
|
\begin{tabularx}{\textwidth}{X X | >{\centering\arraybackslash}p{2.5em} >{\centering\arraybackslash}p{2.5em} | >{\centering\arraybackslash}p{\dotsColumnWidth} >{\centering\arraybackslash}p{\dotsColumnWidth} }
|
|
\textbf{Name} & \textit{\textbf{Notiz/Rolle*}} & \textbf{\textit{ab*}} & \textit{\textbf{bis*}} & \rotFull{\textbf{STUPA}} & \rotFull{\textbf{AStA}} \\
|
|
\specialrule{.2em}{.05em}{.05em} \addlinespace[1ex]
|
|
#1
|
|
\end{tabularx}
|
|
\end{center}
|
|
} |