--- loncom/html/adm/help/tex/Authoring_Output_Tags.tex 2017/01/21 00:02:05 1.24 +++ loncom/html/adm/help/tex/Authoring_Output_Tags.tex 2017/01/23 20:29:42 1.25 @@ -148,7 +148,7 @@ between the start and the end tag. By de 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 +\item \textbf{m}\index{m}\index{equations}: The inside text is \LaTeX{}, and is converted to HTML (or MathML) on the fly. The default is to convert to the display mechanism that the user has selected in preferences. This can be overriden by setting the attribute \textbf{display} to one of @@ -178,7 +178,7 @@ You will get the equation rendered with \$b may take on. -\item \textbf{lm}\index{lm}: This is another way to input math, which does not require +\item \textbf{lm}\index{lm}\index{equations}: This is another way to input math, which does not require knowing \LaTeX{}. The lm syntax describes mathematical operations rather than appearance (as opposed to LaTeX, which describes how the math should appear). Display is the same when the math operations are the same, for instance 2*(x) will be displayed just like 2x. One advantage to that system is that math will be displayed in a consistent way, even when written by several authors. The drawback is that display cannot be chosen precisely. Eventually, this syntax will also be used to evaluate \texttt{} (it is already used for the real-time preview). @@ -288,9 +288,9 @@ 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 for the circumference of a circle is 2*pi*r - + + The formula for the circumference of a circle 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.