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.
This commit is contained in:
Vaclav Zeman
2016-08-29 10:03:09 +02:00
parent d29a623896
commit df33d13587
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -917,7 +917,7 @@ or here: <http://example.com/>
From ``Voyage dans la Lune'' by Georges Melies (1902):
\begin{figure}[htbp]
\begin{figure}
\centering
\includegraphics{lalune.jpg}
\caption{lalune}