我正在撰写论文,遇到了一个问题,就是如何将两张图片并排放置,并使第二张图片在第一张图片垂直居中。我曾尝试使用
这是它的样子alt text http://img51.imageshack.us/img51/1174/screenshot20100224at712.png 我的代码如下:
subfigure
代替subfloat
,但都没有成功。这是它的样子alt text http://img51.imageshack.us/img51/1174/screenshot20100224at712.png 我的代码如下:
\begin{figure}[H]
\centering \subfloat[H][sparse($\mathbf{A}$)]{\includegraphics[width=0.28\textwidth]{sparsesmall} \label{sparse}}
\subfloat[H][full($\mathbf{A}$)]{\includegraphics[width=0.55\textwidth]{fullsmall}\label{full}}
\caption{Representation of $\mathbf{A}$ in MATLAB}
\label{schematic}
\end{figure}
有什么建议可以让它看起来比现在更好吗?谢谢
subfig
包现在已经过时了。因此,应该使用带有subcaption
的答案(https://dev59.com/mnE95IYBdhLWcg3wY9D6#18795247)。 - Cyriac Antony