Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sphinx/writers/latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -1254,9 +1254,10 @@ 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
left_colsep = _colsep if cell.col == 0 else ''
self.body.append(
r'\multicolumn{%d}{%sl%s}{\sphinxtablestrut{%d}}'
% (cell.width, _colsep, _colsep, cell.cell_id)
% (cell.width, left_colsep, _colsep, cell.cell_id)
)

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