title: LaTeX floats and consecutively numbered equations
body: <p>I have a few equations that appear in a floating figure. Unfortunately, the corresponding equation numbers are assigned assuming that the float (and hence the equations) appear in the position that the float was defined. Conceptually, a page will appear like this:</p>
  
  <pre><code>equation #1
  figure begins
    equation #2
  figure ends
  equation #3
  </code></pre>
  
  <p>But if latex floats the figure to the top of the page, then I would like it to be numbered like this:</p>
  
  <pre><code>figure begins
     equation #1
  figure ends
  equation #1
  equation #2
  </code></pre>
  
  <p>Is it possible to get Latex to do this?</p>