Hello all,
I am preparing a document where I need the margins and page number placements to be placed exactly as follows:
The margins should be 1.5 inches on the left and top, and 1 inch on the right and bottom and all text needs to be doublespaced. I have used
\usepackage[top=1.5in, bottom=1.0in, left=1.5in, right=1.0in]{geometry}
\usepackage{setspace}
\doublespacing
which works perfectly.
I am having some trouble with the page number placement. The page number should be roman for preliminary pages and should be placed \emph{exactly} 3/4 inch from the bottom and centered. I've tried doing the following for the preliminary pages:
\renewcommand{\thepage}{\roman{page}}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\thechapter. #1 }}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt}
\fancypagestyle{plain}{
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0pt}
}
and this places the page number 1/2 inch from the bottom center. All I need to do is change it to 3/4. Thanks for your help.
Page Layout ⇒ Exact Page Number Placement
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Exact Page Number Placement
Try changing \footskip (e.g., \addtolength{\footskip}{-0.25in}).
You might have a look at this for some more lengths to manipulate:
You might have a look at this for some more lengths to manipulate:
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage{layout}\begin{document}\layout\end{document}