Merge pull request #2665 from monofon/fix/table-alignment
LaTeX writer: Allow more flexible table alignment
commit3875df7d872e49910b99c91d4bb8e900c5cda559
authorJohn MacFarlane <jgm@berkeley.edu>
dateWed 20 Jan 2016, 09:57 (11 years ago)
parentf2c09747a18879
src/Text/Pandoc/Writers/LaTeX.hs+1−1
@@ -591,7 +591,7 @@ blockToLaTeX (Table caption aligns widths heads rows) = do
591591 rows' <- mapM (tableRowToLaTeX False aligns widths) rows
592592 let colDescriptors = text $ concat $ map toColDescriptor aligns
593593 modify $ \s -> s{ stTable = True }
594− return $ "\\begin{longtable}[c]" <>
594+ return $ "\\begin{longtable}[]" <>
595595 braces ("@{}" <> colDescriptors <> "@{}")
596596 -- the @{} removes extra space at beginning and end
597597 $$ capt