我怎样才能让两个图形并排显示,并带有两个标题,并且采用浮动格式,就像
fig. 10A. some caption fig. 10B. some caption
答案1
\documentclass{article}
\usepackage{subfig}
\usepackage[pdftex]{graphicx} %ifpdf
\makeatletter
\def\thesubfigure{Fig. \@arabic\c@figure\Alph{subfigure}.}
\makeatother
\begin{document}
\begin{figure}
\centering
\subfloat[Some caption]{\rule{.45\textwidth}{3cm}} %replace \rule... with \includegraphics[width=0.45\textwidth]{picname}
\hspace{2em}
\subfloat[Some other caption]{\rule{.45\textwidth}{3cm}} %idem
%\caption{Some caption title}
\end{figure}
\end{document}