File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_OptionResponse.tex
Revision 1.6: download - view: text, annotated - select for diffs
Wed Feb 1 21:18:43 2017 UTC (7 years, 9 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

\label{Authoring_OptionResponse}\index{optionresponse}

\textbf{optionresponse} implements a {}``select from these choices''
style question. The choices are specified by the instructor and use
the foil structure tags as described in \ref{Authoring_Foil_Structure_Tags},
with this additional addition: 

\begin{itemize}
\item \textbf{foilgroup}: required to have an \emph{options} attribute which
should be a perl list of possible options for the student.
\end{itemize}

Possible attributes for \textbf{optionresponse} are:
\begin{itemize}
  \item \textbf{max}: the maximum number of foils displayed at once
  (if more are specified, some will not be displayed)
  \item \textbf{randomize}: set to \texttt{yes} to randomize the order of foils when displayed
  \item \textbf{TeXlayout}: set to \texttt{horizontal} to display foils horizontally for printing
\end{itemize}

Hints can be specified with \textbf{optionhint}.

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