Annotation of loncom/html/adm/help/tex/Authoring_NumericalResponse.tex, revision 1.4
1.4 ! damieng 1: \label{Authoring_NumericalResponse}\index{numericalresponse}
1.1 bowersj2 2:
1.3 damieng 3: \textbf{numericalresponse} implements a numerical answer,
4: it needs an internal \textbf{textline} for the the response to go in.
5: It checks all styles of numerical supported in CAPA.
1.1 bowersj2 6: Possible attributes are:
7: \begin{itemize}
1.3 damieng 8: \item \textbf{answer}\index{answer}: required, specifies the correct
9: answer, may be either a perl list or scalar
10: \item \textbf{unit}\index{unit}: optional, specifies unit of correct answer, CAPA style
1.4 ! damieng 11: \item \textbf{incorrect}: Incorrect Answers. When switched into exam (``bubble sheet'') mode, LON-CAPA usually create wrong answers automatically. To specify wrong answers yourself, you need to provide an array of incorrect values in this attribute. You need to provide at least as many incorrects as 1 less than the number of bubbles on the exam. You can provide more if you want to.
! 12: \item \textbf{format}: string to format the number displayed as the answer
! 13: \item \textbf{preprocess}: pre-process Perl subroutine
1.1 bowersj2 14: \end{itemize}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>