Open Jowi-Ammerbuch opened 1 year ago
Maybe I'm missing the obvious, shouldn't the gaps in the cloze be filled when you set solution/print =true? It does not do that for me.
It only works if I copy the whole cloze again into a solution environment. This inflates the document unnecessarily.
Is there another solution?
Example-Code:
`\documentclass{scrartcl} \usepackage[ngerman]{babel}
\usepackage{xsim,xcolor}
\xsimsetup{ solution/print = true , blank/filled-style = \underline{\textcolor{red}{#1}} }
\begin{document}
\begin{exercise} Hier eine \blank[width=4cm]{Lücke} und da noch eine \blank[width=4cm]{Lücke}. \end{exercise} \begin{solution} Hier eine \blank[width=4cm]{Lücke} und da noch eine \blank[width=4cm]{Lücke}. \end{solution}
\end{document}`
Sorry, I found myself the solution in the manual, with blank/fill=true it works like I want. Perfect!
blank/fill=true
Maybe I'm missing the obvious, shouldn't the gaps in the cloze be filled when you set solution/print =true? It does not do that for me.
It only works if I copy the whole cloze again into a solution environment. This inflates the document unnecessarily.
Is there another solution?
Example-Code:
`\documentclass{scrartcl} \usepackage[ngerman]{babel}
\usepackage{xsim,xcolor}
\xsimsetup{ solution/print = true , blank/filled-style = \underline{\textcolor{red}{#1}} }
\begin{document}
\begin{exercise} Hier eine \blank[width=4cm]{Lücke} und da noch eine \blank[width=4cm]{Lücke}. \end{exercise} \begin{solution} Hier eine \blank[width=4cm]{Lücke} und da noch eine \blank[width=4cm]{Lücke}. \end{solution}
\end{document}`