summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tuda-ci/DEMO-TUDaExercise.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tuda-ci/DEMO-TUDaExercise.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tuda-ci/DEMO-TUDaExercise.tex22
1 files changed, 20 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/tuda-ci/DEMO-TUDaExercise.tex b/Master/texmf-dist/doc/latex/tuda-ci/DEMO-TUDaExercise.tex
index d08ea2d2d4f..3f9be1540fb 100644
--- a/Master/texmf-dist/doc/latex/tuda-ci/DEMO-TUDaExercise.tex
+++ b/Master/texmf-dist/doc/latex/tuda-ci/DEMO-TUDaExercise.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaExercise.tex' version 3.03 (2020/09/19),
+%% This is file `DEMO-TUDaExercise.tex' version 3.04 (2020/10/05),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -38,7 +38,7 @@
]{tudaexercise}
\usepackage[english, main=ngerman]{babel}
-\usepackage[babel]{csquotes}
+\usepackage[autostyle]{csquotes}
\usepackage{biblatex}
\bibliography{DEMO-TUDaBibliography}
@@ -169,6 +169,24 @@ Die Voreinstellung ist \code{solution=false}.
\begin{solution}
Beispiel für einen Lösungsvorschlag
\end{solution}
+\end{task}
+
+\begin{task}{Abfrage der Einstellung \enquote{solution}}
+Ab Version 3.04 existiert zusätzlich die Möglichkeit die Einstellung \code{solution} abzufragen.
+
+Die Umgebung \code{solution*} verhält sich wie \code{solution} ohne die Beschriftung. Darüber Hinaus wurden die Makros \code{\IfSolutionTF} ergänzt.
+
+\begin{verbatim}
+\IfSolutionT{<falls solution=true>}
+\IfSolutionF{<falls solution=false>}
+\IfSolutionTF{<falls solution=true>}{<falls solution=false>}
+\end{verbatim}
+
+In der aktuellen Einstellung (\code{solution=false}) erzeugt der obige Block die folgende Ausgabe:
+
+\IfSolutionT{<falls solution=true>}
+\IfSolutionF{<falls solution=false>}
+\IfSolutionTF{<falls solution=true>}{<falls solution=false>}
\end{task}