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

Maybe I am just too tired, but I simply can't explain what is going on.

The file




produces A4 sized pdf pages (when run with pdflatex) with text only in the upper left corner, while




produces the proper A5 pages. Why is that?

share|improve this question
up vote 17 down vote accepted

Use the option pagesize:


You may specify pagesize=pdftex or set it to dvips or auto. This option takes care of setting either pdf lengths or putting \special commands into the dvi file, see the manual.

Even without, in such cases (other classes for instance ) you don't need TikZ.


takes care of the correct paper size, as well as \usepackage{hyperref}. Apparently the pdf paper size has not been correctly set (or use the default of the distribution) but geometry and hyperref fix that.

Alternatively, without any option or package this would fix it for pdfLaTeX:

share|improve this answer
Is there a way to set up the margin size in KOMA script, i.e. if I need the following margin sizes top=2.5cm,bottom=2.5cm,left=2cm,right=2cm ? I use to divide the paper surface with typearea, but I don't know if I can replace it. – Aradnix Jul 7 at 0:59

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.