summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-keinepunkte.code.tex
blob: cd218c7e81da635c0c53f44199cf13fb192e607b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% Stil ohne Punktanzeige bei der Aufgabe

\xsimstyle{schule-keinepunkte}

\DeclareExerciseEnvironmentTemplate{schule-keinepunkte} {%
	\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
}
{\IfInsideSolutionT{\par}}