summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xsim/examples/xsim.blanks.tex
blob: f32b81a12901b945818cce4bcb24512dc0d19938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\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}