I want to include a PDF in landscape (its a table in PDF form)
with include PDF. I want a section on the same side, but when I use this command, the section heading is not on top (of that landscape page).
\includepdf[landscape=true, page=1,pagecommand=\section{Section Heading}]{table.pdf}
As you can see. B Section Heading is on the right. But i want it on top.
Best Answer
There could be multiple reasons for this. I suspect that
\pdfpages
still uses the "portrait coordinate system" for pages included in landscape, thus "LaTeX" does not know that you are in landscape mode. You've just rotated the one PDF-page.If you use e.g. the
pdflscape
-package to tell LaTeX that you are in landscape mode first, it seems to work fine: