[LON-CAPA-users] format the displayed answer?
Guy Albertelli II
lon-capa-users@mail.lon-capa.org
Thu, 16 Oct 2003 16:46:10 -0400 (EDT)
Hi Lars,
> Is it possible to format the conputer's response to a correct answer?
In a couple of ways.
1) You can do
<numericalresponse format="2E" answer="$answer">
This will format the answer like &format() does
2) you can do something like
<notsolved>
<numericalresponse answer="$answer><textline /></numericalresponse>
</notsolved>
<solved>
<startouttext />
The correct answer is <m>$$\left(\frac{1}{6}\right)^2$$</m>.
<endouttext />
</solved>
--
guy@albertelli.com LON-CAPA Developer 0-7-5-5-