Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0ee3585

Browse files
committed
do_env_tableii(), do_env_tableiii(): Align the table in the center, just
like LaTeX does. There's no need to diverge on this.
1 parent 4d9d3f1 commit 0ee3585

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/myformat.perl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ sub do_env_tableii{
334334
$h2 = $8;
335335
}
336336
$globals{"lineifont"} = $font;
337-
"<table border>\n <tr><th>$h1</th>\n <th>$h2</th>$'\n"
337+
"<table border align=center>\n <tr><th>$h1</th>\n <th>$h2</th>$'\n"
338338
. "</table>";
339339
}
340340

@@ -365,7 +365,7 @@ sub do_env_tableiii{
365365
$h3 = $10;
366366
}
367367
$globals{"lineifont"} = $font;
368-
"<table border>\n <tr><th>$h1</th>\n <th>$h2</th>"
368+
"<table border align=center>\n <tr><th>$h1</th>\n <th>$h2</th>"
369369
. "\n <th>$h3</th>$'\n"
370370
. "</table>";
371371
}

0 commit comments

Comments
 (0)