Skip to content

Commit

Permalink
Merge pull request #9314 from jfbu/latex_9313_missing_curly_brace
Browse files Browse the repository at this point in the history
Fix #9313
  • Loading branch information
tk0miya committed Jun 13, 2021
2 parents b7c05a2 + 67e48df commit 669c35a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES
Expand Up @@ -16,6 +16,8 @@ Features added
Bugs fixed
----------

* 9313: LaTeX: complex table with merged cells broken since 4.0

Testing
--------

Expand Down
2 changes: 1 addition & 1 deletion sphinx/writers/latex.py
Expand Up @@ -966,7 +966,7 @@ def visit_row(self, node: Element) -> None:
# insert suitable strut for equalizing row heights in given multirow
self.body.append(r'\sphinxtablestrut{%d}' % cell.cell_id)
else: # use \multicolumn for wide multirow cell
self.body.append(r'\multicolumn{%d}{|l|}\sphinxtablestrut{%d}}' %
self.body.append(r'\multicolumn{%d}{|l|}{\sphinxtablestrut{%d}}' %
(cell.width, cell.cell_id))

def depart_row(self, node: Element) -> None:
Expand Down

0 comments on commit 669c35a

Please sign in to comment.