summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/schule/data/xsim-style/xsim.style.schule-binnen.code.tex
blob: aa47e556f71c869db52eccc75beb83666c713247 (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
% 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}