diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py index a2a17855c18..c2b9d711f3f 100644 --- a/sphinx/writers/latex.py +++ b/sphinx/writers/latex.py @@ -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: