[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: loncom /xml lontable.pm
From:       raeburn <raeburn () source ! lon-capa ! org>
Date:       2010-09-28 22:55:41
Message-ID: cvsraeburn1285714541 () cvsserver
[Download RAW message or body]

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';


_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic