mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
@@ -1016,6 +1016,7 @@ environments = M.union (tableEnvironments block inline) $
|
||||
, ("minipage", divWith ("",["minipage"],[]) <$>
|
||||
env "minipage" (skipopts *> spaces *> optional braced *> spaces *> blocks))
|
||||
, ("figure", env "figure" $ skipopts *> figure')
|
||||
, ("figure*", env "figure*" $ skipopts *> figure')
|
||||
, ("subfigure", env "subfigure" $ skipopts *> tok *> figure')
|
||||
, ("center", divWith ("", ["center"], []) <$> env "center" blocks)
|
||||
, ("quote", blockQuote <$> env "quote" blocks)
|
||||
|
||||
@@ -7,8 +7,13 @@
|
||||
\end{overpic}
|
||||
\end{figure*}
|
||||
^D
|
||||
[ RawBlock
|
||||
(Format "latex")
|
||||
"\\begin{figure*}\n \\centering\n \\begin{overpic}{test_pic}\n \\put (70,80) {Caption}\n \\end{overpic}\n\\end{figure*}"
|
||||
[ Figure
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ RawBlock (Format "latex") "\\centering"
|
||||
, RawBlock
|
||||
(Format "latex")
|
||||
"\\begin{overpic}{test_pic}\n \\put (70,80) {Caption}\n \\end{overpic}"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user