Telling dvips To Use Letter Size Paper
Mark Senn
July 19, 2006

The top margin is very small. How can I get the correct top margin?

This problem is usually caused by the dvips program being configured for A4 size paper instead of letter size paper.

Try doing the following steps. Stop after each step and see if it works normally. If it works you're done, otherwise try the next step

  1. Type
        texconfig dvips paper letter
    Thanks to Tiberiu Stef-Praun for this suggestion.
  2. Change dvips' file. Comment out the lines that set A4 paper size and set letter paper size instead. On the Sun Microsystems computer I use, this is done in the /opt/teTeX/current/texmf-dist/dvips/config/ file by using these lines of code:
        %   comment out the next 3 lines so this A4
        %   is not the default page size   25jul05/BCK/ECN
        %@ A4size 594.99bp 841.99bp
        %@+ ! %%DocumentPaperSizes: a4
        %@+ %%PaperSize: A4
        @ letterSize 8.5in 11in
        @+ ! %%DocumentPaperSizes: Letter
    Your computer probably has the file in a different directory.
  3. Use ``dvips -t letter'' instead of ``dvips''.

Send questions or comments regarding this web page.

Revised: July 19, 2006
Created: January 26, 2004