[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 09 Feb 2005 19:51:44 -0000
albertel Wed Feb 9 14:51:44 2005 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
- I think this is more correctish
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.254 loncom/xml/londefdef.pm:1.255
--- loncom/xml/londefdef.pm:1.254 Wed Feb 9 10:56:45 2005
+++ loncom/xml/londefdef.pm Wed Feb 9 14:51:43 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.254 2005/02/09 15:56:45 www Exp $
+# $Id: londefdef.pm,v 1.255 2005/02/09 19:51:43 albertel Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -2542,7 +2542,8 @@
if ($latex_rendering eq "parpic") {
$currentstring = '\parpic[l]{'.$currentstring.'}';
} else { # parbox rendering
- $currentstring = "\n".'\parbox{'.$width_param.'mm}{'.$currentstring.'}';
+ $currentstring = "\\strut\\newline\n".
+ '\parbox{'.$width_param.'mm}{'.$currentstring.'}';
}
} elsif ($align eq "right") {
if ($latex_rendering eq "parpic") {