--- loncom/html/adm/help/tex/Authoring_Output_Tags.tex 2010/06/04 22:33:53 1.11 +++ loncom/html/adm/help/tex/Authoring_Output_Tags.tex 2011/12/19 18:00:19 1.14 @@ -26,11 +26,11 @@ Expressions are displayed using the math contents \begin{verbatim} $table \end{verbatim} @@ -116,7 +116,18 @@ in LON-CAPA style files. \item \textbf{linktext} the text that should appear as the link that causes the creation of the window \end{itemize} -When printing, this included text will get turned into a real footnote. +When printing, the included text will get turned into a real footnote. + +\item \textbf{togglebox}\index{togglebox}: This creates a toggling box that can be clicked open and close. + +\begin{itemize} +\item \textbf{heading} heading text of the box, by default no heading +\item \textbf{headerbg} background color of the header, by default white +\item \textbf{showtext} the text that appears to make the box visible, by default the translation of 'show' +\item \textbf{hidetext} the text that appears to hide the box again, by default the translation of 'hide' +\end{itemize} + +When printing, the included text will be rendered in a visible box. \item \textbf{m}\index{m}: The inside text is \LaTeX{}, and is converted @@ -188,7 +199,7 @@ external image or a LON-CAPA resource. I \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 +The formula for the circumference of a circle is 2*pi*r \end{verbatim}