summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-binnen.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-binnen.code.tex')
-rw-r--r--macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-binnen.code.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-binnen.code.tex b/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-binnen.code.tex
new file mode 100644
index 0000000000..aa47e556f7
--- /dev/null
+++ b/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-binnen.code.tex
@@ -0,0 +1,29 @@
+% Standardstil für inline Aufgaben (gesellschaftswissenschaften)
+
+\xsimstyle{schule-binnen} %todo: Besser: schule-liste ?
+
+
+\DeclareExerciseEnvironmentTemplate{schule-binnen}
+ { \par\noindent%
+ \ifthenelse{\equal{\ExerciseType}{zusatzaufgabe}}{\llap{\GetExerciseProperty{symbol}$\bigstar$}~}{\llap{\GetExerciseProperty{symbol}~}}%
+ \textbf{\GetExerciseProperty{counter}}.) % das will man ja gerade nicht haben
+ %\renewenvironment{teilaufgaben}{\begin{enumerate}}{\end{enumerate}}
+ %\RenewDocumentCommand{\teilaufgabe}{o}{
+ % \IfInsideSolutionTF
+ % {\item%
+ % }
+ % {\item%
+ % \IfNoValueF{#1}{(\addpoints{#1})\xspace}
+ % }
+ % }
+ }
+ {\IfInsideSolutionTF{}{ % Punkteanzeige
+ \GetExercisePropertyT{points}{(\PropertyValue
+ \nobreakspace
+ \IfExerciseGoalSingularTF{points}
+ {\XSIMtranslate{point}}
+ {\XSIMtranslate{points}})
+ }
+ }
+ \par}
+