横向きモードで 1 ページに画像と表を一緒に挿入するにはどうすればよいですか?

横向きモードで 1 ページに画像と表を一緒に挿入するにはどうすればよいですか?

レポート クラスの章内に横向きの画像と表を挿入したいと思います。以下は私が使用したサンプル コードです。

\begin{landscape}

    \input{./Ch3/Tables/t01_innov_eq.tex}

\begin{figure}[htbp]
    % \centering
    % \includegraphics[width=19.7cm]{fig01_G1_bi_Sa_T_H7p1_W19p7.eps}
    \centering
        \includegraphics[width=19.7cm]{fig01_G1_bi_Sa_T_H7p1_W19p7.eps}
        \caption{RS: (a) SA, and (b) SD.}
        \label{fig:fig01_G1_bi_Sa_T3}
\end{figure}

\end{landscape}

このコードの問題は、不連続なページが作成されることです。ただし、 と を使用するとsidewaysfiguresidewaystableテーブルと画像の両方が別のページに配置されます。

答え1

表と図を同じsideways...環境に置きます。次の例では、図のキャプションにsidewaystableと を使用しています。\caption{figure}{...}

\documentclass{article}
\usepackage{rotating}
\usepackage{caption}
\usepackage{graphicx}

\begin{document}

\listoffigures
\listoftables

\begin{sidewaystable}
   \caption{table caption}
   \label{table}
   \begin{tabular}{l}
      tabular contents here
   \end{tabular}

   \includegraphics[width=19.7cm]{example-image}
   \captionof{figure}{RS: (a) SA, and (b) SD.}
   \label{fig:fig01_G1_bi_Sa_T3}
\end{sidewaystable}

\end{document}

関連情報