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

sakharuk lon-capa-cvs@mail.lon-capa.org
Tue, 30 Jul 2002 16:12:38 -0000


sakharuk		Tue Jul 30 12:12:38 2002 EDT

  Modified files:              
    /loncom/homework	randomlabel.pm 
  Log:
  Changed parameter for better adjustment of the blank space.
  
  
Index: loncom/homework/randomlabel.pm
diff -u loncom/homework/randomlabel.pm:1.31 loncom/homework/randomlabel.pm:1.32
--- loncom/homework/randomlabel.pm:1.31	Mon Jul 22 13:15:55 2002
+++ loncom/homework/randomlabel.pm	Tue Jul 30 12:12:38 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # random labelling tool
 #
-# $Id: randomlabel.pm,v 1.31 2002/07/22 17:15:55 sakharuk Exp $
+# $Id: randomlabel.pm,v 1.32 2002/07/30 16:12:38 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -158,7 +158,7 @@
       $result='\end{picture}\\\\';
       if (@$parstack[-1]=~/\$texwidth\s*=\s*?"90/) { #"
 	  @$parstack[-1]=~/\$height\s*=\s*?"(.+)?"/;
-	  my $howtoskipback = $1/45;
+	  my $howtoskipback = $1/48;
 	  $result.=' \vskip -'.$howtoskipback.' cm ';
       }
   } elsif ($target eq 'edit') {