--- loncom/homework/radiobuttonresponse.pm 2019/02/03 22:02:21 1.157.2.3 +++ loncom/homework/radiobuttonresponse.pm 2016/01/22 22:42:51 1.160 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # mutliple choice style responses # -# $Id: radiobuttonresponse.pm,v 1.157.2.3 2019/02/03 22:02:21 raeburn Exp $ +# $Id: radiobuttonresponse.pm,v 1.160 2016/01/22 22:42:51 damieng Exp $ # # Copyright Michigan State University Board of Trustees # @@ -592,7 +592,7 @@ sub html_direction_fragments { if ($direction eq 'horizontal') { return ('', '
', '', ''); } else { - return ('', '
', '
', ''); + return ('', '', '
', '
'); } } @@ -1030,8 +1030,7 @@ sub display_latex_exam { . '} \hspace*{\fill} \\\\'; } else { - $result .= '\textbf{' . $Apache::lonxml::counter . '}.'. - '\hspace*{2 mm}'; + $result .= '\textbf{' . $Apache::lonxml::counter . '}.'; } # Now output the bubbles themselves: @@ -1048,15 +1047,7 @@ sub display_latex_exam { } my $preindent; if ($bubble_number > 0) { - my $offset = 5; - if ($Apache::lonxml::counter) { - if ($identifier) { - $offset += 2 * (length($identifier)-1); - } else { - $offset += 2 * (length($Apache::lonxml::counter)-1); - } - } - $preindent = '\hspace*{'.$offset.' mm}'; + $preindent = '\hspace*{3 mm}'; } my $foiltext = $Apache::response::foilgroup{$name . '.text'}; $foiltext =~ s/\\noindent//; # forgive me for I have sinned..