--- loncom/html/adm/help/tex/Authoring_MatchResponse.tex 2017/01/23 20:29:42 1.1 +++ loncom/html/adm/help/tex/Authoring_MatchResponse.tex 2017/01/24 18:01:52 1.2 @@ -1,15 +1,33 @@ \label{Authoring_MatchResponse}\index{matchresponse} \textbf{matchresponse} queries for matches betweens items from two lists. -It is also possible to query for matches with optionresponse, -but optionresponse only accepts simple text for the matches. +It is also possible to query for matches with \textbf{optionresponse}, +but \textbf{optionresponse} only accepts simple text for the matches. With matchresponse, it is possible to use anything as a match, such as equations, images, plots, or long styled texts. -The \texttt{foilgroup} must contain an \texttt{itemgroup} with \texttt{item} elements. - -Possible attributes are: +The \textbf{foilgroup} must contain an \textbf{itemgroup} with \textbf{item} elements. +\\ \\ +Possible attributes for \textbf{matchresponse} are: \begin{itemize} \item \textbf{max}: the maximum number of foils displayed at once \item \textbf{randomize}: set to \texttt{yes} to randomize the order of foils when displayed \end{itemize} +~\\ +\index{itemgroup} +Possible attributes for \textbf{itemgroup} are: +\begin{itemize} + \item \textbf{direction}: set to \texttt{horizontal} to display items horizontally + \item \textbf{randomize}: set to \texttt{yes} to randomize the order + \item \textbf{location}: items display location; + possible values: \texttt{top}, \texttt{bottom}, \texttt{left}, \texttt{right} + \item \textbf{columns}: number of columns to display the items + \item \textbf{TeXitemgroupwidth}: for printing, width of table with items, in percent +\end{itemize} +~\\ +Possible attributes for \textbf{item} are: +\begin{itemize} + \item \textbf{name}: item name + \item \textbf{location}: item location; + possible values: \texttt{random} (default), \texttt{top}, \texttt{bottom} +\end{itemize}