\label{Authoring_MatchResponse}\index{matchresponse}
\textbf{matchresponse} queries for matches betweens items from two lists.
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 \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}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>