Re: Page numbers in upper right corner?

2003-12-01 Thread Herbert Voß
James Frye wrote:
I suppose this is a more of a general latex question than a Lyx-specific
one, but I haven't been able to find an answer anywhere else.  The
question seems pretty simple, even trivial: how can I get the page number
in the upper right corner of the page, instead of at the bottom center?
(Our grad school requires that in a thesis>)
I've tried the fancyheadings package, as suggested in the Lyx docs, and it
will do it on the first page (along with some other fancification that I
could probably eliminate with a little work), but ONLY the first page.
The rest get no page number at all.
depends to your definitions. LaTeX knows different pagestyles
for title, chapter, other 
give an example file.

Herbert




Re: Page numbers in upper right corner?

2003-12-01 Thread Karsten Heymann
On Sat, 29 Nov 2003 18:20:02 -0800 (PST)
"James Frye" <[EMAIL PROTECTED]> wrote:

> how can I get the page number in the upper right corner of the page,
> instead of at the bottom center?

fancyheadings is already quite good. Even better imho is srcpage2 from
the koma-script package, which comes with excellent documentation (part
of the scrguide I think).

> I've tried the fancyheadings package, as suggested in the Lyx docs,
> and it will do it on the first page (along with some other
> fancification that I could probably eliminate with a little work), but
> ONLY the first page. The rest get no page number at all.

That's strange. If you are using a Latex-generated titlepage (by using
title, author,.. paragraph styles) the first page has the pagestyle
"empty" whilst the other pages have the pagestyle selected in the
document preferences, i.e. plain or headings. Wild guess: Try setting
thist value to "default".

hth,

Karsten


Re: Page numbers in upper right corner?

2003-11-30 Thread Mark Carroll
On Sat, 29 Nov 2003, James Frye wrote:

> I suppose this is a more of a general latex question than a Lyx-specific
> one, but I haven't been able to find an answer anywhere else.  The
> question seems pretty simple, even trivial: how can I get the page number
> in the upper right corner of the page, instead of at the bottom center?
> (Our grad school requires that in a thesis>)
(snip)

I would probably do something like doing whatever makes
\paperpagestyle fancy
appear in the .lyx file, and in the preamble do something like,

\lhead{}
\chead{}
\rhead{\thepage}
\lfoot{}
\cfoot{}
\rfoot{}
\let\oldmaketitle=\maketitle
\def\maketitle{\oldmaketitle\thispagestyle{fancy}}

The last two lines make it appear on the title page too.

(How I'd make it appear on one side on odd pages and the other on even,
I'm not sure. (-:)

-- Mark


Page numbers in upper right corner?

2003-11-29 Thread James Frye
I suppose this is a more of a general latex question than a Lyx-specific
one, but I haven't been able to find an answer anywhere else.  The
question seems pretty simple, even trivial: how can I get the page number
in the upper right corner of the page, instead of at the bottom center?
(Our grad school requires that in a thesis>)

I've tried the fancyheadings package, as suggested in the Lyx docs, and it
will do it on the first page (along with some other fancification that I
could probably eliminate with a little work), but ONLY the first page.
The rest get no page number at all.

Thanks,
James