--- loncom/homework/inputtags.pm 2003/04/22 20:43:40 1.94 +++ loncom/homework/inputtags.pm 2003/04/30 13:44:30 1.97 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.94 2003/04/22 20:43:40 sakharuk Exp $ +# $Id: inputtags.pm,v 1.97 2003/04/30 13:44:30 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -188,7 +188,7 @@ sub start_textline { } elsif ($target eq 'tex' and $Apache::lonhomework::type ne 'exam') { my $size = &Apache::lonxml::get_param('size',$parstack,$safeeval); if ($size != 0) {$size=$size*2; $size.=' mm';} else {$size='40 mm';} - $result='\framebox['.$size.'][s]{\tiny\strut}\vskip 2 mm'; + $result='\framebox['.$size.'][s]{\tiny\strut}'; } return $result; } @@ -530,8 +530,8 @@ sub gradestatus { if ( $maxtries eq 'con_lost' ) { $maxtries = '0'; } if ( $showbutton ) { if ($target eq 'tex') { - if ($ENV{'request.state'} ne "construct") { - $trystr = ' {\small \textit{Tries} '.$tries.'/'.$maxtries.'} \vskip 0 mm '; + if ($ENV{'request.state'} ne "construct" && $Apache::lonhomework::type ne 'exam') { + $trystr = ' {\vskip 1 mm \small \textit{Tries} '.$tries.'/'.$maxtries.'} \vskip 2 mm '; } else { $trystr = '\vskip 0 mm '; }