diff options
author | Norbert Preining <norbert@preining.info> | 2020-10-06 03:01:44 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-10-06 03:01:44 +0000 |
commit | 2884d8fdd76b2def1d759c76c03141710c219ad7 (patch) | |
tree | 8b94b805c643d5322fe4a764eab683dc369718a3 /macros/latex/contrib/tuda-ci/example/DEMO-TUDaExercise.tex | |
parent | 07723a50707217d2d397c098ec67af793cdfa916 (diff) |
CTAN sync 202010060301
Diffstat (limited to 'macros/latex/contrib/tuda-ci/example/DEMO-TUDaExercise.tex')
-rw-r--r-- | macros/latex/contrib/tuda-ci/example/DEMO-TUDaExercise.tex | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaExercise.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaExercise.tex index d08ea2d2d4..3f9be1540f 100644 --- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaExercise.tex +++ b/macros/latex/contrib/tuda-ci/example/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} |