I have a PDF in landscape mode created from excel. I want to include this in an Appendix with heading, followed by each appendix as a section. My attempt is shown below:
\documentclass[11pt]{article}
...
\appendix
\addcontentsline{toc}{section}{Appendices}
\section*{Appendices}
\section{First appendix}
\includepdf[scale= 0.8,pages={1}]{example.pdf}
\section{Second appendix}
I face two problems:
- "Appendices" and "First Appendix" is left alone and the pdf is put on the next page. I tried to fix it using scale, without success.
- The PDF is no longer in landscape mode even though the original PDF is. I expected the PDF to get imported directly in with a 90° angle. As a result, the PDF is too small to be be read.
Attempts with \begin{landscape} in Latex has left the problem unsolved.
Answers are appreciated!
\rule{4cm}{4cm}or one of the images provided by the mwe package (see the available images names on https://ctan.org/tex-archive/macros/latex/contrib/mwe) – daleif Jul 05 '19 at 08:06\includepdfare in portrait mode. Addinglandscape=trueto the list of optional parameters of\includepdfshould do the trick for the landscape version. For avoiding the enforced pagebreak being inserted by default see https://tex.stackexchange.com/questions/5911/ for example. – epR8GaYuh Jul 05 '19 at 08:28