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 09:51:04 +02:00
parent d29a623896
commit df33d13587
2 changed files with 2 additions and 2 deletions

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

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}