Redefines figure to always place it where it falls in context

master
Jonathan Hodgson 5 years ago
parent 4fefcc29f2
commit 77c479bd9e
  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