Commits

Georg Brandl  committed 5f7ea3f

Fix #506: block table alignment problem.

  • Participants
  • Parent commits 540322b

Comments (0)

Files changed (1)

File sphinx/writers/latex.py

             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}')