diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-369065.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-369065.tex | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-369065.tex b/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-369065.tex index b62b85127a4..f35149c8ea1 100644 --- a/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-369065.tex +++ b/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-369065.tex @@ -11,28 +11,24 @@ solution/print=true } -\DeclareExerciseEnvironmentTemplate{cyan-box} - {% - \begin{tcolorbox}[arc=0mm,boxrule=1pt,colback=white,colframe=cyan,leftrule=3mm] - \textsf{% - \MakeUppercase{% - \XSIMmixedcase{\GetExerciseName}~\GetExerciseProperty{counter}% - }% +\DeclareExerciseEnvironmentTemplate{cyan-box}{% + \begin{tcolorbox}[arc=0mm,boxrule=1pt,colback=white,colframe=cyan,leftrule=3mm] + \textsf{% + \MakeUppercase{% + \XSIMmixedcase{\GetExerciseName}~\GetExerciseProperty{counter}% }% - \GetExercisePropertyT{subtitle}{ \textit{#1}}% - \quad - } - {\end{tcolorbox}} - -\DeclareExerciseEnvironmentTemplate{red} - {% - \par - \Needspace*{2\baselineskip} - \noindent - \textsf{\textcolor{red}{\MakeUppercase{\XSIMmixedcase{\GetExerciseName}}}}% + }% + \GetExercisePropertyT{subtitle}{ \textit{#1}}% \quad - } - {\par\bigskip} +}{\end{tcolorbox}} + +\DeclareExerciseEnvironmentTemplate{red}{% + \par + \Needspace*{2\baselineskip} + \noindent + \textsf{\textcolor{red}{\MakeUppercase{\XSIMmixedcase{\GetExerciseName}}}}% + \quad +}{\par\bigskip} \begin{document} |