diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-23 22:25:08 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-23 22:25:08 +0100 |
commit | f3d81056d66147a42587607a3f8926c0baf06b7e (patch) | |
tree | 2795348f28beb7859723eef0b6acfc47126c021c /src/Text/Pandoc | |
parent | 35922ffa324eaba4e853a7c4b5517ddb505723a1 (diff) | |
download | pandoc-f3d81056d66147a42587607a3f8926c0baf06b7e.tar.gz |
Removed `\strut` at beginning of table cells.
This fixes a problem with alignment of lists in table cells
(closes #3436). The `\strut` at the end seems to be enough
to avoid the too-close spacing that motivated addition of
the strut in #1573.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index ac2b5d758..07cd6bc8b 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -725,7 +725,7 @@ tableCellToLaTeX header (width, align, blocks) = do AlignDefault -> "\\raggedright" return $ ("\\begin{minipage}" <> valign <> braces (text (printf "%.2f\\columnwidth" width)) <> - (halign <> "\\strut" <> cr <> cellContents <> "\\strut" <> cr) <> + (halign <> cr <> cellContents <> "\\strut" <> cr) <> "\\end{minipage}") $$ notesToLaTeX notes |