Rotate picture with caption 把Latex中图片和标题一起旋转

原文链接: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}



你可能感兴趣的:(Latex)