Page LayoutProblems with getting 1in bottom margin in geometry

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
eggmanneo
Posts: 10
Joined: Wed Apr 21, 2010 9:03 pm

Problems with getting 1in bottom margin in geometry

Post by eggmanneo »

I'm formating my dissertation which has to have
  • 1.5in left margin
    1in bottom, top ,and right margin
    Numbers in top-right corner
And here's my MWE using the lipsum package

Code: Select all

Code, edit and compile here:
\documentclass[12pt]{article}
\usepackage{setspace}
\usepackage{fancyhdr} %to get page numbers in the upper right for dissertation printing
\usepackage{layout} %gives the layout figure
\usepackage[letterpaper, left=1.5in, top=1in, right=1in, bottom=1in, includehead ]{geometry} % for when I want page numbers in the upper right
\usepackage{lipsum}
\begin{document}
%my title page and abstract would be here, which has different formating
%want to impose double spacing and page numbers in upper right after the title page and abstract
\doublespacing
\pagestyle{fancy}
\fancyhf{}
\fancyhead[R]{\thepage \\ }
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}
\setlength{\headheight}{27pt}
\lipsum[1-4]
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
When I do this, the bottom margin is less than 1in. I'm using PDFLaTeX to compile, and I'm in the US, so I want the standard US Letter size of 8.5in by 11in. In addition to measuring the margins with a physical printout, I'm also measuring it on my computer with the Linux program "Screen Ruler" and I get the same problem, so I don't think it's an issue with my print driver. Any suggestions would be appreciated. Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Problems with getting 1in bottom margin in geometry

Post by Johannes_B »

Even if your footer is empty, it is still there. Please load package showframe, that way you can see the head, the foot and the margincolumn. That could be the cause.

Defining fixed margins is a bad idea anyway. It almost always looks really ugly.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply