[LON-CAPA-users] Greek Characters in formula response
Lucas, Mark
lucasm at ohio.edu
Fri Dec 5 22:55:37 EST 2014
Stefan,
Thanks for the suggestion. I did not realize “addchars” existed.
Unfortunately under firefox and maces 10.9 I get
ERROR: Computer's answer is incorrect ("ω+α*t").
This error occurred while processing response 1_5 in part 0
and
Unable to understand formula
in the response to the answer.
Do you have any ideas why the error? Is this something that only works well under
windows or a certain browser? I’m running LC 2.11.0.
Thanks,
Mark
On Dec 4, 2014, at 10:21 AM, Stefan Dröschler <st.droeschler at ostfalia.de> wrote:
> 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
>
>> 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
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
--
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
More information about the LON-CAPA-users
mailing list