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]{} \renewcommand{\@seccntformat}[1]{}
\makeatother \makeatother
\usepackage{float}
\let\origfigure\figure
\let\endorigfigure\endfigure
\renewenvironment{figure}[1][2] {
\expandafter\origfigure\expandafter[H]
} {
\endorigfigure
}
$if(mathfont)$ $if(mathfont)$
$if(mathspec)$ $if(mathspec)$
\ifxetex \ifxetex

Loading…
Cancel
Save