mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #506: block table alignment problem.
This commit is contained in:
parent
f250397f77
commit
806cadaa01
@ -629,7 +629,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
self.table.longtable = True
|
||||
self.body = self._body
|
||||
if not self.table.longtable and self.table.caption is not None:
|
||||
self.body.append(u'\n\\begin{threeparttable}\n'
|
||||
self.body.append(u'\n\n\\begin{threeparttable}\n'
|
||||
u'\\capstart\\caption{%s}\n' % self.table.caption)
|
||||
if self.table.longtable:
|
||||
self.body.append('\n\\begin{longtable}')
|
||||
|
Loading…
Reference in New Issue
Block a user