% Aufgabenstil für Aufgaben (und Zusatzaufgaben) mit Punkten am Rand \xsimstyle{schule-randpunkte} \DeclareExerciseEnvironmentTemplate{schule-randpunkte} {% \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 \GetExercisePropertyT{points}{% \marginpar {% \IfInsideSolutionF{\rule{0.8cm}{1pt}\slash}% \PropertyValue \GetExercisePropertyT{bonus-points} {\nobreakspace(+\PropertyValue)}% \nobreakspace\XSIMtranslate{point-abbr}% }% }% } {\IfInsideSolutionT{\par}}