您能告诉我如何将标题放在一列中的两个图的侧面吗?我知道如何将标题放在这里的图的侧面。但是如何将标题放在下面示例中的两个图的左侧?
\begin{figure}[!ht]
\centering
\begin{adjustbox}{max width=0.8\textwidth}
\begin{tabular}{c}
\includegraphics[width=0.5\textwidth]{images1} \\
\includegraphics[width=0.5\textwidth]{images2}
\end{tabular}
\end{adjustbox}
\caption{This is the caption on the left}
\label{fig:ctime}
\end{figure}
答案1
您可以floatrow
按如下方式使用该包:
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{floatrow}
\begin{document}
\begin{figure}
\floatbox[{\capbeside\thisfloatsetup{capbesideposition={left,top},capbesidewidth=4cm}}]{figure}[\FBwidth]
{\caption{This is the caption on the left}\label{fig:ctime}}
{\begin{tabular}{c}\includegraphics[width=0.5\textwidth]{name}\\ \includegraphics[width=0.5\textwidth]{name}\end{tabular}}
\end{figure}
\end{document}