image - 子图的垂直对齐 LATEX

我正在写我的论文,我正在努力将 2 个图像彼此相邻放置,以便第二个图像将沿着第一个图像垂直居中。我也尝试使用 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}

有什么建议可以让它看起来比现在更好吗?谢谢

最佳答案

您也可以使用 \raisebox{x}{\includegraphics[...]{...}} 其中 x 为负数将其向下移动并为正数向上移动。

https://stackoverflow.com/questions/2328403/

相关文章:

c - printf 中的可变大小填充

python - 如何使用 Python 的 optparse 格式化位置参数帮助?

c# - 如何避免浪费屏幕空间编写稀疏的 C# 代码?

android - 使用电话号码格式 NaN 屏蔽 EditText,如 PhoneNumberUt

c++ - 如何使用boost将日期时间格式化为字符串?

android - 获取 Google Play 商店应用 HTML 动态徽章

php - 去除字符串中的非数字字符

c# - 扩展内置类型的自定义格式功能

formatting - d3.js:tickformat - 添加一个 % 符号而不乘以 100

.net - 格式化负 TimeSpan