我正在使用以下命令:
\begin{figure}[h!]
\begin{subfigure}{.5\textwidth}
\centering
\includegraphics[width=11cm]{bilder/Mode_1_unfolding.png}
\caption{Mode-1 unfolding of $\ten{A}$}
\label{fig:mode1}
\end{subfigure}
\centering
\begin{subfigure}{.5\textwidth}
\centering
\includegraphics[width=11cm]{bilder/Mode_2_unfolding.png}
\caption{Mode-2 unfolding of $\ten{A}$}
\label{fig:mode2}
\end{subfigure}
\centering
\begin{subfigure}{.5\textwidth}
\centering
\includegraphics[width=11cm]{bilder/Mode_3_unfolding.png}
\caption{Mode-3 unfolding of $\ten{A}$}
\label{fig:mode3}
\end{subfigure}
\caption{ Unfolding of $\ten{A}$}
\label{fig:mode}
\end{figure}
结果我得到了:
![结果 pdf][1]
问题:
为什么图 1.7 没有
\centering
在结果中居中?如何在没有 的列中添加带有一个标题的图形
subfigure
?
答案1
类似 minipage/tabular/centering 的东西
平均能量损失
\documentclass[11pt]{article}
\usepackage[demo]{graphicx}
\usepackage{booktabs}
\begin{document}
\begin{table}
\centering
\begin{tabular}{c}
\toprule
\multicolumn{1}{c}{Collection of Figures of 2D Phase Portraits} \\
\midrule
\begin{minipage}{\dimexpr.5\linewidth-2\fboxsep\relax}
\centering
\includegraphics[height=1.8in]{r.png}
\end{minipage} \\
\phantom {}\\
\begin{minipage}{\dimexpr.5\linewidth-2\fboxsep\relax}
\centering
\includegraphics[height=1.8in]{r.png}\par
\end{minipage}\\
\bottomrule
\end{tabular}
\end{table}
\end{document}