Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloze-Tests, blanks not filled with solution/print = true #111

Open
Jowi-Ammerbuch opened this issue Mar 2, 2023 · 1 comment
Open

Cloze-Tests, blanks not filled with solution/print = true #111

Jowi-Ammerbuch opened this issue Mar 2, 2023 · 1 comment

Comments

@Jowi-Ammerbuch
Copy link

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}`

@Jowi-Ammerbuch
Copy link
Author

Sorry, I found myself the solution in the manual, with blank/fill=true it works like I want. Perfect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant