TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Currently using Texmaker and using this line of code:

\caption{\label{Blah} BLAH BLAH}

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} 
share|improve this question

closed as too localized by Heiko Oberdiek, Stefan Kottwitz May 5 '13 at 19:27

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

are you using the package float or subfloat? – dustin May 5 '13 at 18:38
Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Jubobs May 5 '13 at 18:47
\documentclass[aps, prl, twocolumn, floatfix, final, letterpaper, citeautoscript, superscriptaddress]{revtex4} \usepackage{graphicx} \usepackage{subfigure} \usepackage{natbib} \usepackage{amsmath} – Steven Button May 5 '13 at 18:50
@StevenButton remove subfigure and add float and subfloat. I believe subfigure will complain when used with float. You can have subfig and wrapfig with then though. – dustin May 5 '13 at 18:51
No change when including float and subfloat – Steven Button May 5 '13 at 18:56