title: Why does my LaTeX subfigure not work with an a0poster?
body: <p>Here's my problem.  I have a bunch of figures already written in a LaTeX document, and I'd like to reuse them for a poster.  The code for the figure looks like:</p>
  
  <pre><code>\begin{figure}[htp]
    \begin{center}  
      \subfigure[Figure A]{\label{fig:Sample-a}\includegraphics[scale=5]{Image1.png}} 
      \subfigure[Figure B]{\label{fig:Sampple-b}\includegraphics[scale=5]{Image2.png}} 
    \end{center}
    \caption{This is my caption!}
  \label{LineJustification}
  \end{figure}
  </code></pre>
  
  <p>And it works when I put at the beginning:</p>
  
  <pre><code>\usepackage{subfigure}
  \usepackage{graphicx}
  </code></pre>
  
  <p>When I'm putting together the poster, I'm using the template I've found online at <a href="http://nxg.me.uk/docs/posters/" rel="nofollow noreferrer">this website,</a> with packages like:</p>
  
  <pre><code>\documentclass[a0]{a0poster}
  \pagestyle{empty}
  \setcounter{secnumdepth}{0}
  \usepackage[absolute]{textpos}
  \usepackage[it]{subfigure}
  </code></pre>
  
  <p>(and I've commented out the graphics, wrapfig, and times packages from the landscape file, just in case they're interfering).</p>
  
  <p>So what gives?  Why do I get the following error when I try to put the same figure into the a0poster document?  If I don't use subfigures, the file compiles, but then I'd have to rework all of my figures, which would be painful.</p>
  
  <pre><code>!Undefined control sequence
   &lt;argument&gt; if\@captype
                topcap
   I.154  \subfigure 
         [Figure A]{\label{fig:Sample-a}
  </code></pre>
  
  <p>(I'm using mactex, if that means anything)</p>