@@ -446,9 +446,9 @@ tableRowToLaTeX header aligns widths cols = do
446 AlignCenter -> "\\centering"
446 AlignCenter -> "\\centering"
447 AlignDefault -> "\\raggedright"
447 AlignDefault -> "\\raggedright"
448 let toCell 0 _ c = c
448 let toCell 0 _ c = c
449− toCell w a c = "\\parbox" <> valign <>
449+ toCell w a c = "\\begin{minipage}" <> valign <>
450 braces (text (printf "%.2f\\columnwidth" w)) <>
450 braces (text (printf "%.2f\\columnwidth" w)) <>
451− braces (halign a <> cr <> c <> cr)
451+ (halign a <> cr <> c <> cr) <> "\\end{minipage}"
452 let cells = zipWith3 toCell widths aligns renderedCells
452 let cells = zipWith3 toCell widths aligns renderedCells
453 return $ hsep (intersperse "&" cells) $$ "\\\\\\noalign{\\medskip}"
453 return $ hsep (intersperse "&" cells) $$ "\\\\\\noalign{\\medskip}"