File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_MatchResponse.tex
Revision 1.2: download - view: text, annotated - select for diffs
Tue Jan 24 18:01:52 2017 UTC (7 years, 6 months ago) by damieng
Branches: MAIN
CVS tags: version_2_12_X, HEAD
adding info about itemgroup

    1: \label{Authoring_MatchResponse}\index{matchresponse}
    2: 
    3: \textbf{matchresponse} queries for matches betweens items from two lists.
    4: It is also possible to query for matches with \textbf{optionresponse},
    5: but \textbf{optionresponse} only accepts simple text for the matches.
    6: With matchresponse, it is possible to use anything as a match,
    7: such as equations, images, plots, or long styled texts.
    8: 
    9: The \textbf{foilgroup} must contain an \textbf{itemgroup} with \textbf{item} elements.
   10: \\ \\
   11: Possible attributes for \textbf{matchresponse} are:
   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}
   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>