summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/LaTeX/Table.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX/Table.hs b/src/Text/Pandoc/Writers/LaTeX/Table.hs
index 63683f79f..6ebcaa559 100644
--- a/src/Text/Pandoc/Writers/LaTeX/Table.hs
+++ b/src/Text/Pandoc/Writers/LaTeX/Table.hs
@@ -356,7 +356,7 @@ multicolumnDescriptor align
(ColumnCount numcols)
(Ann.ColNumber colnum) =
let toWidth = \case
- ColWidthDefault -> 0
+ ColWidthDefault -> (1 / fromIntegral numcols)
ColWidth x -> x
colspan = length colWidths
width = sum $ NonEmpty.map toWidth colWidths