blob: 45f630103102f5164da1c1297206a50220070367 (
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
30
|
% \subsubsection{Solution}
% \DescribeEnv{solution}{The solution to a problem.}
% \begin{macrocode}
%<*classXimera>
%% solution environment
\ifhandout % what follows is handout behavior
\newenvironment{solution}%
{%
\setbox0\vbox\bgroup
}
{%
\egroup
}
\else
\newenvironment{solution}%
{%
\begin{trivlist}
\item[\hskip \labelsep\bfseries Solution:\hspace{2ex}]
}
% %% line at the bottom}
{
\end{trivlist}
\par\addvspace{.5ex}\nobreak\noindent\hung
}
\fi
%</classXimera>
% \end{macrocode}
|