原文鏈接:http://tex.stackexchange.com/questions/44427/rotate-picture-with-caption
提問:How can I rotate both a picture and its title in TeX? 在Tex中如何將標題和圖片一起旋轉90度
回答(有很多我只用了第一個。。。其餘的看原文鏈接吧):
\documentclass{article}
\usepackage{adjustbox}
\usepackage{blindtext}
\begin{document}
\blindtext
\begin{figure}[ht]
\begin{adjustbox}{addcode={\begin{minipage}{\width}}{\caption{%
Here is a caption of the figure which is so long that
it has to be wrapped over multiple lines, but should
not exceed the width (height after the rotation) of the image.
}\end{minipage}},rotate=90,center}
\includegraphics[scale=.6]{example-image}%
\end{adjustbox}
\end{figure}
\blindtext
\end{document}
這個可能不是很好看清,我自己的代碼是
\begin{figure}[p]
\begin{adjustbox}{addcode={
\begin{minipage}{\width}}{
\caption{SPOSE系統框架圖}
\label{fig:SPOSEArchitecture}
\end{minipage}},rotate=90,center}
\includegraphics[scale=.9]{flowchart}%
\end{adjustbox}
\end{figure}