Page Layout ⇒ Putting page numbers lower on center bottom
-
- Posts: 10
- Joined: Wed Mar 30, 2011 8:43 am
Putting page numbers lower on center bottom
I use the geometry package for small margins, ~2cm for top, left and right.
However the page numbers are often too close to my text espcially when using math mode. I have default setting for page numbers at bottom center.
I have been trying to figure out how to move the page numbers lower without success for a few years now...I figure that the fancyheader package plays a roll somewhere, but couldn't figure it out on my own.
This means a lot to me since I really like to conserve paper and I like the way my report looks with most of the page filled.
I have tried savetrees without success for the same reason if I remember correctly.
tia for your help,
wbg
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Putting page numbers lower on center bottom
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 10
- Joined: Wed Mar 30, 2011 8:43 am
Putting page numbers lower on center bottom
unsure how it works with my packages.
Thanks again for you help,
wbg
Code: Select all
\documentclass[letterpaper,11pt]{article}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{float}
\usepackage{parskip}
\usepackage[left=2cm,top=2cm,right=3cm]{geometry}
\usepackage{courier}
\newcommand{\dis}{\displaystyle}
\newcommand{\del}{\partial}
\newcommand{\pd}[2]{\frac{\partial #1}{\partial #2}}
\author{}
\title{}
\date{}
\setlength{\parskip}{.5cm}
\begin{document}
\maketitle
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Putting page numbers lower on center bottom
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 10
- Joined: Wed Mar 30, 2011 8:43 am
Re: Putting page numbers lower on center bottom
I tried \setlength{\footskip}{1cm} in the preamble.
It helps, since it prevents a long line of math mode characters from interfering with the bottom center page numbers.
I was hoping to move the page number lower on the page so that my bottom margin can be smaller.
wbg
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Putting page numbers lower on center bottom
Do you mean that the math expression overwrites the page number? Can you give a concrete example (minimal but complete)?wannabegeek wrote:[…] It helps, since it prevents a long line of math mode characters from interfering with the bottom center page numbers. […]
Then specify a bottom margin with geometry. This is the only one you haven't determined yet.wannabegeek wrote:[…] I was hoping to move the page number lower on the page so that my bottom margin can be smaller. […]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 10
- Joined: Wed Mar 30, 2011 8:43 am
Re: Putting page numbers lower on center bottom
In geometery, adding bottom=0.1cm does nothing to the page number position. At the moment a value for bottom margin does nothing at all...
Thanks for your help, I'll need to continue tomorrow it's almost 2 am for me...
cheers,
wbg
-
- Posts: 10
- Joined: Wed Mar 30, 2011 8:43 am
Re: Putting page numbers lower on center bottom
My text used to interfere with small margins but not since using \footskip.
The printed page still had different margins than the dvi.
This is a Ubuntu problem. Comparing the dvi image in Evince and then the print preview, the margins change. Also, the margins change dimension when I use dvipdf from terminal.