version 1.105, 2003/06/24 20:41:56
|
version 1.106, 2003/07/24 13:25:37
|
Line 324 sub end_numericalresponse {
|
Line 324 sub end_numericalresponse {
|
if ($high && $$tagstack[-1] eq 'numericalresponse') { $ans.=' ['.$low.','.$high.']'; } |
if ($high && $$tagstack[-1] eq 'numericalresponse') { $ans.=' ['.$low.','.$high.']'; } |
if ($sighigh && $$tagstack[-1] eq 'numericalresponse') { |
if ($sighigh && $$tagstack[-1] eq 'numericalresponse') { |
if ($ENV{'form.answer_output_mode'} eq 'tex') { |
if ($ENV{'form.answer_output_mode'} eq 'tex') { |
$ans.= " Sig \\textit{$siglow - $sighigh}"; |
$ans.= " Sig $siglow - $sighigh"; |
} else { |
} else { |
$ans.= " Sig <i>$siglow - $sighigh</i>"; |
$ans.= " Sig <i>$siglow - $sighigh</i>"; |
} |
} |
Line 343 sub end_numericalresponse {
|
Line 343 sub end_numericalresponse {
|
if ($target eq 'answer') { |
if ($target eq 'answer') { |
if ($ENV{'form.answer_output_mode'} eq 'tex') { |
if ($ENV{'form.answer_output_mode'} eq 'tex') { |
$result.=&Apache::response::answer_part($$tagstack[-1], |
$result.=&Apache::response::answer_part($$tagstack[-1], |
"Unit: \\verb|$unit|"); |
" Unit: $unit "); |
} else { |
} else { |
$result.=&Apache::response::answer_part($$tagstack[-1], |
$result.=&Apache::response::answer_part($$tagstack[-1], |
"Unit: <b>$unit</b>"); |
"Unit: <b>$unit</b>"); |