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

felicia felicia@source.lon-capa.org
Fri, 04 Jun 2010 22:33:53 -0000


felicia		Fri Jun  4 22:33:53 2010 EDT

  Modified files:              
    /loncom/html/adm/help/tex	Authoring_Output_Tags.tex 
  Log:
  Added doc about <problemtype> to close out bug 2703
  
  
Index: loncom/html/adm/help/tex/Authoring_Output_Tags.tex
diff -u loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.10 loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.11
--- loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.10	Thu Oct 15 03:40:45 2009
+++ loncom/html/adm/help/tex/Authoring_Output_Tags.tex	Fri Jun  4 22:33:53 2010
@@ -184,4 +184,14 @@
 \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}
+<problemtype mode="show" for="exam,survey">
+<startouttext />
+The formula is for the circumference of a cirle is 2*pi*r
+<endouttext />
+</problemtype>
+\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}