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

raeburn raeburn at source.lon-capa.org
Fri Oct 12 09:26:55 EDT 2012


raeburn		Fri Oct 12 13:26:55 2012 EDT

  Modified files:              
    /loncom/html/adm/help/tex	Formula_Response_Example.tex 
                             	Numerical_Response_Randomization.tex 
                             	Variables_in_Scripts.tex 
                             	Variables_in_the_Text_Block.tex 
  Log:
  - Remove lyxcode
  
  
Index: loncom/html/adm/help/tex/Formula_Response_Example.tex
diff -u loncom/html/adm/help/tex/Formula_Response_Example.tex:1.5 loncom/html/adm/help/tex/Formula_Response_Example.tex:1.6
--- loncom/html/adm/help/tex/Formula_Response_Example.tex:1.5	Fri Feb 18 20:35:23 2005
+++ loncom/html/adm/help/tex/Formula_Response_Example.tex	Fri Oct 12 13:26:55 2012
@@ -4,13 +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{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?''
Index: loncom/html/adm/help/tex/Numerical_Response_Randomization.tex
diff -u loncom/html/adm/help/tex/Numerical_Response_Randomization.tex:1.2 loncom/html/adm/help/tex/Numerical_Response_Randomization.tex:1.3
--- loncom/html/adm/help/tex/Numerical_Response_Randomization.tex:1.2	Thu Jul 18 15:52:27 2002
+++ loncom/html/adm/help/tex/Numerical_Response_Randomization.tex	Fri Oct 12 13:26:55 2012
@@ -11,15 +11,13 @@
 
 %
 \begin{figure}
-\begin{lyxcode}
 \$a~=~\&random(1.0,10.0,1.0);
 
 \$b~=~\&random(-10.0,~-3.0,~1.0);
 
 \$answer~=~\$a+\$b;
-\end{lyxcode}
 
-\caption{Sample \texttt{random} Calls \label{Sample Random Calls figure}}
+\caption{Sample \texttt{Random} Calls \label{Sample Random Calls figure}}
 \end{figure}
 If you put the script in ``Sample Random Calls'' into the
 \textbf{Script} block (replacing whatever contents might be in the block
Index: loncom/html/adm/help/tex/Variables_in_Scripts.tex
diff -u loncom/html/adm/help/tex/Variables_in_Scripts.tex:1.3 loncom/html/adm/help/tex/Variables_in_Scripts.tex:1.4
--- loncom/html/adm/help/tex/Variables_in_Scripts.tex:1.3	Thu Aug 29 18:26:28 2002
+++ loncom/html/adm/help/tex/Variables_in_Scripts.tex	Fri Oct 12 13:26:55 2012
@@ -3,9 +3,7 @@
 Variables can be used later in the same script. For instance, we can add
 another line below the \texttt{\$variable} line as such:
 
-\begin{lyxcode}
 \$variable2~=~\$variable~+~2;
-\end{lyxcode}
 
 Now there is a variable called \texttt{\$variable2} with the the number {}``5''
 as its value. 
@@ -16,9 +14,7 @@
 common way is to use normal double-quotes and just spell out the name of
 the variable you want to use in the string, like this:
 
-\begin{lyxcode}
 \$stringVar~=~{}``I~have~a~variable~with~the~value~\$variable.'';
-\end{lyxcode}
 
 This will put the string {}``I have a variable with the value 3.'' into
 the variable named {}``stringVar''.
Index: loncom/html/adm/help/tex/Variables_in_the_Text_Block.tex
diff -u loncom/html/adm/help/tex/Variables_in_the_Text_Block.tex:1.2 loncom/html/adm/help/tex/Variables_in_the_Text_Block.tex:1.3
--- loncom/html/adm/help/tex/Variables_in_the_Text_Block.tex:1.2	Thu Jul 18 15:52:27 2002
+++ loncom/html/adm/help/tex/Variables_in_the_Text_Block.tex	Fri Oct 12 13:26:55 2012
@@ -4,11 +4,9 @@
 the \textbf{Text Block}. For example, using the previous three-line script
 we've created so far, you can place the following in the \textbf{Text Block}:
 
-\begin{lyxcode}
 See~the~3:~\$variable<br~/>
 
 See~the~string:~<b>\$stringVar</b><br~/>
-\end{lyxcode}
 %
 \begin{figure}
 \begin{center}\includegraphics{numericalResponseVarInText}\end{center}




More information about the LON-CAPA-cvs mailing list