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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 20 Dec 2005 16:31:51 -0000


albertel		Tue Dec 20 11:31:51 2005 EDT

  Modified files:              
    /loncom/homework	response.pm 
  Log:
  - save the space by no indenting the answer
  
  
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.133 loncom/homework/response.pm:1.134
--- loncom/homework/response.pm:1.133	Tue Dec  6 05:00:08 2005
+++ loncom/homework/response.pm	Tue Dec 20 11:31:50 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.133 2005/12/06 10:00:08 albertel Exp $
+# $Id: response.pm,v 1.134 2005/12/20 16:31:50 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -646,7 +646,7 @@
     my $result;
     if ($env{'form.answer_output_mode'} eq 'tex') {
 	my $columns = scalar(@answer_bits);
-	$result  = ' \vskip 0 mm \begin{tabular}{|'.'c|'x$columns.'}\hline ';
+	$result  = ' \vskip 0 mm \noindent \begin{tabular}{|'.'c|'x$columns.'}\hline ';
 	$result .= join(' & ',@answer_bits);
 	$result .= ' \\\\ \\hline \end{tabular} \vskip 0 mm ';
     } else {