--- loncom/html/adm/help/tex/Authoring_Output_Tags.tex 2008/09/10 21:00:59 1.9 +++ loncom/html/adm/help/tex/Authoring_Output_Tags.tex 2010/06/04 22:33:53 1.11 @@ -11,7 +11,7 @@ This group of tags generates useful outp Expressions are displayed using the math expression display mechanism defined in the user's preferences. The default is tth. See the section below concerning the $<$m$>$ tag for more information on that as well as on the attribute \textbf{display}. \item \textbf{chem}\index{chem}: Typesets chemical equation \begin{verbatim} - 02 + 2H2 -> 2H20 + O2 + 2H2 -> 2H2O \end{verbatim} \item \textbf{num}\index{num}: Typesets a number formatted in scientific notation, fixed point, fixed point with commas, fixed point with commas and dollar sign, or in significant digits. \begin{verbatim} @@ -184,4 +184,14 @@ external image or a LON-CAPA resource. I \item \textbf{height}\index{height}: The height of the image in pixels. \item \textbf{texwidth}\index{texwidth}: The width of the image in millimeters. \end{itemize} + +\item \textbf{problemtype}\index{problemtype}: This tag allows you to show or hide output based on what the problem-type parameter is set to in the course. For example: \begin{verbatim} + + +The formula is for the circumference of a cirle is 2*pi*r + + +\end{verbatim} +Will only show the output text when the problem is set to the type of exam or survey in the course. The attribute for mode can be set to show or hide. The attribute for for can be problem, exam, survey, or practice. + \end{itemize}