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

sakharuk lon-capa-cvs@mail.lon-capa.org
Tue, 06 Apr 2004 15:54:35 -0000


sakharuk		Tue Apr  6 11:54:35 2004 EDT

  Modified files:              
    /loncom/homework/caparesponse	caparesponse.pm 
  Log:
  Small change to restore default width for LaTeX table internals which can be changed is another table is presented in the particular problem.
  
  
Index: loncom/homework/caparesponse/caparesponse.pm
diff -u loncom/homework/caparesponse/caparesponse.pm:1.143 loncom/homework/caparesponse/caparesponse.pm:1.144
--- loncom/homework/caparesponse/caparesponse.pm:1.143	Tue Mar 16 14:47:47 2004
+++ loncom/homework/caparesponse/caparesponse.pm	Tue Apr  6 11:54:35 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # caparesponse definition
 #
-# $Id: caparesponse.pm,v 1.143 2004/03/16 19:47:47 albertel Exp $
+# $Id: caparesponse.pm,v 1.144 2004/04/06 15:54:35 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -271,7 +271,7 @@
 		    my $cou=0;
 		    $result.='\vskip -1 mm \noindent \begin{enumerate}\item[\textbf{'.$Apache::lonxml::counter.'}.]';
 		    for (my $i=0;$i<$number_of_tables;$i++) {
-			$result.='\vskip -1 mm \noindent \begin{tabular}{';
+			$result.='\vskip -1 mm \noindent \setlength{\tabcolsep}{2 mm}\begin{tabular}{';
 			for (my $ind=0;$ind<$table_range[$j];$ind++) {
 			    $result.='p{3 mm}p{'.$celllength.' mm}';
 			}