Re: formatting page numbers
Hi there, here is how I fixed my problem (in case it helps others): - in my thesis.layout file I had to reset PageStyle Headers and comment out : #ClassOptions #PageStyle plain #Other defaultstyle #End then you can select fancyheaders page style from LyX - in the preamble \fancyhead{} % delete the defaults \fancyhead[RE,RO]{\thepage } % Sets Right handside of header %% (Even and Odd numbered pages) \fancyfoot{} % clear -- Frederic Frederic Leymarie wrote: Jeroen Vriesman wrote: What I did, was choosing amsbook style, I am already using another style (thesis) How to have the fancyheaders then ? (it does not show up as an option, only plain an default do). and I've selected fancy headers in layout-document from lyx. Strange enough, I had to put the rest of the fancy header stuff in an ERT at the beginning of the document, didn't work in the preamble. What is an ERT ? if you don't select the fancy header in the layout-document window, lyx doesn't include a \usepackage{fancyhrd}, so that's probably why you get the undefined control sequence. I put \usepackage{fancyheadings} in the preamble ... to no avail. Frederic -- -- Frederic FOL LEYMARIE, RD 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 --- It does play with dice ... but are they fixed?
Re: formatting page numbers
Hi there, here is how I fixed my problem (in case it helps others): - in my thesis.layout file I had to reset PageStyle Headers and comment out : #ClassOptions #PageStyle plain #Other defaultstyle #End then you can select fancyheaders page style from LyX - in the preamble \fancyhead{} % delete the defaults \fancyhead[RE,RO]{\thepage } % Sets Right handside of header %% (Even and Odd numbered pages) \fancyfoot{} % clear -- Frederic Frederic Leymarie wrote: Jeroen Vriesman wrote: What I did, was choosing amsbook style, I am already using another style (thesis) How to have the fancyheaders then ? (it does not show up as an option, only plain an default do). and I've selected fancy headers in layout-document from lyx. Strange enough, I had to put the rest of the fancy header stuff in an ERT at the beginning of the document, didn't work in the preamble. What is an ERT ? if you don't select the fancy header in the layout-document window, lyx doesn't include a \usepackage{fancyhrd}, so that's probably why you get the undefined control sequence. I put \usepackage{fancyheadings} in the preamble ... to no avail. Frederic -- -- Frederic FOL LEYMARIE, RD 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 --- It does play with dice ... but are they fixed?
Re: formatting page numbers
Hi there, here is how I fixed my problem (in case it helps others): - in my thesis.layout file I had to reset PageStyle Headers and comment out : #ClassOptions #PageStyle "plain" #Other "defaultstyle" #End then you can select fancyheaders page style from LyX - in the preamble \fancyhead{} % delete the defaults \fancyhead[RE,RO]{\thepage } % Sets Right handside of header %% (Even and Odd numbered pages) \fancyfoot{} % clear -- Frederic Frederic Leymarie wrote: > Jeroen Vriesman wrote: > > > What I did, was choosing amsbook style, > > I am already using another style (thesis) > > How to have the fancyheaders then ? > (it does not show up as an option, only plain an default do). > > > and I've selected fancy headers in layout-document from lyx. > > > > Strange enough, I had to put the rest of the fancy header stuff in an ERT at the >beginning of the document, > > didn't work in the preamble. > > What is an "ERT" ? > > > if you don't select the fancy header in the layout-document window, lyx doesn't >include a \usepackage{fancyhrd}, so that's probably why you get the undefined control >sequence. > > I put > \usepackage{fancyheadings} > in the preamble ... > > to no avail. > > Frederic > -- -- Frederic FOL LEYMARIE, R 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 --- It does play with dice ... but are they fixed?
Re: formatting page numbers
Jeroen Vriesman wrote: Did you get errors? Or did you not get what you expected? error (Undefined control sequence) I put what you suggested in the preamble. F -- On Thu, 05 Dec 2002 00:36:10 -0500 Frederic Leymarie [EMAIL PROTECTED] wrote: Thanks I tried what you suggest but it did not work. Anyone else has some experience with this ? I could not find any example on the LyX tips either. Frederic -- Jeroen Vriesman wrote: On Wed, 04 Dec 2002 16:30:25 -0500 Frederic Leymarie [EMAIL PROTECTED] wrote: Hi there I need to do the following (would someone have an example of LaTeX commands for it ?): On pages with major (chapter) headings, the arabic numerals should be centered at the bottom of the page. On all other pages, they should be placed flush with the margin at the top right hand corner of the page, 2cm below the top edge. --- Frederic use fancy headers, you can define them separate for fancy and plain style. \fancypagestyle{plain}{ \fancyfoot[C]{\thepage} } \pagestyle{fancy}{ \rhead{\thepage} } and some other stuff, this is just a hint to get started. Jeroen.
Re: formatting page numbers
Jeroen Vriesman wrote: What I did, was choosing amsbook style, I am already using another style (thesis) How to have the fancyheaders then ? (it does not show up as an option, only plain an default do). and I've selected fancy headers in layout-document from lyx. Strange enough, I had to put the rest of the fancy header stuff in an ERT at the beginning of the document, didn't work in the preamble. What is an ERT ? if you don't select the fancy header in the layout-document window, lyx doesn't include a \usepackage{fancyhrd}, so that's probably why you get the undefined control sequence. I put \usepackage{fancyheadings} in the preamble ... to no avail. Frederic --
Re: formatting page numbers
Jeroen Vriesman wrote: Did you get errors? Or did you not get what you expected? error (Undefined control sequence) I put what you suggested in the preamble. F -- On Thu, 05 Dec 2002 00:36:10 -0500 Frederic Leymarie [EMAIL PROTECTED] wrote: Thanks I tried what you suggest but it did not work. Anyone else has some experience with this ? I could not find any example on the LyX tips either. Frederic -- Jeroen Vriesman wrote: On Wed, 04 Dec 2002 16:30:25 -0500 Frederic Leymarie [EMAIL PROTECTED] wrote: Hi there I need to do the following (would someone have an example of LaTeX commands for it ?): On pages with major (chapter) headings, the arabic numerals should be centered at the bottom of the page. On all other pages, they should be placed flush with the margin at the top right hand corner of the page, 2cm below the top edge. --- Frederic use fancy headers, you can define them separate for fancy and plain style. \fancypagestyle{plain}{ \fancyfoot[C]{\thepage} } \pagestyle{fancy}{ \rhead{\thepage} } and some other stuff, this is just a hint to get started. Jeroen.
Re: formatting page numbers
Jeroen Vriesman wrote: What I did, was choosing amsbook style, I am already using another style (thesis) How to have the fancyheaders then ? (it does not show up as an option, only plain an default do). and I've selected fancy headers in layout-document from lyx. Strange enough, I had to put the rest of the fancy header stuff in an ERT at the beginning of the document, didn't work in the preamble. What is an ERT ? if you don't select the fancy header in the layout-document window, lyx doesn't include a \usepackage{fancyhrd}, so that's probably why you get the undefined control sequence. I put \usepackage{fancyheadings} in the preamble ... to no avail. Frederic --
Re: formatting page numbers
Jeroen Vriesman wrote: > Did you get errors? > Or did you not get what you expected? error (Undefined control sequence) I put what you suggested in the preamble. F -- > On Thu, 05 Dec 2002 00:36:10 -0500 > Frederic Leymarie <[EMAIL PROTECTED]> wrote: > > > Thanks > > > > I tried what you suggest but it did not work. > > > > Anyone else has some experience with this ? > > > > I could not find any example on the LyX tips either. > > > > Frederic > > -- > > > > > > > > Jeroen Vriesman wrote: > > > > > On Wed, 04 Dec 2002 16:30:25 -0500 > > > Frederic Leymarie <[EMAIL PROTECTED]> wrote: > > > > > > > Hi there > > > > > > > > I need to do the following (would someone > > > > have an example of LaTeX commands for it ?): > > > > > > > > On pages with major (chapter) headings, > > > > the arabic numerals should be centered at > > > > the bottom of the page. On all other pages, > > > > they should be placed flush with the margin > > > > at the top right hand corner of the page, > > > > 2cm below the top edge. > > > > > > > > --- > > > > Frederic > > > > > > > > > > use fancy headers, you can define them separate for fancy and plain style. > > > \fancypagestyle{plain}{ > > > > > > \fancyfoot[C]{\thepage} > > > } > > > > > > \pagestyle{fancy}{ > > > > > > \rhead{\thepage} > > > > > > } > > > > > > and some other stuff, this is just a hint to get started. > > > > > > Jeroen.
Re: formatting page numbers
Jeroen Vriesman wrote: > What I did, was choosing amsbook style, I am already using another style (thesis) How to have the fancyheaders then ? (it does not show up as an option, only plain an default do). > and I've selected fancy headers in layout-document from lyx. > > Strange enough, I had to put the rest of the fancy header stuff in an ERT at the >beginning of the document, > didn't work in the preamble. What is an "ERT" ? > if you don't select the fancy header in the layout-document window, lyx doesn't >include a \usepackage{fancyhrd}, so that's probably why you get the undefined control >sequence. I put \usepackage{fancyheadings} in the preamble ... to no avail. Frederic --
formatting page numbers
Hi there I need to do the following (would someone have an example of LaTeX commands for it ?): On pages with major (chapter) headings, the arabic numerals should be centered at the bottom of the page. On all other pages, they should be placed flush with the margin at the top right hand corner of the page, 2cm below the top edge. --- Frederic
Re: formatting page numbers
On Wed, 04 Dec 2002 16:30:25 -0500 Frederic Leymarie [EMAIL PROTECTED] wrote: Hi there I need to do the following (would someone have an example of LaTeX commands for it ?): On pages with major (chapter) headings, the arabic numerals should be centered at the bottom of the page. On all other pages, they should be placed flush with the margin at the top right hand corner of the page, 2cm below the top edge. --- Frederic use fancy headers, you can define them separate for fancy and plain style. \fancypagestyle{plain}{ \fancyfoot[C]{\thepage} } \pagestyle{fancy}{ \rhead{\thepage} } and some other stuff, this is just a hint to get started. Jeroen.
Re: formatting page numbers
Thanks I tried what you suggest but it did not work. Anyone else has some experience with this ? I could not find any example on the LyX tips either. Frederic -- Jeroen Vriesman wrote: On Wed, 04 Dec 2002 16:30:25 -0500 Frederic Leymarie [EMAIL PROTECTED] wrote: Hi there I need to do the following (would someone have an example of LaTeX commands for it ?): On pages with major (chapter) headings, the arabic numerals should be centered at the bottom of the page. On all other pages, they should be placed flush with the margin at the top right hand corner of the page, 2cm below the top edge. --- Frederic use fancy headers, you can define them separate for fancy and plain style. \fancypagestyle{plain}{ \fancyfoot[C]{\thepage} } \pagestyle{fancy}{ \rhead{\thepage} } and some other stuff, this is just a hint to get started. Jeroen. -- Frederic FOL LEYMARIE, RD 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 --- It does play with dice ... but are they fixed?
formatting page numbers
Hi there I need to do the following (would someone have an example of LaTeX commands for it ?): On pages with major (chapter) headings, the arabic numerals should be centered at the bottom of the page. On all other pages, they should be placed flush with the margin at the top right hand corner of the page, 2cm below the top edge. --- Frederic
Re: formatting page numbers
On Wed, 04 Dec 2002 16:30:25 -0500 Frederic Leymarie [EMAIL PROTECTED] wrote: Hi there I need to do the following (would someone have an example of LaTeX commands for it ?): On pages with major (chapter) headings, the arabic numerals should be centered at the bottom of the page. On all other pages, they should be placed flush with the margin at the top right hand corner of the page, 2cm below the top edge. --- Frederic use fancy headers, you can define them separate for fancy and plain style. \fancypagestyle{plain}{ \fancyfoot[C]{\thepage} } \pagestyle{fancy}{ \rhead{\thepage} } and some other stuff, this is just a hint to get started. Jeroen.
Re: formatting page numbers
Thanks I tried what you suggest but it did not work. Anyone else has some experience with this ? I could not find any example on the LyX tips either. Frederic -- Jeroen Vriesman wrote: On Wed, 04 Dec 2002 16:30:25 -0500 Frederic Leymarie [EMAIL PROTECTED] wrote: Hi there I need to do the following (would someone have an example of LaTeX commands for it ?): On pages with major (chapter) headings, the arabic numerals should be centered at the bottom of the page. On all other pages, they should be placed flush with the margin at the top right hand corner of the page, 2cm below the top edge. --- Frederic use fancy headers, you can define them separate for fancy and plain style. \fancypagestyle{plain}{ \fancyfoot[C]{\thepage} } \pagestyle{fancy}{ \rhead{\thepage} } and some other stuff, this is just a hint to get started. Jeroen. -- Frederic FOL LEYMARIE, RD 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 --- It does play with dice ... but are they fixed?
formatting page numbers
Hi there I need to do the following (would someone have an example of LaTeX commands for it ?): On pages with major (chapter) headings, the arabic numerals should be centered at the bottom of the page. On all other pages, they should be placed flush with the margin at the top right hand corner of the page, 2cm below the top edge. --- Frederic
Re: formatting page numbers
On Wed, 04 Dec 2002 16:30:25 -0500 Frederic Leymarie <[EMAIL PROTECTED]> wrote: > Hi there > > I need to do the following (would someone > have an example of LaTeX commands for it ?): > > On pages with major (chapter) headings, > the arabic numerals should be centered at > the bottom of the page. On all other pages, > they should be placed flush with the margin > at the top right hand corner of the page, > 2cm below the top edge. > > --- > Frederic > use fancy headers, you can define them separate for fancy and plain style. \fancypagestyle{plain}{ \fancyfoot[C]{\thepage} } \pagestyle{fancy}{ \rhead{\thepage} } and some other stuff, this is just a hint to get started. Jeroen.
Re: formatting page numbers
Thanks I tried what you suggest but it did not work. Anyone else has some experience with this ? I could not find any example on the LyX tips either. Frederic -- Jeroen Vriesman wrote: > On Wed, 04 Dec 2002 16:30:25 -0500 > Frederic Leymarie <[EMAIL PROTECTED]> wrote: > > > Hi there > > > > I need to do the following (would someone > > have an example of LaTeX commands for it ?): > > > > On pages with major (chapter) headings, > > the arabic numerals should be centered at > > the bottom of the page. On all other pages, > > they should be placed flush with the margin > > at the top right hand corner of the page, > > 2cm below the top edge. > > > > --- > > Frederic > > > > use fancy headers, you can define them separate for fancy and plain style. > \fancypagestyle{plain}{ > > \fancyfoot[C]{\thepage} > } > > \pagestyle{fancy}{ > > \rhead{\thepage} > > } > > and some other stuff, this is just a hint to get started. > > Jeroen. -- Frederic FOL LEYMARIE, R 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 --- It does play with dice ... but are they fixed?