Currently using Texmaker and using this line of code:
\begin{figure}[h!]
\includegraphics[scale=.5]{Figures/Blah}
\caption{\label{Blah} BLAH BLAH}
\end{figure}
Everything worked with several other figures until I tried to add a new figure. Now I get these error messages for every figure despite deleting the new figure I added.
! LaTeX Error: Not in outer par mode.See the LaTeX manual or LaTeX Companion for explanation.Type H <return> for immediate help.... \begin{figure}[h!]
! Undefined control sequence.\@xfloat@LaTeX ...f \fi \global \setbox \@currbox\color@vbox \normalcolor \... \begin{figure}[h!]
! Missing number, treated as zero
\documentclass[aps, prl, twocolumn, floatfix, final, letterpaper, citeautoscript, superscriptaddress]{revtex4}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{natbib}
\usepackage{amsmath}
float
orsubfloat
?\documentclass{...}
and ending with\end{document}
.subfigure
and addfloat
andsubfloat
. I believesubfigure
will complain when used withfloat
. You can havesubfig
andwrapfig
with then though.