Page Layout ⇒ Exact Page Number Placement
Exact Page Number Placement
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Exact Page Number Placement
You might have a look at this for some more lengths to manipulate:
Code: Select all
\documentclass{article}
\usepackage{layout}
\begin{document}
\layout
\end{document}