diff --git a/tools/style/myXsim.sty b/tools/style/myXsim.sty index 6df9087..ffa22b6 100644 --- a/tools/style/myXsim.sty +++ b/tools/style/myXsim.sty @@ -37,6 +37,22 @@ }{} \xsimsetup{exercise/template=exo} +\DeclareExerciseEnvironmentTemplate{sol}{% + \subsection* + {% + \color{exercise}{\XSIMmixedcase{\GetExerciseName}}\nobreakspace + : Exercice \GetExerciseProperty{counter}% + \hspace{0.5cm} \color{line}\hrulefill \hspace{0.5cm} + \color{exercise} + \IfInsideSolutionF + {% + }% + \noindent + } +}{} +\xsimsetup{solution/template=sol} + + \DeclareExerciseTableTemplate{DNB}{% \XSIMputright\ExerciseTableCode{% \hline