File:  [LON-CAPA] / loncom / html / adm / help / tex / Numerical_Response_Units.tex
Revision 1.6: download - view: text, annotated - select for diffs
Tue Aug 27 18:51:40 2013 UTC (11 years, 2 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0, HEAD
- Compromise to support display in both contextual online help, and aggregated
  in manual (PDF).
  - Identify the "section" by name, because the \ref is converted to a question
    mark icon only, and not a number in online help context.

\label{Numerical_Response_Units}

Numerical Response problems can require units. In the problem editing form,
place the desired unit in the \textbf{Unit} field. A complete list of 
units is in the Physical Units section (\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>