[LON-CAPA-users] Greek Characters in formula response

Stefan Dröschler st.droeschler at ostfalia.de
Thu Dec 4 10:21:48 EST 2014


Hi Mark,

yes, there’s a way:

<problem>

<script type="loncapa/perl">
$answer="ω+α*t";
</script>

<startouttext />
<p><m>$\omega + \alpha t$</m></p>
<endouttext />

<formularesponse answer="$answer">
    <textline size="25"  addchars="α,ω"/>    
</formularesponse>

</problem>


-- 
Stefan Dröschler

Ostfalia Hochschule für angewandte Wissenschaften
Hochschule Braunschweig/Wolfenbüttel
ZeLL - Zentrum für erfolgreiches Lehren und Lernen
Salzdahlumer Str. 46/48
Büro: Am Exer 10d
38302 Wolfenbüttel

Fon: ++49 5331 939 17250
http://www.ostfalia.de/zell <http://www.ostfalia.de/zell>

> On 04 Dec 2014, at 14:54, Lucas, Mark <lucasm at ohio.edu> wrote:
> 
> Is there a way to include greek characters in a formularesponse answer?
> 
> I have a teacher who is looking to include omega and alpha in the answer
> for a rotational motion problem.
> 
> My gut feeling is that the answer is no, but I thought I’d check.
> 
> Mark
> -- 
> Mark Lucas 								email: lucasm at ohiou.edu
> 252D Clippinger Lab						phone: (740)597-2984
> Department of Physics and Astronomy		fax: (740)593-0433
> Ohio University
> Athens, OH 45701
> 
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20141204/845c5443/attachment.html>


More information about the LON-CAPA-users mailing list