File:  [LON-CAPA] / loncom / html / adm / help / tex / Numerical_Response_Units.tex
Revision 1.4: download - view: text, annotated - select for diffs
Thu Jun 9 16:04:23 2011 UTC (13 years, 1 month ago) by dseaton
Branches: MAIN
CVS tags: version_2_11_0_RC1, version_2_10_X, version_2_10_1, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, HEAD, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
Little bit of documentation for customunit

\label{Numerical_Response_Units}

Numerical Response problems can require units. In the problem editing form,
place the desired unit in the \textbf{Unit} field. For information about
what units the system accepts, see \ref{Physical_Units}.
The computer will accept the answer in any of its accepted unit formats.
For example, if the answer to a problem is {}``1ft'', the computer will
accept {}``12in'' as correct.

Additional units can be defined using the ``customunits'' parameter, which is a comma-separated list of unit conversions. For example
\begin{verbatim}
peck=2*gallon,bushel=8*gallon,gallon=4.4*L
\end{verbatim}
would define the new units peck, bushel, and gallon. The last entry in a conversion chain always needs to be a unit that LON-CAPA already supports. 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>