summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-keinepunkte.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-keinepunkte.code.tex')
-rw-r--r--macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-keinepunkte.code.tex18
1 files changed, 18 insertions, 0 deletions
diff --git a/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-keinepunkte.code.tex b/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-keinepunkte.code.tex
new file mode 100644
index 0000000000..cd218c7e81
--- /dev/null
+++ b/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-keinepunkte.code.tex
@@ -0,0 +1,18 @@
+% Stil ohne Punktanzeige bei der Aufgabe
+
+\xsimstyle{schule-keinepunkte}
+
+\DeclareExerciseEnvironmentTemplate{schule-keinepunkte} {%
+ \addpenalty{-300}\smallskip\noindent\textbf{%
+ % Falls Zusatzaufgabe:
+ \ifthenelse{\equal{\ExerciseType}{zusatzaufgabe}}{\llap{\GetExerciseProperty{symbol}$\bigstar$}~}{\llap{\GetExerciseProperty{symbol}~}}%
+ \XSIMmixedcase{\GetExerciseName}\nobreakspace
+ \GetExerciseProperty{counter}%
+ \IfInsideSolutionF{%
+ \IfExercisePropertySetT{subtitle}{
+ {\nobreakspace\GetExercisePropertyT{subtitle}{\normalfont \itshape \PropertyValue}}}%
+ }%
+ }\smallskip\\
+ % Stil für Punkteanzeige
+}
+{\IfInsideSolutionT{\par}}