--- loncom/html/adm/help/tex/Authoring_Library_Scripts.tex 2016/08/20 14:52:57 1.4 +++ loncom/html/adm/help/tex/Authoring_Library_Scripts.tex 2017/01/19 21:12:45 1.5 @@ -15,21 +15,21 @@ into a problem file. \index{library}\ind \noindent Library file: \begin{verbatim} - + \end{verbatim} \noindent Problem file: \begin{verbatim} -randomletter.library -The random letter is $letter. - + randomletter.library + The random letter is $letter. + \end{verbatim} @@ -42,11 +42,11 @@ A portion of a script, such as a large d \noindent Library file: \begin{verbatim} - + \end{verbatim} @@ -54,12 +54,12 @@ $seed=&random(1,1000000,1); script calculations can be done using variables from the library file.) \begin{verbatim} -randomletter.library - -The random letter is $letter. - + randomletter.library + + The random letter is $letter. + \end{verbatim} @@ -80,14 +80,15 @@ some arguments: \$eq,`x',`y',`z' in the \begin{verbatim} -/res/msu/raeburn/cleaneq.library + /res/msu/raeburn/cleaneq.library - -Here is an example equation:
-Without cleaneq: $eq
-With cleaneq: $eq2 + + Here is an example equation:
+ Without cleaneq: $eq
+ With cleaneq: $eq2
\end{verbatim} @@ -99,19 +100,19 @@ The .library file hold the all content that would normally appear inside the $<$part$>$ tag. \begin{verbatim} - -sample1.library< /import> -sample2.library< /import> -sample3.library< /import> -< /randomlist> -< /part> + + sample1.library + sample2.library + sample3.library + + - -sample4.library< /import> -sample5.library< /import> -sample6.library< /import> -< /randomlist> -< /part> + + sample4.library + sample5.library + sample6.library + + \end{verbatim} Note: when using $<$randomlist$>$ as shown above, all students will work