We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b19c59 commit ab41355Copy full SHA for ab41355
1 file changed
macros/core/PGbasicmacros.pl
@@ -301,14 +301,13 @@ sub NAMED_ANS_RULE {
301
$rh_sticky_answers->{$name} = \@answers; # Store the rest.
302
}
303
304
- $answer_value =~ s/\s+/ /g; # Remove excessive whitespace from student answer.
305
$name = RECORD_ANS_NAME($name, $answer_value);
306
my $previous_name = "previous_$name";
307
$name = ($envir{use_opaque_prefix}) ? "%%IDPREFIX%%$name" : $name;
308
$previous_name = ($envir{use_opaque_prefix}) ? "%%IDPREFIX%%$previous_name" : $previous_name;
309
310
- my $tcol = $col / 2 > 3 ? $col / 2 : 3; # get max
311
- $tcol = $tcol < 40 ? $tcol : 40; # get min
+ my $tcol = $col / 2 > 3 ? $col / 2 : 3; # get max
+ $tcol = $tcol < 40 ? $tcol : 40; # get min
312
313
return MODES(
314
TeX => "{\\answerRule[$name]{$tcol}}",
0 commit comments