diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-05-11 23:57:47 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-05-11 23:57:47 -0700 |
commit | 609fb33302156348fa3f2fc6d86b9201fa17f052 (patch) | |
tree | acae6e52d4ee7511c3bbef4f3478f23d7e5ddf5f /src | |
parent | 803ba9219895614276b33784d29467142bc80b29 (diff) | |
parent | ec2fc30288a376225d249728607db563fe320cc5 (diff) | |
download | pandoc-609fb33302156348fa3f2fc6d86b9201fa17f052.tar.gz |
Merge pull request #2913 from jlduran/strut-minipage-tables
Retake on strut with \minipage inside tables
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index 804e0febc..9284d18ee 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -675,7 +675,8 @@ tableCellToLaTeX header (width, align, blocks) = do AlignDefault -> "\\raggedright" return $ ("\\begin{minipage}" <> valign <> braces (text (printf "%.2f\\columnwidth" width)) <> - (halign <> cr <> cellContents <> cr) <> "\\end{minipage}") $$ + (halign <> "\\strut" <> cr <> cellContents <> "\\strut" <> cr) <> + "\\end{minipage}") $$ notesToLaTeX notes notesToLaTeX :: [Doc] -> Doc @@ -1306,4 +1307,3 @@ pDocumentClass = else do P.skipMany (P.satisfy (/='{')) P.char '{' P.manyTill P.letter (P.char '}') - |