[Tex/LaTex] Page margin taking into account line number

marginspage-numbering

I am typesetting an application that has pretty strict formatting requirements, which includes 12pt Times New Roman font and a 1 inch margin on all 4 sides. I have the following in my preamble.

\documentclass[12pt]{article}
\usepackage{mathptmx}
\usepackage[height=10in, width=8.5in, margin=1in]{geometry}

\pagestyle{empty}
\begin{document}

I added the \pagestyle{empty} macro in an attempt to remove the page numbers at the bottom of the page and make sure it's a 1 inch margin. However, it appears that this macro did not remove the page number, it simply made it invisible. There is still a 1 inch margin between the edge of the page and where the page number used to appear, and an additional margin directly below the main text, making the bottom margin about 1.75 inches. How can I completely remove the page number and ensure the bottom margin of the page is 1 inch?

PS. I measured the margin on a printed test page and it's actually very close to a 1.25 inch margin. I don't think this will be a problem, but is there a way to make this more precise?

PSS. Unfortunately, my problem was a silly one: I had set my height to 10in when I in fact meant 11in. However, your helpful responses taught me a few things: the difference between height/width and paperheight/paperwidth, and also the letterpaper shortcut for the 8.5x11in dimensions. Thanks!

Best Answer

I think the problem may well be that you've specified height=10in as one of the arguments of the geometry package; it should be height=11in, shouldn't it? (I noted you also specified width=8.5in.)

If so, it suffices to specify margin=1in as the argument for the geometry package and to specify letterpaper as an argument when the documentclass is specified.