请修正我的代码,以便我可以获得左侧的数字和右侧的标题。
\documentclass{article}
\usepackage{float,subfigure}
\usepackage[demo]{graphicx}
\usepackage{sidecap}
\begin{document}
\begin{figure}[b]
\sidecaption
\begin{subfigure}
\includegraphics[width=7cm,height=2.5cm]{n1.eps}\\
\includegraphics[width=7cm,height=2.5cm]{n2.eps}\\
\includegraphics[width=7cm,height=2.5cm]{n3.eps}
\end{subfigure}
\caption{\small (Color online) Graphical illustration for $\rho =0.2$.}
\label{fig:1}
\end{figure}
\end{document}
答案1
不确定你到底想要什么(例如每个图像一个标题?子图?)但并排效果可以通过例如 minipages 实现:
\begin{figure}[b]
\begin{minipage}[c]{7cm}
\includegraphics[width=7cm,height=2.5cm]{}\\
\includegraphics[width=7cm,height=2.5cm]{}\\
\includegraphics[width=7cm,height=2.5cm]{}
\end{minipage}
\begin{minipage}[c]{4cm}
\caption{\small (Color online) Graphical illustration for $\rho =0.2$.}
\label{fig:1}
\end{minipage}
\end{figure}