[LON-CAPA-cvs] cvs: loncom /homework optionresponse.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Mon, 28 Oct 2002 14:27:27 -0000


sakharuk		Mon Oct 28 09:27:27 2002 EDT

  Modified files:              
    /loncom/homework	optionresponse.pm 
  Log:
   Changes for the better printing in the list environment (Ed's desire).
  
  
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.55 loncom/homework/optionresponse.pm:1.56
--- loncom/homework/optionresponse.pm:1.55	Fri Oct 25 14:42:59 2002
+++ loncom/homework/optionresponse.pm	Mon Oct 28 09:27:27 2002
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: optionresponse.pm,v 1.55 2002/10/25 18:42:59 sakharuk Exp $
+# $Id: optionresponse.pm,v 1.56 2002/10/28 14:27:27 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -364,9 +364,9 @@
 		  $result.= $texoptionlist.$Apache::response::foilgroup{$name.'.text'};
 	      } else {
 		  if ($Apache::lonhomework::type eq 'exam') {
-		      $result.= $texoptionlist.'\item[\textbf{'.$Apache::lonxml::counter.'}.]'.$Apache::response::foilgroup{$name.'.text'};
+		      $result.= $texoptionlist.'\vspace*{-2 mm}\item[\textbf{'.$Apache::lonxml::counter.'}.]'.$Apache::response::foilgroup{$name.'.text'};
 		  } else {
-		      $result.= $texoptionlist.'\item '.$Apache::response::foilgroup{$name.'.text'};
+		      $result.= $texoptionlist.'\vspace*{-2 mm}\item '.$Apache::response::foilgroup{$name.'.text'};
 		  }
 	      }
 	      if ($Apache::lonhomework::type eq 'exam') {
@@ -546,7 +546,7 @@
   my $result = '';
   if ($target eq 'web' || $target eq 'tex') { 
       $text=&Apache::lonxml::endredirection;
-      if ($target eq 'tex') { $text = '\item '.$text; }
+      if ($target eq 'tex') { $text = '\vspace*{-2 mm}\item '.$text; }
   }
   if ($target eq 'web' || $target eq 'grade' || $target eq 'answer' 
       || $target eq 'tex' || $target eq 'analyze') {