TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am writing my thesis and received a template for inserting landscape graphics on a typical paper when using pdflatex (which I am). It looks like this:


If I typeset the template it looks perfect, but if I do it on my own thesis, the following happens: I get an empty page (this is also where thispagestyle is applied) and one with my graphic (which now has a header again). Commenting out newpage (both) did not change anything! And moving thispagestyle around (below figure, in figure block) did not change anything as well.

So basically whatever I change its like pdflatex ignores all everything and just does what it wants. Removing thispagestyle just adds header to the empty page again.

So my goal: One page with a landscape image. But what I get: One empty page (even no header) and one page with image & header (both are in landscape).

Why is that happening and why is latex ignoring all my settings (if it doesn't matter if I write two newpage why bother adding them?

Since I am not a latex guru, please tell me if you need additional information. Thanks in advance.

share|improve this question
I'm surprised that \KOMAoptions works in the document; I'd expect it to work only in the preamble. You should not expect to be able to switch page sizes in the document that way. – Martin Schröder Oct 6 '12 at 23:29
@MartinSchröder: Yeah it does work, but are warning is emitted that this is a "dirty hack", but since this came from a template, I thought it should work. – javex Oct 7 '12 at 9:37
up vote 3 down vote accepted

Alternative approaches:

Empty page: a complete MWE with warnings/errors from the .log file would be useful.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.