From df33d1358768f6250ceed0cfb2b4e5d7e31f431c Mon Sep 17 00:00:00 2001 From: Vaclav Zeman Date: Mon, 29 Aug 2016 09:51:04 +0200 Subject: LaTeX: Do not set [htbp] figure placement options. Do not set `[htbp]` placement options on each figure to allow overriding them by them using `\fps@figure` redefintion either in header or in template. --- src/Text/Pandoc/Writers/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index 29e8c962c..b7db64aec 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -421,7 +421,7 @@ blockToLaTeX (Para [Image attr@(ident, _, _) txt (src,'f':'i':'g':':':tit)]) = d lab <- labelFor ident let caption = "\\caption" <> captForLof <> braces capt <> lab figure <- hypertarget ident (cr <> - "\\begin{figure}[htbp]" $$ "\\centering" $$ img $$ + "\\begin{figure}" $$ "\\centering" $$ img $$ caption $$ "\\end{figure}" <> cr) return $ if inNote -- can't have figures in notes -- cgit v1.2.3