Redefines figure to always place it where it falls in context

Jonathan Hodgson 6 years ago
parent 10d6300c24
commit 7ca21f03f7
  1. 9
      pandoc/templates/fellowship.latex

@ -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

Loading…
Cancel
Save