How can I change some pages into document into landscape mode, while leaving the others in portrait mode (or vice versa)?
This modifies the margins and rotates the page contents but not the page number. Useful, for example, with large multipage tables, and is compatible with the packages
If you are using pdfLaTeX, you should use
The landscape pages of even pagenumbers (on the left side of the document) should be upside down from the ones of the odd pagenumbers (on the right side of the document).
To solve this problem in doublesided documents use package
It rotates the figures with respect to the page numbering. It also supports manual rotation with
I found the solution here.