橫向表附錄標題不橫向

橫向表附錄標題不橫向

我在附錄中包含了一個表格(表格的圖形)。我希望它是側面的並且我能夠翻轉它。問題是附錄標題「附錄 B ...」不會橫向翻轉,而是放在翻轉表格前面的單獨頁面上。

我使用這段程式碼:

\documentclass{article}
\emergencystretch 3em
\usepackage{packages}
\usepackage{appendix}
\newcommand{\addappendix}{   % Self-created command to insert appendix with predefined settings
    \newpage
    \appendix
    \section*{Appendix}   % Name of appendix
    \addcontentsline{toc}{section}{Appendix}  % Add appendix name to table of contents
    \renewcommand{\thesubsection}{\Alph{subsection}}    % Change numbering of section to upper-case letters

\begin{document}

\section{Bergsikringsklasser og sikringsmengder i tunnel} 

\begin{landscape}
\begin{figure}[H]
    \centering
    \captionof{table}[Caption]{Caption}
    \includegraphics[scale=0.4]{Images/N-V521/bergsikringsklasser_tunnel.png}
    \label{tab:vedlegg_bergsikringsklasser_tunnel}
\end{figure}
\end{landscape}

\end{document}

附錄標題

附錄本身

答案1

我在問這個問題後兩分鐘就找到了自己問題的答案:

我剛剛移動了\begin{landscape}上面的\section

相關內容