diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-11-02 17:30:25 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-11-02 17:30:25 +0100 |
| commit | 4ff5222604ff4fb427ae2541c1e4493c0fc5d3ad (patch) | |
| tree | 01b362ec19a32732e9778c52a4b26bc971ddeb16 | |
| parent | 664aee80cea90986c3ff687eb863e459e6332c00 (diff) | |
| download | unterricht-4ff5222604ff4fb427ae2541c1e4493c0fc5d3ad.tar.gz unterricht-4ff5222604ff4fb427ae2541c1e4493c0fc5d3ad.zip | |
include level and required skills on the same line as the Lsg heading
| -rw-r--r-- | latex/common.tex | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/latex/common.tex b/latex/common.tex index 5ccc9686..4aaf6561 100644 --- a/latex/common.tex +++ b/latex/common.tex @@ -117,14 +117,13 @@ \newcommand{\AnzahlPunkte}[1]{\setcounter{beAManuell}{\fpeval{#1*2}}} \newenvironment{Lsg}[1][] -{ -\iftoggle{lehrerversion}{ -\noindent\textbf{Lösung:}\newline -\iftoggle{erwartungshorizont}{#1 \\}{} -}{ +{% +\iftoggle{lehrerversion}{% +\noindent\textbf{Lösung:}\ \iftoggle{erwartungshorizont}{#1 \\}{} +}{% \begin{adjustbox}{max height=0cm, minipage=[0pt]{\textwidth},frame,phantom} -} -} +}% +}% {%end_def \iftoggle{lehrerversion}{}{\end{adjustbox}\vspace{-0.5\baselineskip}} % Overwrite the beA counter |
