[LON-CAPA-users] latex/tex in authoring

Lars Jensen lon-capa-users@mail.lon-capa.org
Fri, 09 Dec 2005 08:44:36 -0800

Hi Nathan,

Nathan Schoenack wrote:
> Hello,
> I want to display an equation--u=x/y--in a format where the x is 
> actually over the y.  I thought I could use tex or latex with a <tex> 
> </tex> kind of format based on what I read in the Problem Editing Help 
> link in the edit mode.  The problem is I don't know tex or latex so I 
> don't know if I'm screwing up the tags or the tex code itself (I got 
> some help from our tex-using profs).
> 1st question: Is it Tex or LaTex (or both) that LON-CAPA uses?

It is latex

> 2nd: How do you enable it?

use the m-tag, and enclose the latex in 4-signs (or double-$-signs for 
> Here's what I'm trying:
> <tex >$\frac{x y}$</tex >

use <m>$u=\frac{x}{y}$</m>
or <m display="jsmath">$u=\frac{x}{y}$</m>
or <m display="jsmath">$$u=\frac{x}{y}$$</m>