diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2021-06-12 17:01:50 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2021-06-12 17:17:46 +0200 |
commit | 0a1eef2cbedeafe5a04e932ba4b22bf7b3e999c5 (patch) | |
tree | d356e02183c0c50ec40398b58a6d6743a6ba34ac /src | |
parent | 707c6d1d448284efff002eb1866f31fc31cef7b3 (diff) | |
download | pandoc-0a1eef2cbedeafe5a04e932ba4b22bf7b3e999c5.tar.gz |
LaTeX: add flushright/flushleft
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 7b942aed9..2ec593974 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -1651,6 +1651,8 @@ environments = M.fromList , ("figure", env "figure" $ skipopts *> figure) , ("subfigure", env "subfigure" $ skipopts *> tok *> figure) , ("center", divWith ("", ["center"], []) <$> env "center" blocks) + , ("flushright", divWith ("", ["flushright"], []) <$> env "flushright" blocks) + , ("flushleft", divWith ("", ["flushleft"], []) <$> env "flushleft" blocks) , ("longtable", env "longtable" $ resetCaption *> simpTable "longtable" False >>= addTableCaption) , ("table", env "table" $ |