diff --git a/pandoc/templates/fellowship.latex b/pandoc/templates/fellowship.latex index be809fc0..c45978eb 100644 --- a/pandoc/templates/fellowship.latex +++ b/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