Page Layout ⇒ explicit page numbering page x of y
explicit page numbering page x of y
How can I make the pagenumbering lik 1(103), 2(103), etc.?
Kent
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
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
explicit page numbering page x of y
you can use the
lastpage package. You need to compile two times to get the reference to the last page.Code: Select all
\documentclass{article}
\usepackage{blindtext}
\usepackage{lastpage}
\usepackage{fancyhdr}
\pagestyle{fancy}
\cfoot{\thepage(\pageref{LastPage})}
\begin{document}
\Blinddocument
\end{document}explicit pagenumebering
One question, using your code:
At the last page of the my document I have a reference section (\begin{the bibliography}...\end{thebibliography}).
Strangely, this activates a left and right header REFERENCES to be printed on the last side. Headers are not written to any page in your
file. Any comments? (I get rid of the problem by explicitly defining \lhead{} and \rhead{} in my Latex file.)
Kent
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
explicit page numbering page x of y
thebibliography environment. Which document class are you using?Maybe simply insert
\lhead{} and \rhead{} before the bibliography. Normally the class feature should be modified.Stefan