diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-11-28 19:15:00 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-11-28 19:15:00 +0100 |
| commit | dc2406cd09f0b50bc19c7fe1a767abbd4ecadd3f (patch) | |
| tree | 3459b1653f5ab6b7f0fb864b169ca1eafbbf126e /latex/common.tex | |
| parent | b16644f5b8648a6635245b41be9374e9287d031e (diff) | |
| download | unterricht-dc2406cd09f0b50bc19c7fe1a767abbd4ecadd3f.tar.gz unterricht-dc2406cd09f0b50bc19c7fe1a767abbd4ecadd3f.zip | |
add rough BE table command
Diffstat (limited to 'latex/common.tex')
| -rw-r--r-- | latex/common.tex | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/latex/common.tex b/latex/common.tex index fdf03572..36e7e22d 100644 --- a/latex/common.tex +++ b/latex/common.tex @@ -26,6 +26,20 @@ \newcommand{\gap}[1]{\underLine{\solution{#1}}} \newcommand{\pgap}[1]{\underLine{\psolution{#1}}} +\newcommand{\beTabelle}{% +\centering +\begin{tikzpicture}[cell/.style={draw, minimum height=1cm, minimum width=3cm}] + \node [cell] at (1,0) {Aufgabe}; + \node [cell] at (1,-1) {BEs}; + \node [cell] at (1,-2) {}; + \foreach \x [count=\xi] in {1,...,\theAufg}{% + \node [cell] at ([shift={(1,0)}]\xi*3cm,0) {\xi}; + \node [cell] at ([shift={(1,-1)}]\xi*3cm,0) {\ref{a:\xi}}; + \node [cell] at ([shift={(1,-2)}]\xi*3cm,0) {}; +} +\end{tikzpicture} +} + % Point distribution across subtasks \newcommand{\Verteilung}{} @@ -62,7 +76,6 @@ % Manually override the points \newcommand{\AnzahlPunkte}[1]{\setcounter{beAManuell}{\fpeval{#1*2}}} - \newenvironment{Lsg} { \iftoggle{lehrerversion}{ |
