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 | |
| parent | b16644f5b8648a6635245b41be9374e9287d031e (diff) | |
| download | unterricht-dc2406cd09f0b50bc19c7fe1a767abbd4ecadd3f.tar.gz unterricht-dc2406cd09f0b50bc19c7fe1a767abbd4ecadd3f.zip | |
add rough BE table command
| -rw-r--r-- | latex/common.tex | 15 | ||||
| -rw-r--r-- | templates/test/_test.tex | 4 |
2 files changed, 17 insertions, 2 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}{ diff --git a/templates/test/_test.tex b/templates/test/_test.tex index 6dc48445..0e337446 100644 --- a/templates/test/_test.tex +++ b/templates/test/_test.tex @@ -17,13 +17,15 @@ %% Beispiel Aufgabe mit karierter Bearbeitung \input{Aufgaben/aufgabe2} \begin{Bearbeitung} -\liniert[0.5cm]{10} +\liniert[1cm]{5} \end{Bearbeitung} %%%Hier die Darstellung am Ende %%Falls es das ganze auf eine andere Seite Schiebt und man alles komprimieren will %\PlatzKnapp +\beTabelle + %%Bindet Kleeblatt mit Viel Erfolg ein und erstellt Platz darunter \Ende \end{document} |
