Hello all,
I am trying to use Lyx for my thesis, without acquiring the LaTeX-fu
skills necessary to create a custom Lyx document class. I am having a
couple of problems getting the page numbering to conform to the rather odd
page numbering requirements of my University.
1. I need the Abstract to start numbering with roman number i, the TOC to
follow it and continue at ii (or iii if the Abstract is two pages long
etc.) However the TOC seems to reset the page counter back to i. I can
overcome this by inserting ERT like "\setcounter{page}{2}" just before the
"Table of Contents" thingie in my Lyx doc, but it would be more elegant to
somehow tell the TOC to stop resetting the page counter. Can this be done
easily? *Where* is it being done--in the environment for the TOC section
in the report document class?
2. The first page of the Abstract needs to be numbered too, but by
default it isn't. I have managed to get it working by putting this ERT at
the beginning of the Abstract section in the Lyx document:
\fancypagestyle{empty}{
\fancyhf{}
\rhead{\thepage}
}
The idea was to redefine the empty page style (which is what the first
Abstract page seems to be) to have a page number in the upper right which
is what I want. (BTW, I can't put that ERT into the document preamble,
because then *all* empty pages are numbered, including the title page and
signature page, which I don't want.) The above approach does work to get
the first Abstract page numbered, but it is pretty ugly.
It does *not* seem to work to put the ERT "\pagestyle{fancy}" or the ERT
"\pagestyle{plain}" inside the Abstract section of my Lyx doc to simply
force the first page of the Abstract to be a page style that has
numbering. That would be a little more elegant--if it worked. Can anyone
explain why it doesn't work?
I sense that the proper solution to these problem, in the spirit of Lyx,
would require creating a custom document class but that seems like such an
investment of time and effort to produce a single document.
Thanks for any suggestions, and thanks for Lyx!
Rich