]> granicus.if.org Git - python/commitdiff
do_env_tableii(), do_env_tableiii(): Align the table in the center, just
authorFred Drake <fdrake@acm.org>
Sun, 28 Dec 1997 03:41:07 +0000 (03:41 +0000)
committerFred Drake <fdrake@acm.org>
Sun, 28 Dec 1997 03:41:07 +0000 (03:41 +0000)
like LaTeX does.  There's no need to diverge on this.

Doc/myformat.perl

index 9ec56d244ebf04520d387e73d0db22eae6a41834..244b79306816684d0ce94fd2684f0b2d9e88cbad 100644 (file)
@@ -334,7 +334,7 @@ sub do_env_tableii{
     $h2 = $8;
   }
   $globals{"lineifont"} = $font;
-  "<table border>\n  <tr><th>$h1</th>\n      <th>$h2</th>$'\n"
+  "<table border align=center>\n  <tr><th>$h1</th>\n      <th>$h2</th>$'\n"
     . "</table>";
 }
 
@@ -365,7 +365,7 @@ sub do_env_tableiii{
     $h3 = $10;
   }
   $globals{"lineifont"} = $font;
-  "<table border>\n  <tr><th>$h1</th>\n      <th>$h2</th>"
+  "<table border align=center>\n  <tr><th>$h1</th>\n      <th>$h2</th>"
     . "\n      <th>$h3</th>$'\n"
     . "</table>";
 }