[LON-CAPA-cvs] cvs: doc /help author.manual.texxml loncom/html/adm/help/tex Authoring_RankResponse.tex

damieng damieng at source.lon-capa.org
Tue Jan 24 13:14:57 EST 2017


damieng		Tue Jan 24 18:14:57 2017 EDT

  Added files:                 
    /loncom/html/adm/help/tex	Authoring_RankResponse.tex 

  Modified files:              
    /doc/help	author.manual.texxml 
  Log:
  added minimal doc about rankresponse
  
Index: doc/help/author.manual.texxml
diff -u doc/help/author.manual.texxml:1.37 doc/help/author.manual.texxml:1.38
--- doc/help/author.manual.texxml:1.37	Mon Jan 23 20:58:50 2017
+++ doc/help/author.manual.texxml	Tue Jan 24 18:14:56 2017
@@ -389,6 +389,9 @@
       <subsubsection name="matchresponse">
         <file name="Authoring_MatchResponse.tex" />
       </subsubsection>
+      <subsubsection name="rankresponse">
+        <file name="Authoring_RankResponse.tex" />
+      </subsubsection>
       <subsubsection name="dataresponse">
         <file name="Authoring_DataResponse.tex" />
       </subsubsection>

Index: loncom/html/adm/help/tex/Authoring_RankResponse.tex
+++ loncom/html/adm/help/tex/Authoring_RankResponse.tex
\label{Authoring_RankResponse}\index{rankresponse}

\textbf{rankresponse} asks to sort a list of items in the right order.
The foils \textbf{value} attribute is a number used to specify the correct order.
If two items are equivalent, ranking is done in the same way as it is done for sports events.
Say that there are two second places, then the ranking is "1 2 2 4 5 6".
For three second places, the correct ranking is "1 2 2 2 5 6". 
\\ \\
Possible attributes 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}




More information about the LON-CAPA-cvs mailing list