[LON-CAPA-users] format the displayed answer?

Lars Jensen lon-capa-users@mail.lon-capa.org
Thu, 16 Oct 2003 13:21:53 -0700 (PDT)

Is it possible to format the conputer's response to a correct answer? 

Consider this example:

What is the probability of getting two ones when rolling two die? The
computer responds with something like 

The correct answer is: 0.277777777778

Is there  a way to make the computer respond with a tex/html 
formatted answer like this instead?

The correct answer is \left(\frac{1}{6}\right)^2 

where the tex expression has been properly typeset on the screen and 
on the web.


Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. 
Internet: <jensen@physics.unr.edu>, http://www.scsr.nevada.edu/~jensen/
Tel: 775.673.7113  FAX: 775.674.7592