I have two figures which I have already combined next to each other (horizontally) into one .eps figure via Stata. How do I now use the subfigure command to label both separately (horizontally). Leaving out the /includegraphics command twice within subfigure command (as I have already inserted the combined graph using includegraphics) does not give me the desired result. Is this not possible? Any work around?
\documentclass[11pt]{article}
\usepackage{setspace,graphicx,epstopdf,amsmath,amsfonts,amssymb,amsthm,versionPO}
\usepackage[utf8x]{inputenc}
\usepackage{graphicx}
\usepackage{epsfig}
\begin{figure}[htb]%
\centering
\includegraphics[width=7in]{Figure1.eps}
\subfloat[label 1]%
\qquad
\subfloat[label 2]%
\caption{2 Figures side by side}%
\label{fig:example}%
\end{figure}
subcaption
package, the new code uses syntax fromsubfig
. Do you have any requirements for which package to use? 2)versionPO
is not a standard package (i.e. it is not on ctan.org), so if it's not needed, it would be better to remove it from the example.subfig
might be more used, butsubcaption
is newer. (There is also a package calledsubfigure
, but that is considered deprecated I believe, one of the other two should be used.)