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

raeburn raeburn at source.lon-capa.org
Tue Aug 27 14:26:52 EDT 2013


raeburn		Tue Aug 27 18:26:52 2013 EDT

  Modified files:              
    /loncom/html/adm/help/tex	Formula_Response_Example.tex 
  Log:
  - replace lyxcode with verbatim to eliminate error messages seen in online 
    help pages rendered using lontexconvert::tth_converted().
  
  
Index: loncom/html/adm/help/tex/Formula_Response_Example.tex
diff -u loncom/html/adm/help/tex/Formula_Response_Example.tex:1.7 loncom/html/adm/help/tex/Formula_Response_Example.tex:1.8
--- loncom/html/adm/help/tex/Formula_Response_Example.tex:1.7	Fri Jul  5 18:30:40 2013
+++ loncom/html/adm/help/tex/Formula_Response_Example.tex	Tue Aug 27 18:26:52 2013
@@ -4,11 +4,11 @@
 
 \begin{itemize}\item In the \textbf{Script}, place the following:
 \end{itemize}
-\begin{lyxcode}
-\$slope~=~\&random(-5.0,5.0,.5);\\
-\$yint~~=~\&random(-5.0,5.0,.5);\\
-\$answer~=~{}"\$slope{*}x~+~(\$yint)";
-\end{lyxcode}
+\begin{verbatim}
+$slope = &random(-5.0,5.0,.5);
+$yint  = &random(-5.0,5.0,.5);
+$answer = "$slope*x + ($yint)";
+\end{verbatim}
 \begin{itemize}
 \item In the \textbf{Text Block}, place the following: {}``For a line with slope
 \$slope and y-intercept \$yint, what is y equal to?''




More information about the LON-CAPA-cvs mailing list