summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/schule/source/Module/Aufgaben/xsim.style.schule-keintitel.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/schule/source/Module/Aufgaben/xsim.style.schule-keintitel.code.tex')
-rw-r--r--Master/texmf-dist/doc/latex/schule/source/Module/Aufgaben/xsim.style.schule-keintitel.code.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/schule/source/Module/Aufgaben/xsim.style.schule-keintitel.code.tex b/Master/texmf-dist/doc/latex/schule/source/Module/Aufgaben/xsim.style.schule-keintitel.code.tex
new file mode 100644
index 00000000000..a879a00d020
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/schule/source/Module/Aufgaben/xsim.style.schule-keintitel.code.tex
@@ -0,0 +1,19 @@
+% Stil für gar keine Formatierung, aber Punkte am Rand
+% z.B. für Vokabeltests
+
+\xsimstyle{schule-keintitel}
+
+\DeclareExerciseEnvironmentTemplate{schule-keintitel}{%
+ % Stil für Punkteanzeige
+ \GetExercisePropertyT{points}{%
+ \marginpar
+ {%
+ \IfInsideSolutionF{\rule{0.8cm}{1pt}\slash}%
+ \PropertyValue
+ \GetExercisePropertyT{bonus-points}
+ {\nobreakspace(+\PropertyValue)}%
+ \nobreakspace\XSIMtranslate{point-abbr}%
+ }%
+ }%
+}
+{}