<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass{article}
\usepackage[ngerman]{babel}

\usepackage{xsim,lipsum,xcolor}

\xsimsetup{
  solution/print = true ,
  blank/filled-style = \underline{\textcolor{red}{#1}}
}

\begin{document}

\begin{exercise}[points=3]
  ErklÃ¤ren Sie den Begriff.

  \blank[width=4\linewidth,linespread=1.5]{}
\end{exercise}
\begin{solution}
  \blank[width=4\linewidth,linespread=1.5]{Die LÃ¶sung hier soll rot sein.}
\end{solution}

\end{document}
</pre></body></html>