change to letter size on teXnicCenter & MikTex

44,992

Solution 1

Here is what worked for me, regardless of the documentclass or other packages used.

Right after \begin{document} I put these two lines:

\setlength{\pdfpagewidth}{8.5in}

\setlength{\pdfpageheight}{11in}

Solution 2

The default paper size for MikTeX is contained in some configuration file somewhere in the MikTeX directory. You can change it by starting up MikTeX's "Settings (Admin)" program, but you probably already tried that. TeXnicCenter has nothing to do with it.

You can always specify to use letter size paper, overriding the default, by adding the letterpaper option to your \documentclass command:

\documentclass[letterpaper]{article}

Solution 3

The paper size you specify is only used if your LaTeX document doesn't specify one. Even if you didn't do this in your documents, the class or one of the packages you are using may do this.

To explicitly choose your papersize either use

\documentclass[letterpaper]{scrreprt}

or

\usepackage[letterpaper]{geometry}

Other possible paper sizes are a0paper, a1paper, ..., a6paper, b0paper,b1paper, ...,b6paper,letterpaper,legalpaper,executivepaper`.

Share:
44,992
lulala
Author by

lulala

Updated on May 23, 2020

Comments

  • lulala
    lulala about 4 years

    How come TeXicCenter and MiKTeX always generate an A4 size pdf paper?

    I reinstalled both MiKTeX and TeXicCenter and I made sure that I selected "Letter" to be my default paper size. Nothing changes.

  • lulala
    lulala over 14 years
    I am getting this.. Latex warning: Unused global option(s): [letterpaper].
  • ptomato
    ptomato over 14 years
    What is the documentclass you are using?
  • lulala
    lulala over 14 years
    {acm_proc_article-sp}.. acm format. tried using [letter], not working
  • ptomato
    ptomato over 14 years