ng, Gene L
Sent: Friday, April 17, 2020 9:33 PM
To: Discussion list for LON-CAPA users
Subject: [LON-CAPA-users] Greek Characters in Formula Response
Hi,
Does anyone know how to do Greek characters in a formularesponse? Someone
shared a response from Stefan Droeschler several years ago, bu
17, 2020 9:33 PM
To: Discussion list for LON-CAPA users
Subject: [LON-CAPA-users] Greek Characters in Formula Response
Hi,
Does anyone know how to do Greek characters in a formularesponse? Someone
shared a response from Stefan Droeschler several years ago, but I cannot get it
to wo
cussion list for LON-CAPA users
Subject: [LON-CAPA-users] Greek Characters in Formula Response
Hi,
Does anyone know how to do Greek characters in a formularesponse? Someone
shared a response from Stefan Droeschler several years ago, but I cannot get it
to work:
$answer="ω+α*t";
Hi,
Does anyone know how to do Greek characters in a formularesponse? Someone
shared a response from Stefan Droeschler several years ago, but I cannot get it
to work:
$answer="ω+α*t";
$\omega + \alpha t$
Is a cut and paste from MS Word OK for putting the Greek characters into the
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.
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
Hi Mark,
yes, there’s a way:
problem
script type=loncapa/perl
$answer=ω+α*t;
/script
startouttext /
pm$\omega + \alpha t$/m/p
endouttext /
formularesponse answer=$answer
textline size=25 addchars=α,ω/
/formularesponse
/problem
--
Stefan Dröschler
Ostfalia Hochschule für