![如何旋转两幅图像并将它们并排放置?](https://linux22.com/image/367273/%E5%A6%82%E4%BD%95%E6%97%8B%E8%BD%AC%E4%B8%A4%E5%B9%85%E5%9B%BE%E5%83%8F%E5%B9%B6%E5%B0%86%E5%AE%83%E4%BB%AC%E5%B9%B6%E6%8E%92%E6%94%BE%E7%BD%AE%EF%BC%9F.png)
答案1
您可以将每张图片及标题放入 中minipage
,然后旋转它。
\documentclass{article}
\usepackage{graphicx}
\usepackage{lipsum}
\begin{document}
\lipsum[2]
\begin{figure}[htb]
\hfill
\rotatebox{90}{%
\begin{minipage}{0.45\linewidth}
\includegraphics[width=\linewidth]{example-image}
\caption{Caption of first picture}
\label{fig:First}
\end{minipage}
}\hfill
\rotatebox{90}{%
\begin{minipage}{0.45\linewidth}
\includegraphics[width=\linewidth]{example-image}
\caption{Caption of second picture}
\label{fig:First}
\end{minipage}
}\hfill\strut
\end{figure}
\lipsum[2]
\end{document}