Why is the left margin wider than the right one? Each of them should be 1 inch wide:
If you run TEX without modifying the plain TEX format, you get pages that are numbered at the bottom; and each page will be approximately 8.5 inches wide and 11 inches tall, including 1-inch margins at all four sides. [The TeXbook, p.251]
\moveleft2cm\vbox{\hrule width2cm}
\moveright\hsize\vbox{\hrule width2cm}
UPDATE
How can the document know the size of paper it is being typeset on?
Best Answer
This should explain the apparent contradiction; compile with
pdftex
If you use
tex+dvips+ps2pdf
for producing a PDF file, change the first two lines intoYou'll get
The fact is that the standard setup of TeX distributions, regarding PDF output, is ISO A4 paper and not Letter paper.
A rudimentary test for the various situations might be as follows: