Redefines figure to always place it where it falls in context
This commit is contained in:
parent
10d6300c24
commit
7ca21f03f7
1 changed files with 9 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue