[LON-CAPA-cvs] cvs: loncom /xml lontable.pm
raeburn
raeburn@source.lon-capa.org
Tue, 28 Sep 2010 22:55:41 -0000
raeburn Tue Sep 28 22:55:41 2010 EDT
Modified files:
/loncom/xml lontable.pm
Log:
- Keep text in cells with align="right" vertically aligned with text in cells
with align="left".
Index: loncom/xml/lontable.pm
diff -u loncom/xml/lontable.pm:1.12 loncom/xml/lontable.pm:1.13
--- loncom/xml/lontable.pm:1.12 Fri Aug 27 09:42:49 2010
+++ loncom/xml/lontable.pm Tue Sep 28 22:55:41 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Generating TeX tables.
#
-# $Id: lontable.pm,v 1.12 2010/08/27 09:42:49 foxr Exp $
+# $Id: lontable.pm,v 1.13 2010/09/28 22:55:41 raeburn Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -799,8 +799,7 @@
if ($halign eq 'right') {
$col_align = 'r';
- $embeddedAlignStart = '\begin{flushright} ';
- $embeddedAlignEnd = ' \end{flushright}';
+ $embeddedAlignStart = '\raggedleft';
}
if ($halign eq 'center') {
$col_align = 'c';