Debian Codegraph @

texmf-dist/doc/latex/ximera/src/solution.dtx

raw
1 % \subsubsection{Solution}
2 % \DescribeEnv{solution}{The solution to a problem.}
3 % \begin{macrocode}
4 %<*classXimera>
5 %% solution environment
6 \ifhandout % what follows is handout behavior
7 \newenvironment{solution}%
8 {%
9 \setbox0\vbox\bgroup
10 }
11 {%
12 \egroup
13 }
14 \else
15 \newenvironment{solution}%
16 {%
17 \begin{trivlist}
18 \item[\hskip \labelsep\bfseries Solution:\hspace{2ex}]
19 }
20 % %% line at the bottom}
21 {
22 \end{trivlist}
23 \par\addvspace{.5ex}\nobreak\noindent\hung
24 }
25 \fi
26
27
28
29 %</classXimera>
30 % \end{macrocode}