File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_RadiobuttonResponse.tex
Revision 1.6: download - view: text, annotated - select for diffs
Wed Feb 1 21:18:43 2017 UTC (7 years, 6 months ago) by damieng
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, HEAD
added doc for math, chem, hints, customresponse, essayresponse, organicresponse, reactionresponse

    1: \label{Authoring_RadiobuttonResponse}\index{radiobuttonresponse}
    2: 
    3: \textbf{radiobuttonresponse} implements a true/false question with
    4: one correct answer. It uses the foil structure tags as described in
    5: \ref{Authoring_Foil_Structure_Tags}, but the \emph{value} of a foil can only
    6: be \textbf{true}, \textbf{false}, or \textbf{unused}.
    7: It is possible to use a Perl variable for the value attribute, as long as it can only have a valid value.
    8: 
    9: Several true foils can be specified, but only one (randomly chosen) will be displayed.
   10: 
   11: Possible attributes for \textbf{radiobuttonresponse} are:
   12: \begin{itemize}
   13:   \item \textbf{max}: the maximum number of foils displayed at once
   14:   (if more are specified, some will not be displayed)
   15:   \item \textbf{randomize}: set to \texttt{yes} to randomize the order of foils when displayed
   16:   \item \textbf{direction}: set to \texttt{horizontal} to display foils horizontally
   17: \end{itemize}
   18: 
   19: Hints can be specified with \textbf{radiobuttonhint}.

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