I'm using the fancy header package, and applying the following command:
Code: Select all
\lhead{}
\rfoot{\thepage\ of \pageref{LastPage}}
\lfoot{}
\cfoot{}
Code: Select all
\lhead{}
\rfoot{\thepage\ of \pageref{LastPage}}
\lfoot{}
\cfoot{}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\documentclass{article}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\rfoot{\thepage\ of \pageref{LastPage}}
\lfoot{}
\cfoot{}
\usepackage{lastpage}
\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue}
\usepackage{lipsum}%just to automatically generate some text
\begin{document}
\lipsum[1-14]
\end{document}
Code: Select all
\documentclass{article}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\rfoot{\thepage\ of \mypageref{LastPage}}
\lfoot{}
\cfoot{}
\usepackage{lastpage}
\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue}
\newcommand*{\mypageref}[1]{%
\hypersetup{linkcolor=black}\pageref{#1}\hypersetup{linkcolor=red}}
\usepackage{lipsum}%just to automatically generate some text
\begin{document}
\lipsum[1-14]
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.