title: \begin{figure}[H] works, but \begin{figure}[htbp] doesn't
body: <p>I want to insert png files into my document.</p>
  
  <p>basically, like this, it works (after invoking 'float'), </p>
  
  <pre><code>\begin{figure}[H]
    \begin{center}
        \includegraphics{myfigure}
      \caption{short caption}{VERY LONG FIGURE LEGEND}
      \label{fig:myfigure}
    \end{center}
  \end{figure}
  </code></pre>
  
  <p>but like that, it doesn't, </p>
  
  <pre><code>\begin{figure}[htbp!]
    \begin{center}
        \includegraphics{myfigure}
      \caption{short caption}{VERY LONG FIGURE LEGEND}
      \label{fig:myfigure}
    \end{center}
  \end{figure}
  </code></pre>
  
  <p>which is weird to me; obviously I invoke <code>\usepackage{graphicx}</code> as well since without that it wouldn't work in the first place. Any suggestions what the problem could be?</p>
  
  <p><strong>UPDATED: found the solution:</strong></p>
  
  <p>I had defined the \textsuperscript macro as in <a href="http://anthony.liekens.net/index.php/LaTeX/SubscriptAndSuperscriptInTextMode" rel="nofollow noreferrer">http://anthony.liekens.net/index.php/LaTeX/SubscriptAndSuperscriptInTextMode</a></p>
  
  <p>a fix is sketched in <a href="https://stackoverflow.com/questions/2497047/figures-occurring-after-and-macros-was-latex-limitation">Figures occurring after ^ and _ macros (was: LaTeX limitation?)</a>, and it seems to work for me</p>
  
  <p>cheers!!</p>