Possible Duplicate:
Macro for figure position?
Is it possible to make change that changes all instances of
\begin{figure}
into
\begin{figure}[h]
?
Possible Duplicate:
Macro for figure position?
Is it possible to make change that changes all instances of
\begin{figure}
into
\begin{figure}[h]
?
\usepackage{float}
\floatplacement{figure}{ht}
I use ht instead of h because LaTeX doesn't allow only a h placement for a float. h will be automatically converted to ht and make a warning.