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

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


damieng		Tue Jan 24 18:48:24 2017 EDT

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

  Modified files:              
    /doc/help	author.manual.texxml 
  Log:
  added list of attributes for formularesponse
  
Index: doc/help/author.manual.texxml
diff -u doc/help/author.manual.texxml:1.38 doc/help/author.manual.texxml:1.39
--- doc/help/author.manual.texxml:1.38	Tue Jan 24 18:14:56 2017
+++ doc/help/author.manual.texxml	Tue Jan 24 18:48:16 2017
@@ -386,6 +386,9 @@
       <subsubsection name="stringresponse">
         <file name="Authoring_StringResponse.tex" />
       </subsubsection>
+      <subsubsection name="formularesponse">
+        <file name="Authoring_FormulaResponse.tex" />
+      </subsubsection>
       <subsubsection name="matchresponse">
         <file name="Authoring_MatchResponse.tex" />
       </subsubsection>

Index: loncom/html/adm/help/tex/Authoring_FormulaResponse.tex
+++ loncom/html/adm/help/tex/Authoring_FormulaResponse.tex
\label{Authoring_FormulaResponse}\index{formularesponse}

\textbf{formularesponse} asks the student to type in a formula as an answer.
It needs an internal \textbf{textline} for the the response to go in.
The answer can be specified with the \textbf{answer} attribute or with an \textbf{answergroup}.

Possible attributes are:
\begin{itemize}
\item \textbf{answer}\index{answer}: specifies the correct answer.
It can use variables calculated/defined in the problem's Perl script block,
allowing the answer to be determined dynamically.
\item \textbf{samples}\index{samples}: optional, sample points. See \ref{Formula_Response_Sampling}.
\item \textbf{preprocess}: optional, pre-process Perl subroutine
\end{itemize}




More information about the LON-CAPA-cvs mailing list