[Tex/LaTex] Control exact position of page number

page-numberingpositioning

I have page number for some first few pages in roman style (\pagenumbering{roman}) and the rest arabic (\pagenumber{arabic}).

Now it need to position them such that:

  • page number should be 3/4 of an inch from the bottom edge of the page.
  • they should be flush with the right page margin.

I've tried

\usepackage{fancyhdr}
\rfoot{\thepage}

but page numbers position in the middle of bottom page.
Also, I don't know how to change the position of page number with respect to bottom of the page.

Can someone please help?

Thanks,

Best Answer

\documentclass[12pt,titlepage]{report}
\usepackage[
  top    = 1in,
  bottom = 0.75in,
  left   = 1.25in,
  right  = 1.25in,
  headsep=5mm,%%% Example
  includeheadfoot,%%%%%%%%%%%%%%%%%%%%%%%%%%
  showframe]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}% clearsall
\fancyhead[RE,LO]{\normalsize foo}
\rfoot{\thepage}
\usepackage{blindtext}
\begin{document}

\blinddocument

\end{document}
Related Question