[texhax] pagenumbering

Manoj Kummini kummini at math.ukans.edu
Thu Dec 4 20:35:30 CET 2003

On Thu, Dec 04, 2003 at 19:25:37hrs +0100, Renju Zacharia wrote:

> Here is part of the code.
> ------------------------------
> \documentclass[a4paper,12pt,twoside,openright,cleardoubleplain,bibtotoc,DIVcalc,normalheadings,headexclude]{scrreprt}
>  \fancyfoot[LE]{\thepage}
>  \fancyfoot[RO]{\thepage}
You don't seem to have used the solution that Fairbairns and Ratcliffe gave
for your original question on how to print the page number like -i-, -9-
etc. They pointed out that \thepage should be redefined. Further, if you
were using fancyhdr, you can do whatever you wanted by adding the m-dashes
(--) in the \fancyfoot commands above.

> \pagenumbering{roman} \setcounter{page}{1}
> \pagenumbering{arabic} \setcounter{page}{1}

Each \pagenumbering sets \thepage to be in its default form, without those

Aside: \pagenumbering resets the page counter to 1, so your explicit
setting them is superfluous.

With regards,

PS: Please trim the quoted lines in your messages. Since you mention that
you forgot to be more specific on your question out of ignorance, it is a
good idea to read the article, `How To Ask Questions The Smart Way' by Eric
Raymond, available at  http://www.catb.org/~esr/faqs/smart-questions.html.

Manoj Kummini
Graduate Student, Dept. of Mathematics, The Univ. of Kansas,
Lawrence KS 66045 USA.  38 deg 55 min N, 95 deg 14 min W.

More information about the texhax mailing list