mirror of https://github.com/python/cpython.git
do_env_tableii(), do_env_tableiii(): Align the table in the center, just
like LaTeX does. There's no need to diverge on this.
This commit is contained in:
parent
4d9d3f18c2
commit
0ee358529e
|
@ -334,7 +334,7 @@ sub do_env_tableii{
|
||||||
$h2 = $8;
|
$h2 = $8;
|
||||||
}
|
}
|
||||||
$globals{"lineifont"} = $font;
|
$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>";
|
. "</table>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -365,7 +365,7 @@ sub do_env_tableiii{
|
||||||
$h3 = $10;
|
$h3 = $10;
|
||||||
}
|
}
|
||||||
$globals{"lineifont"} = $font;
|
$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"
|
. "\n <th>$h3</th>$'\n"
|
||||||
. "</table>";
|
. "</table>";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue