blob: e7b1c2896cf27288ece21c50ff12f2aea6cad5fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
% Standardstil für normale Aufgaben (und Zusatzaufgaben) mit Punkten neben der Subsection
\xsimstyle{schule-keinenummer}
\DeclareExerciseEnvironmentTemplate{schule-keinenummer} {%
\addpenalty{-3000}\smallskip\noindent\textbf{%
% Falls Zusatzaufgabe:
\ifthenelse{\equal{\ExerciseType}{zusatzaufgabe}}{\llap{\GetExerciseProperty{symbol}$\bigstar$}~}{\llap{\GetExerciseProperty{symbol}~}}%
\XSIMmixedcase{\GetExerciseName}\nobreakspace
\IfInsideSolutionF{%
\IfExercisePropertySetT{subtitle}{
{\nobreakspace\GetExercisePropertyT{subtitle}{\normalfont \itshape \PropertyValue}}}% Subtitle setzten
}%
%
% Stil für Punkteanzeige
\GetExercisePropertyT{points}{%
\normalfont % Punkte in normal font/Shape aber auf Ebene der Subsection
\nobreakspace(\PropertyValue
\GetExercisePropertyT{bonus-points}
{\nobreakspace\small(+\PropertyValue)}% Kleinere Bonuspunkte?
\nobreakspace%
\IfExerciseGoalSingularTF{points}
{\XSIMtranslate{point}}
{\XSIMtranslate{points}}%
)
}
}\par\smallskip
%
}
{\IfInsideSolutionT{\par}}%
|