From dc2406cd09f0b50bc19c7fe1a767abbd4ecadd3f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 28 Nov 2023 19:15:00 +0100 Subject: add rough BE table command --- latex/common.tex | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'latex/common.tex') 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}{ -- cgit v1.2.3