[LON-CAPA-cvs] cvs: loncom /homework optionresponse.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 02 Feb 2006 20:36:07 -0000
albertel Thu Feb 2 15:36:07 2006 EDT
Modified files:
/loncom/homework optionresponse.pm
Log:
- need to explicitly set \tabcolsep so it is consistanent for us
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.130 loncom/homework/optionresponse.pm:1.131
--- loncom/homework/optionresponse.pm:1.130 Tue Dec 6 05:03:57 2005
+++ loncom/homework/optionresponse.pm Thu Feb 2 15:36:07 2006
@@ -1,7 +1,7 @@
# LearningOnline Network with CAPA
# option list style responses
#
-# $Id: optionresponse.pm,v 1.130 2005/12/06 10:03:57 albertel Exp $
+# $Id: optionresponse.pm,v 1.131 2006/02/02 20:36:07 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -549,7 +549,7 @@
$head.='lr';
} else {
$line=~s/\&\s*$//;
- $result.='\vskip -2 mm\noindent\begin{tabular}{'.$head.'}'.$line.'\\\\\end{tabular}\vskip 0 mm';
+ $result.='\vskip -2 mm\noindent\setlength{\tabcolsep}{2 mm}\begin{tabular}{'.$head.'}'.$line.'\\\\\end{tabular}\vskip 0 mm';
$line = '\hskip -1 mm {\small \textbf{'.$alphabet[$ind].'}}$\bigcirc$\hskip -1 mm & \hskip -3 mm {\small '.$opt[$ind].'} & ';;
$head ='lr';
$current_length = (length($opt[$ind])+length($alphabet[$ind]))*2;