Feat: template pour l'environnement solution
This commit is contained in:
parent
69c6c02bfd
commit
74e6c1240d
@ -37,6 +37,22 @@
|
|||||||
}{}
|
}{}
|
||||||
\xsimsetup{exercise/template=exo}
|
\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}{%
|
\DeclareExerciseTableTemplate{DNB}{%
|
||||||
\XSIMputright\ExerciseTableCode{%
|
\XSIMputright\ExerciseTableCode{%
|
||||||
\hline
|
\hline
|
||||||
|
Loading…
Reference in New Issue
Block a user