[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: doc /help author.manual.texxml loncom/html/adm/help/tex Authoring_RankResponse.t
From:       damieng <damieng () source ! lon-capa ! org>
Date:       2017-01-24 18:14:57
Message-ID: cvsdamieng1485281697 () cvsserver
[Download RAW message or body]

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}


_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic