--- loncom/html/adm/help/tex/Authoring_Output_Tags.tex 2005/02/24 22:22:39 1.2 +++ loncom/html/adm/help/tex/Authoring_Output_Tags.tex 2005/09/29 21:13:07 1.5 @@ -4,6 +4,31 @@ This group of tags generates useful output. \begin{itemize} +\item \textbf{algebra}\index{algebra}: Typesets algebraic expressions +\begin{verbatim} + 2x^y+sqrt(3/x^2) +\end{verbatim} +\item \textbf{chem}\index{chem}: Typesets chemical equation +\begin{verbatim} + 02 + 2H2 -> 2H20 +\end{verbatim} +\item \textbf{num}\index{num}: Typesets a number +\begin{verbatim} + 31454678 +\end{verbatim} +\item \textbf{parse}\index{parse}: to display the parsed view of a variable's +contents +\begin{verbatim} + + \$table +\end{verbatim} + \item \textbf{standalone}\index{standalone}: Everything inbetween the start and end tag is shown only on the web and only if the resource is not part of a course. @@ -16,10 +41,16 @@ in a problem will show the title; this a in stylesheets. \item \textbf{window}\index{window}: The text inbetween is put in a pop-up javascript window. + \item \textbf{m}\index{m}: The inside text is \LaTeX{}, and is converted -to HTML (or MathML) on the fly. If the attribute \textbf{eval} is -set to {}``\textbf{on}'' the intervening text will have a perl variable -expansion done to it before being converted. +to HTML (or MathML) on the fly. If the attribute \textbf{eval} is set +to {}``\textbf{on}'' the intervening text will have a perl variable +expansion done to it before being converted. The default is to convert +to the display mechanism that the user has selected. This can be +overriden by setting the attribute \textbf{display} to one of +``\textbf{tth}'' or ``\textbf{jsMath}'' or ``\textbf{mimetex}''which +will force a specfic display mechanism. + \item \textbf{randomlabel}\index{randomlabel}: This shows a specified image with images or text labels randomly assigned to a set of specific locations. Those locations may also have values assigned to them. @@ -45,7 +76,9 @@ labels to values, and locations to value -\end{verbatim} Possible attributes are: +\end{verbatim} + + Possible attributes are: \begin{itemize} \item \textbf{bgimg}\index{bgimg}: Either a fully qualified URL for an