Thanks Herbert

I still cannot use the \cfoot{} command (empty or not)
in the preamble.

Instead I had to use the "old" way to have it work:

\usepackage{lastpage}
\renewcommand{\@evenfoot}%
 {\normalsize\hfil {\thepage} of \pageref{LastPage}\hfil}
\renewcommand{\@oddfoot}{\@evenfoot}

--
F



Herbert Voss wrote:

> Frederic Leymarie wrote:
> >
> > Hi
> >
> > I wanted to have a centered footer with page number
> > followed by "of n", where "n" is the max number of page (or last page)
> > of the document.
> >
> > How can I do this?
>
> have a look at package lastpage
>
> Herbert
>
> --
> [EMAIL PROTECTED]
> http://perce.de/lyx/

--
Frederic FOL LEYMARIE, R&D Project leader, SHAPE Lab.
http://www.lems.brown.edu/vision/extra/SHAPE/
Brown University, Division of Engineering, LEMS, Box D
182-4 Hope Street, Providence, Rhode Island 02912, U.S.A.
Tel: +1.401.863.2760, Alternate Voice: x2177, Fax: x9039
mailto:[EMAIL PROTECTED] , http://www.lems.brown.edu/~leymarie
---

Reply via email to