[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Authoring_MatchResponse.tex

damieng damieng at source.lon-capa.org
Tue Jan 24 13:01:53 EST 2017


damieng		Tue Jan 24 18:01:53 2017 EDT

  Modified files:              
    /loncom/html/adm/help/tex	Authoring_MatchResponse.tex 
  Log:
  adding info about itemgroup
  
Index: loncom/html/adm/help/tex/Authoring_MatchResponse.tex
diff -u loncom/html/adm/help/tex/Authoring_MatchResponse.tex:1.1 loncom/html/adm/help/tex/Authoring_MatchResponse.tex:1.2
--- loncom/html/adm/help/tex/Authoring_MatchResponse.tex:1.1	Mon Jan 23 20:29:42 2017
+++ loncom/html/adm/help/tex/Authoring_MatchResponse.tex	Tue Jan 24 18:01:52 2017
@@ -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}




More information about the LON-CAPA-cvs mailing list