[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Numerical_Response_Units.tex

dseaton dseaton@source.lon-capa.org
Thu, 09 Jun 2011 16:04:23 -0000


dseaton		Thu Jun  9 16:04:23 2011 EDT

  Modified files:              
    /loncom/html/adm/help/tex	Numerical_Response_Units.tex 
  Log:
  Little bit of documentation for customunit
  
  
Index: loncom/html/adm/help/tex/Numerical_Response_Units.tex
diff -u loncom/html/adm/help/tex/Numerical_Response_Units.tex:1.3 loncom/html/adm/help/tex/Numerical_Response_Units.tex:1.4
--- loncom/html/adm/help/tex/Numerical_Response_Units.tex:1.3	Mon May 17 14:37:55 2004
+++ loncom/html/adm/help/tex/Numerical_Response_Units.tex	Thu Jun  9 16:04:23 2011
@@ -6,3 +6,9 @@
 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.