diff options
| author | John MacFarlane <[email protected]> | 2023-10-17 21:22:53 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-10-17 21:22:53 -0700 |
| commit | 992bc86981e379e9b2a2913daa4ebdf9d8bec249 (patch) | |
| tree | b4f890a7fc4034f2fd6b7f833ecf6ad9f9f3bcd7 /src | |
| parent | f4baa88f4267e2056269efa71ce78ee290b0e9aa (diff) | |
LaTeX writer: fix rowspans in tables...
...so they use the width of the column (`=` as the width
parameter). Closes #9140.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Writers/LaTeX/Table.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX/Table.hs b/src/Text/Pandoc/Writers/LaTeX/Table.hs index ee5c62a3b..702b22328 100644 --- a/src/Text/Pandoc/Writers/LaTeX/Table.hs +++ b/src/Text/Pandoc/Writers/LaTeX/Table.hs @@ -358,7 +358,8 @@ cellToLaTeX blockListToLaTeX isSimpleTable colCount celltype annotatedCell = do (RowSpan 1) -> x (RowSpan n) -> let nrows = literal (tshow n) in "\\multirow" <> braces nrows - <> braces "*" <> braces x + <> braces "=" -- width of column + <> braces x return . inMultiColumn . inMultiRow $ result -- | Returns the width of a cell spanning @n@ columns. |
