Redefines figure to always place it where it falls in context

This commit is contained in:
Jonathan Hodgson 2019-06-14 13:51:00 +01:00
parent 10d6300c24
commit 7ca21f03f7

View file

@ -63,6 +63,15 @@ $endif$
\renewcommand{\@seccntformat}[1]{}
\makeatother
\usepackage{float}
\let\origfigure\figure
\let\endorigfigure\endfigure
\renewenvironment{figure}[1][2] {
\expandafter\origfigure\expandafter[H]
} {
\endorigfigure
}
$if(mathfont)$
$if(mathspec)$
\ifxetex