Luqman H wrote:
hi,

i'm using Report Document style
i want my chapter look like this:
Chapter I
Chapter II
Chapter III

and the page number (for ex. Chapter 3 page 5) like this:
III-5

i use this command in ERT:
\renewcommand{\headrulewidth}{0pt}
\rhead{}
\lhead{}
\rfoot{\thechapter-\thepage}
\lfoot{}
\cfoot{}

but it only shows page number like: 3-5

and of course for the TOC, i want the page numbering shows
..... III-5
..... III-6

is it possible? how to do that ?



thanks...


Yes, you can do this, but in addition to changing the chapter to roman numerals, I think you'll also want to reset the page counter to 1 each time you start a chapter. Try the following:

1.  Download and install (in your LaTeX distribution) the chappg.sty style.

2.  Add to the preamble:

\usepackage{chappg}
\pagenumbering{bychapter}
\renewcommand{\thechapter}{\Roman{chapter}}

3.  Change the \rfoot command back to

\rfoot{\thepage}

(or to \rfoot{\fancyplain{\thepage}{\thepage}} if you follow my other suggestion about the fancyplain style).

/Paul


Reply via email to