Annotation of loncom/html/adm/help/tex/Authoring_MatchResponse.tex, revision 1.2
1.1 damieng 1: \label{Authoring_MatchResponse}\index{matchresponse}
2:
3: \textbf{matchresponse} queries for matches betweens items from two lists.
1.2 ! damieng 4: It is also possible to query for matches with \textbf{optionresponse},
! 5: but \textbf{optionresponse} only accepts simple text for the matches.
1.1 damieng 6: With matchresponse, it is possible to use anything as a match,
7: such as equations, images, plots, or long styled texts.
8:
1.2 ! damieng 9: The \textbf{foilgroup} must contain an \textbf{itemgroup} with \textbf{item} elements.
! 10: \\ \\
! 11: Possible attributes for \textbf{matchresponse} are:
1.1 damieng 12: \begin{itemize}
13: \item \textbf{max}: the maximum number of foils displayed at once
14: \item \textbf{randomize}: set to \texttt{yes} to randomize the order of foils when displayed
15: \end{itemize}
1.2 ! damieng 16: ~\\
! 17: \index{itemgroup}
! 18: Possible attributes for \textbf{itemgroup} are:
! 19: \begin{itemize}
! 20: \item \textbf{direction}: set to \texttt{horizontal} to display items horizontally
! 21: \item \textbf{randomize}: set to \texttt{yes} to randomize the order
! 22: \item \textbf{location}: items display location;
! 23: possible values: \texttt{top}, \texttt{bottom}, \texttt{left}, \texttt{right}
! 24: \item \textbf{columns}: number of columns to display the items
! 25: \item \textbf{TeXitemgroupwidth}: for printing, width of table with items, in percent
! 26: \end{itemize}
! 27: ~\\
! 28: Possible attributes for \textbf{item} are:
! 29: \begin{itemize}
! 30: \item \textbf{name}: item name
! 31: \item \textbf{location}: item location;
! 32: possible values: \texttt{random} (default), \texttt{top}, \texttt{bottom}
! 33: \end{itemize}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>