<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% \subsubsection{Ungraded activities}
% \DescribeEnv{ungraded}{The |ungraded| environment is used to record
% that certain parts of activities should not be worth points.  For
% example, if you want to use a multipleChoice as a survey question,
% you can place it inside an |ungraded| environment.}
% On the \LaTeX\ side, the |ungraded| environment does nothing.
%    \begin{macrocode}
%&lt;*classXimera&gt;
\newenvironment{ungraded}{}{}
%&lt;/classXimera&gt;
%    \end{macrocode}
% But on the html side, |ungraded| wraps the activities in a div in
% order to assign some weight to them for grading.
%    \begin{macrocode}
%&lt;*htXimera&gt;
\renewenvironment{ungraded}{%
\ifvmode \IgnorePar\fi \EndP\HCode{&lt;div class="ungraded"&gt;}\IgnoreIndent%
}{
\ifvmode \IgnorePar\fi \EndP\HCode{&lt;/div&gt;}\IgnoreIndent%
}
%&lt;/htXimera&gt;
%    \end{macrocode}
</pre></body></html>