aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--latex/common.tex13
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