From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- .../xsim-style/xsim.style.schule-keintitel.code.tex | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-keintitel.code.tex (limited to 'macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-keintitel.code.tex') diff --git a/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-keintitel.code.tex b/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-keintitel.code.tex new file mode 100644 index 0000000000..a879a00d02 --- /dev/null +++ b/macros/latex/contrib/schule/data/xsim-style/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}% + }% + }% +} +{} -- cgit v1.2.3