兩欄,橫向頁面

兩欄,橫向頁面

我正在寫一篇文章,有兩欄。由於我的圖片太大,我想將其放在新的橫向頁面上。所以我使用了以下程式碼:

\newgeometry{left=3.0cm,bottom=30mm,top=20mm}

\afterpage{%
    \clearpage% Flush earlier floats (otherwise order might not be correct)
    \thispagestyle{empty}% empty page style (?)
    \begin{landscape}% Landscape page

\begin{figure} [H]
    \centering
    \includegraphics[scale=1]{./figures/Figure2.png}
    \caption{Xx}
    \label{fig:historicaldata}
\end{figure}

   \end{landscape}
    \clearpage% Flush page
}

\restoregeometry

但首先中間會出現一個白色頁面,之後兩列佈局消失:(。有誰知道如何解決這個問題?

答案1

我會使用rotating包包的sidewaysfigure*環境。例如:

\documentclass[twocolumn]{article}
\usepackage{geometry,graphicx,kantlipsum,rotating}
\begin{document}
\kant[1-4]
\begin{sidewaysfigure*}
  \centering
  \includegraphics[scale=.7]{example-image-letter-landscape}
  \caption{A rotated figure}
\end{sidewaysfigure*}
\kant[5-10]
\end{document}

風景人物

相關內容