Skip to content

Commit

Permalink
add example for blanks
Browse files Browse the repository at this point in the history
  • Loading branch information
cgnieder committed May 9, 2017
1 parent e5dce16 commit 58af786
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Binary file added examples/blanks.pdf
Binary file not shown.
23 changes: 23 additions & 0 deletions examples/blanks.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
\documentclass{article}
\usepackage[utf8]{inputenc}
\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}

0 comments on commit 58af786

Please sign in to comment.