Re: Short titles in fancyheader: delayed reaction

2006-08-21 Thread Jean-Marc Lasgouttes
 mt == mt  [EMAIL PROTECTED] writes:

mt I use Lyx 1.3.7 (German) but i can't find InsertShort Title.

Looks like it is Kurztitel. It is only usable in layouts that support
such a thing.

mt But it seems that the code created is
mt \section[short]{long title}, isn't it? The short title
mt will appear in the TOC in this case.

Exactly. If you use memoir, it is possible to specify separately the
toc and the header, and LyX supports this.

JMarc


Re: Short titles in fancyheader: delayed reaction

2006-08-21 Thread Catherine Heyrendt


Hello! Thank you very much for your answer. The trick worked for me too, 
and is remarkably hassle-free.



My solution:

\markright{short}
\section{looong title}
\markright{short}


The only thing is that the section number does not appear in the header 
that way. So, assuming it was section A, I had to put in the following:


\markright{A. SHORT TITLE}
\section{looong title}
\sectionmark{short title}


The long title will appear in the TOC.

It does, no problem there.

But i think that this will cause 
problems when the section starts on a new page...

I have not noticed that.

I haven't tried it with chapters; maybe there is a problem that the 
short title appears on the page before the new chapter (because this 
always uses a new page)!?


Actually, the same problem cannot happen with chapters, since the first 
page of the chapter has no header. Then, from the second page onward, all 
is fine, it follows whatever \chaptermark you decided to give it.


Cheers,
Catherine


Re: Short titles in fancyheader: delayed reaction

2006-08-21 Thread mt

 The only thing is that the section number does not appear in the header 
 that way. So, assuming it was section A, I had to put in the following:
 
 \markright{A. SHORT TITLE}

Oh, thank you, i haven't noticed that yet. There is just another dirty trick 
from my side (maybe Jean Marc's memoir-class is better advised... ;): 

to include the section name you could write:
\markright{\thesection\ short}  [same with \thechapter]
But before defining the new section the counter for the new section is on the 
old value, it is one to low. So you could add artificially 1 and subtract it 
afterwards: 

\addtocounter{section}{1} \markright{\thesection\ SHORT} 
\addtocounter{section}{-1}
\section{LOOONG}
\markright{\thesection\ SHORT} 


Best wishes, Marco




-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


Re: Short titles in fancyheader: delayed reaction

2006-08-21 Thread Jean-Marc Lasgouttes
 mt == mt  [EMAIL PROTECTED] writes:

mt I use Lyx 1.3.7 (German) but i can't find InsertShort Title.

Looks like it is Kurztitel. It is only usable in layouts that support
such a thing.

mt But it seems that the code created is
mt \section[short]{long title}, isn't it? The short title
mt will appear in the TOC in this case.

Exactly. If you use memoir, it is possible to specify separately the
toc and the header, and LyX supports this.

JMarc


Re: Short titles in fancyheader: delayed reaction

2006-08-21 Thread Catherine Heyrendt


Hello! Thank you very much for your answer. The trick worked for me too, 
and is remarkably hassle-free.



My solution:

\markright{short}
\section{looong title}
\markright{short}


The only thing is that the section number does not appear in the header 
that way. So, assuming it was section A, I had to put in the following:


\markright{A. SHORT TITLE}
\section{looong title}
\sectionmark{short title}


The long title will appear in the TOC.

It does, no problem there.

But i think that this will cause 
problems when the section starts on a new page...

I have not noticed that.

I haven't tried it with chapters; maybe there is a problem that the 
short title appears on the page before the new chapter (because this 
always uses a new page)!?


Actually, the same problem cannot happen with chapters, since the first 
page of the chapter has no header. Then, from the second page onward, all 
is fine, it follows whatever \chaptermark you decided to give it.


Cheers,
Catherine


Re: Short titles in fancyheader: delayed reaction

2006-08-21 Thread mt

 The only thing is that the section number does not appear in the header 
 that way. So, assuming it was section A, I had to put in the following:
 
 \markright{A. SHORT TITLE}

Oh, thank you, i haven't noticed that yet. There is just another dirty trick 
from my side (maybe Jean Marc's memoir-class is better advised... ;): 

to include the section name you could write:
\markright{\thesection\ short}  [same with \thechapter]
But before defining the new section the counter for the new section is on the 
old value, it is one to low. So you could add artificially 1 and subtract it 
afterwards: 

\addtocounter{section}{1} \markright{\thesection\ SHORT} 
\addtocounter{section}{-1}
\section{LOOONG}
\markright{\thesection\ SHORT} 


Best wishes, Marco




-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


Re: Short titles in fancyheader: delayed reaction

2006-08-21 Thread Jean-Marc Lasgouttes
> "mt" == mt  <[EMAIL PROTECTED]> writes:

mt> I use Lyx 1.3.7 (German) but i can't find "Insert>Short Title".

Looks like it is Kurztitel. It is only usable in layouts that support
such a thing.

mt> But it seems that the code created is
mt> "\section[short]{long title}", isn't it? The short title
mt> will appear in the TOC in this case.

Exactly. If you use memoir, it is possible to specify separately the
toc and the header, and LyX supports this.

JMarc


Re: Short titles in fancyheader: delayed reaction

2006-08-21 Thread Catherine Heyrendt


Hello! Thank you very much for your answer. The trick worked for me too, 
and is remarkably hassle-free.



My "solution":

\markright{short}
\section{looong title}
\markright{short}


The only thing is that the section number does not appear in the header 
that way. So, assuming it was section A, I had to put in the following:


\markright{A. SHORT TITLE}
\section{looong title}
\sectionmark{short title}


The long title will appear in the TOC.

It does, no problem there.

But i think that this will cause 
problems when the section starts on a new page...

I have not noticed that.

I haven't tried it with chapters; maybe there is a problem that the 
short title appears on the page before the new chapter (because this 
always uses a new page)!?


Actually, the same problem cannot happen with chapters, since the first 
page of the chapter has no header. Then, from the second page onward, all 
is fine, it follows whatever \chaptermark you decided to give it.


Cheers,
Catherine


Re: Short titles in fancyheader: delayed reaction

2006-08-21 Thread mt

> The only thing is that the section number does not appear in the header 
> that way. So, assuming it was section A, I had to put in the following:
> 
> \markright{A. SHORT TITLE}

Oh, thank you, i haven't noticed that yet. There is just another "dirty trick" 
from my side (maybe Jean Marc's memoir-class is better advised... ;): 

to include the section name you could write:
\markright{\thesection\ short}  [same with \thechapter]
But before defining the new section the counter for the new section is on the 
old value, it is one to low. So you could add artificially 1 and subtract it 
afterwards: 

\addtocounter{section}{1} \markright{\thesection\ SHORT} 
\addtocounter{section}{-1}
\section{LOOONG}
\markright{\thesection\ SHORT} 


Best wishes, Marco




-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


Re: Short titles in fancyheader: delayed reaction

2006-08-20 Thread mt

Hello !

i have the same problem with sections (in book style). 

I use \markright for changing the section title in the header - TWICE, just 
before and after the \section. Otherwise [just with \markright{..} 
\section{..}] (only!) the first page with the new section has the long title in 
the fancyheader!

My solution:

\markright{short} 
\section{looong title}
\markright{short} 

The long title will appear in the TOC. But i think that this will cause 
problems when the section starts on a new page...

I haven't tried it with chapters; maybe there is a problem that the short title 
appears on the page before the new chapter (because this always uses a new 
page)!?

For chapters the caommand is not \markright but \markboth{short CHAPTER 
name}{section name}. 

I use Lyx 1.3.7 (German) but i can't find InsertShort Title. But it seems 
that the code created is \section[short]{long title}, isn't it? The 
short title will appear in the TOC in this case.

Best wishes, 
Marco





  Try to use instead InsertShort Title to specify the shorter version
  of the chapter title.
 
 Actually, I spoke too soon. This solution does sort my header problem, but
 it creates another one. In the toc, I then get the short title, but I 
 would like the full title to appear.

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


Re: Short titles in fancyheader: delayed reaction

2006-08-20 Thread mt

Hello !

i have the same problem with sections (in book style). 

I use \markright for changing the section title in the header - TWICE, just 
before and after the \section. Otherwise [just with \markright{..} 
\section{..}] (only!) the first page with the new section has the long title in 
the fancyheader!

My solution:

\markright{short} 
\section{looong title}
\markright{short} 

The long title will appear in the TOC. But i think that this will cause 
problems when the section starts on a new page...

I haven't tried it with chapters; maybe there is a problem that the short title 
appears on the page before the new chapter (because this always uses a new 
page)!?

For chapters the caommand is not \markright but \markboth{short CHAPTER 
name}{section name}. 

I use Lyx 1.3.7 (German) but i can't find InsertShort Title. But it seems 
that the code created is \section[short]{long title}, isn't it? The 
short title will appear in the TOC in this case.

Best wishes, 
Marco





  Try to use instead InsertShort Title to specify the shorter version
  of the chapter title.
 
 Actually, I spoke too soon. This solution does sort my header problem, but
 it creates another one. In the toc, I then get the short title, but I 
 would like the full title to appear.

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


Re: Short titles in fancyheader: delayed reaction

2006-08-20 Thread mt

Hello !

i have the same problem with sections (in book style). 

I use \markright for changing the section title in the header - TWICE, just 
before and after the \section. Otherwise [just with \markright{..} 
\section{..}] (only!) the first page with the new section has the long title in 
the fancyheader!

My "solution":

\markright{short} 
\section{looong title}
\markright{short} 

The long title will appear in the TOC. But i think that this will cause 
problems when the section starts on a new page...

I haven't tried it with chapters; maybe there is a problem that the short title 
appears on the page before the new chapter (because this always uses a new 
page)!?

For chapters the caommand is not \markright but \markboth{short CHAPTER 
name}{section name}. 

I use Lyx 1.3.7 (German) but i can't find "Insert>Short Title". But it seems 
that the code created is "\section[short]{long title}", isn't it? The 
short title will appear in the TOC in this case.

Best wishes, 
Marco





> > Try to use instead Insert>Short Title to specify the shorter version
> > of the chapter title.
> 
> Actually, I spoke too soon. This solution does sort my header problem, but
> it creates another one. In the toc, I then get the short title, but I 
> would like the full title to appear.

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


Short titles in fancyheader: delayed reaction

2006-08-19 Thread Catherine Heyrendt


When I use the ERT \chaptermark{my shorter title} in order to have a 
shorter chapter title in the header, there is a delayed reaction. It 
works well for all pages, but not for the first page, the one with the 
actual chapter title. Instead, I get the full title inelegantly cut in the 
header. Any ideas how to get the chapter title page to work too?


The problem was mentioned almost 3 years ago (see below) but I couldn't 
find any answers.


Many thanks,
Catherine



Mon, 22 Sep 2003 16:33:22 -0700

Hello LyX-List,

In a document I use fancy pagestyle and I want the chapters and
sectiontitles to be printed in short form in the header, so some of the
older E-mails tell that the command needed is:

\sectionmark{abc}

and it works for all the pages where no new section is started. But on
this page the short chapter-title but the long (original) section-title
is displayed in the header; so another E-mail tells that the pagestyle
ist set to plain at the beginning of new chapters - is it the same with
beginnings of new sections, and: is this the problem? - can I change
this?

-Kai-
--
Kai Johannes Keller


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Jean-Marc Lasgouttes
 Catherine == Catherine Heyrendt [EMAIL PROTECTED] writes:

Catherine When I use the ERT \chaptermark{my shorter title} in
Catherine order to have a shorter chapter title in the header, there
Catherine is a delayed reaction. It works well for all pages, but
Catherine not for the first page, the one with the actual chapter
Catherine title. Instead, I get the full title inelegantly cut in the
Catherine header. Any ideas how to get the chapter title page to work
Catherine too?

Hello,

Try to use instead InsertShort Title to specify the shorter version
of the chapter title.

JMarc



Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Catherine Heyrendt



Try to use instead InsertShort Title to specify the shorter version
of the chapter title.


It works beautifully, thanks a lot! I needn't have bothered using 
\chaptermark...


Catherine


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Catherine Heyrendt




Try to use instead InsertShort Title to specify the shorter version
of the chapter title.


Actually, I spoke too soon. This solution does sort my header problem, but 
it creates another one. In the toc, I then get the short title, but I 
would like the full title to appear.


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Jean-Marc Lasgouttes
 Catherine == Catherine Heyrendt [EMAIL PROTECTED] writes:

 Try to use instead InsertShort Title to specify the shorter
 version of the chapter title.

Catherine Actually, I spoke too soon. This solution does sort my
Catherine header problem, but it creates another one. In the toc, I
Catherine then get the short title, but I would like the full title
Catherine to appear.

This is how standard LaTeX classes work...

If you use the memoir class, this is possible by adding two different
Short Title insets in the paragraph (I do not remember what the order
is). 

JMarc


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Paul A. Rubin

Catherine Heyrendt wrote:


When I use the ERT \chaptermark{my shorter title} in order to have a 
shorter chapter title in the header, there is a delayed reaction. It 
works well for all pages, but not for the first page, the one with the 
actual chapter title. Instead, I get the full title inelegantly cut in 
the header. Any ideas how to get the chapter title page to work too?


The problem was mentioned almost 3 years ago (see below) but I couldn't 
find any answers.




Google fancyplain.  This is an alternative page style (also defined in 
fancyhdr.sty IIRC) that allows you to specify headers/footers separately 
for ordinary pages (which fancy style does) and for title pages 
(including first page of a chapter), which fancy style skips.  I'm not 
sure, but I think this will help.


/Paul



Short titles in fancyheader: delayed reaction

2006-08-19 Thread Catherine Heyrendt


When I use the ERT \chaptermark{my shorter title} in order to have a 
shorter chapter title in the header, there is a delayed reaction. It 
works well for all pages, but not for the first page, the one with the 
actual chapter title. Instead, I get the full title inelegantly cut in the 
header. Any ideas how to get the chapter title page to work too?


The problem was mentioned almost 3 years ago (see below) but I couldn't 
find any answers.


Many thanks,
Catherine



Mon, 22 Sep 2003 16:33:22 -0700

Hello LyX-List,

In a document I use fancy pagestyle and I want the chapters and
sectiontitles to be printed in short form in the header, so some of the
older E-mails tell that the command needed is:

\sectionmark{abc}

and it works for all the pages where no new section is started. But on
this page the short chapter-title but the long (original) section-title
is displayed in the header; so another E-mail tells that the pagestyle
ist set to plain at the beginning of new chapters - is it the same with
beginnings of new sections, and: is this the problem? - can I change
this?

-Kai-
--
Kai Johannes Keller


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Jean-Marc Lasgouttes
 Catherine == Catherine Heyrendt [EMAIL PROTECTED] writes:

Catherine When I use the ERT \chaptermark{my shorter title} in
Catherine order to have a shorter chapter title in the header, there
Catherine is a delayed reaction. It works well for all pages, but
Catherine not for the first page, the one with the actual chapter
Catherine title. Instead, I get the full title inelegantly cut in the
Catherine header. Any ideas how to get the chapter title page to work
Catherine too?

Hello,

Try to use instead InsertShort Title to specify the shorter version
of the chapter title.

JMarc



Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Catherine Heyrendt



Try to use instead InsertShort Title to specify the shorter version
of the chapter title.


It works beautifully, thanks a lot! I needn't have bothered using 
\chaptermark...


Catherine


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Catherine Heyrendt




Try to use instead InsertShort Title to specify the shorter version
of the chapter title.


Actually, I spoke too soon. This solution does sort my header problem, but 
it creates another one. In the toc, I then get the short title, but I 
would like the full title to appear.


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Jean-Marc Lasgouttes
 Catherine == Catherine Heyrendt [EMAIL PROTECTED] writes:

 Try to use instead InsertShort Title to specify the shorter
 version of the chapter title.

Catherine Actually, I spoke too soon. This solution does sort my
Catherine header problem, but it creates another one. In the toc, I
Catherine then get the short title, but I would like the full title
Catherine to appear.

This is how standard LaTeX classes work...

If you use the memoir class, this is possible by adding two different
Short Title insets in the paragraph (I do not remember what the order
is). 

JMarc


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Paul A. Rubin

Catherine Heyrendt wrote:


When I use the ERT \chaptermark{my shorter title} in order to have a 
shorter chapter title in the header, there is a delayed reaction. It 
works well for all pages, but not for the first page, the one with the 
actual chapter title. Instead, I get the full title inelegantly cut in 
the header. Any ideas how to get the chapter title page to work too?


The problem was mentioned almost 3 years ago (see below) but I couldn't 
find any answers.




Google fancyplain.  This is an alternative page style (also defined in 
fancyhdr.sty IIRC) that allows you to specify headers/footers separately 
for ordinary pages (which fancy style does) and for title pages 
(including first page of a chapter), which fancy style skips.  I'm not 
sure, but I think this will help.


/Paul



Short titles in fancyheader: delayed reaction

2006-08-19 Thread Catherine Heyrendt


When I use the ERT \chaptermark{} in order to have a 
shorter chapter title in the header, there is a "delayed reaction". It 
works well for all pages, but not for the first page, the one with the 
actual chapter title. Instead, I get the full title inelegantly cut in the 
header. Any ideas how to get the chapter title page to work too?


The problem was mentioned almost 3 years ago (see below) but I couldn't 
find any answers.


Many thanks,
Catherine



Mon, 22 Sep 2003 16:33:22 -0700

Hello LyX-List,

In a document I use "fancy" pagestyle and I want the chapters and
sectiontitles to be printed in short form in the header, so some of the
older E-mails tell that the command needed is:

\sectionmark{abc}

and it works for all the pages where no new section is started. But on
this page the short chapter-title but the long (original) section-title
is displayed in the header; so another E-mail tells that the pagestyle
ist set to plain at the beginning of new chapters - is it the same with
beginnings of new sections, and: is this the problem? - can I change
this?

-Kai-
--
Kai Johannes Keller


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Jean-Marc Lasgouttes
> "Catherine" == Catherine Heyrendt <[EMAIL PROTECTED]> writes:

Catherine> When I use the ERT \chaptermark{} in
Catherine> order to have a shorter chapter title in the header, there
Catherine> is a "delayed reaction". It works well for all pages, but
Catherine> not for the first page, the one with the actual chapter
Catherine> title. Instead, I get the full title inelegantly cut in the
Catherine> header. Any ideas how to get the chapter title page to work
Catherine> too?

Hello,

Try to use instead Insert>Short Title to specify the shorter version
of the chapter title.

JMarc



Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Catherine Heyrendt



Try to use instead Insert>Short Title to specify the shorter version
of the chapter title.


It works beautifully, thanks a lot! I needn't have bothered using 
\chaptermark...


Catherine


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Catherine Heyrendt




Try to use instead Insert>Short Title to specify the shorter version
of the chapter title.


Actually, I spoke too soon. This solution does sort my header problem, but 
it creates another one. In the toc, I then get the short title, but I 
would like the full title to appear.


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Jean-Marc Lasgouttes
> "Catherine" == Catherine Heyrendt <[EMAIL PROTECTED]> writes:

>> Try to use instead Insert>Short Title to specify the shorter
>> version of the chapter title.

Catherine> Actually, I spoke too soon. This solution does sort my
Catherine> header problem, but it creates another one. In the toc, I
Catherine> then get the short title, but I would like the full title
Catherine> to appear.

This is how standard LaTeX classes work...

If you use the memoir class, this is possible by adding two different
Short Title insets in the paragraph (I do not remember what the order
is). 

JMarc


Re: Short titles in fancyheader: delayed reaction

2006-08-19 Thread Paul A. Rubin

Catherine Heyrendt wrote:


When I use the ERT \chaptermark{} in order to have a 
shorter chapter title in the header, there is a "delayed reaction". It 
works well for all pages, but not for the first page, the one with the 
actual chapter title. Instead, I get the full title inelegantly cut in 
the header. Any ideas how to get the chapter title page to work too?


The problem was mentioned almost 3 years ago (see below) but I couldn't 
find any answers.




Google "fancyplain".  This is an alternative page style (also defined in 
fancyhdr.sty IIRC) that allows you to specify headers/footers separately 
for ordinary pages (which fancy style does) and for title pages 
(including first page of a chapter), which fancy style skips.  I'm not 
sure, but I think this will help.


/Paul



Re: fancyheader problem

2005-05-09 Thread Paul A. Rubin
Gunnar wrote:
I'm trying to get fancyheaders in a book,
with this preamble
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO,RE]{\rightmark}
I get the SAME kind of headers on both odd and even pages. The page number is 
in the righthand corner, and the sectionnumber+name is in the lefthand 
corner. That is what I want for the odd pages, but for the even pages I want 
the page number to the left, and section the right. 
What's wrong?


Did you check Two-sided document under Layout-Document-Paper? 
Without that, LyX includes the oneside option (at least in articles, not 
sure about books), which kills the header alternation.

-- Paul


Re: fancyheader problem

2005-05-09 Thread Gunnar
 Did you check Two-sided document under Layout-Document-Paper?
No.
 Without that, LyX includes the oneside option (at least in articles, not
 sure about books), which kills the header alternation.
Thank you very much. Problem solved!


Re: fancyheader problem

2005-05-09 Thread Paul A. Rubin
Gunnar wrote:
I'm trying to get fancyheaders in a book,
with this preamble
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO,RE]{\rightmark}
I get the SAME kind of headers on both odd and even pages. The page number is 
in the righthand corner, and the sectionnumber+name is in the lefthand 
corner. That is what I want for the odd pages, but for the even pages I want 
the page number to the left, and section the right. 
What's wrong?


Did you check Two-sided document under Layout-Document-Paper? 
Without that, LyX includes the oneside option (at least in articles, not 
sure about books), which kills the header alternation.

-- Paul


Re: fancyheader problem

2005-05-09 Thread Gunnar
 Did you check Two-sided document under Layout-Document-Paper?
No.
 Without that, LyX includes the oneside option (at least in articles, not
 sure about books), which kills the header alternation.
Thank you very much. Problem solved!


Re: fancyheader problem

2005-05-09 Thread Paul A. Rubin
Gunnar wrote:
I'm trying to get fancyheaders in a book,
with this preamble
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO,RE]{\rightmark}
I get the SAME kind of headers on both odd and even pages. The page number is 
in the righthand corner, and the sectionnumber+name is in the lefthand 
corner. That is what I want for the odd pages, but for the even pages I want 
the page number to the left, and section the right. 
What's wrong?


Did you check "Two-sided document" under Layout->Document->Paper? 
Without that, LyX includes the oneside option (at least in articles, not 
sure about books), which kills the header alternation.

-- Paul


Re: fancyheader problem

2005-05-09 Thread Gunnar
> Did you check "Two-sided document" under Layout->Document->Paper?
No.
> Without that, LyX includes the oneside option (at least in articles, not
> sure about books), which kills the header alternation.
Thank you very much. Problem solved!


Re: fancyheader problem

2005-05-08 Thread Rich Shepard
On Sun, 8 May 2005, Gunnar wrote:
This is the fancy stuff in the exported latex file
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{fancyhdr}
\pagestyle{fancy}
Gunnar,
  Is the double use intentional? It should be there only once. You can also
use:
\usepackage{fancyhdr}
\pagestyle{fance}
\fancyhead{} % clear header fields
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO]{\rightmark}
\fancyhead[RE]{\leftmark}
  These are correct.
\cfoot{}
  Don't think you need to explicitly clear the center footer; I haven't.
  A recommendation made to me early last year that I'll pass on to you is to
buy a copy of The LaTeX Companion, Second Edition (TLC2). It contains the
answers to most of the questions we post here. A great resource.
  If removing the second calls to the package and pagestyle, and the explicit
clearing of the headers, does not fix your problem then you've exceeded my
knowledge and you'll need to wait for one of the experts to help you out.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: fancyheader problem

2005-05-08 Thread Gunnar
Is the double use intentional? It should be there only once. You can
 also use:
 \usepackage{fancyhdr}
 \pagestyle{fance}
 \fancyhead{} % clear header fields
The double use was added when the single use didn't work (by adding both to 
preamble and selecting fancy pagestyle.
  \cfoot{}
Don't think you need to explicitly clear the center footer; I haven't.
I had to get rid of the pagenumbers placed below. But the number is still 
there on the first page of each chapter.

A recommendation made to me early last year that I'll pass on to you is
 to buy a copy of The LaTeX Companion, Second Edition (TLC2). It contains
 the answers to most of the questions we post here. A great resource.
Sounds like a good book. I'll put it on my books to buy-list.

Thanks for replying, but the problem remains.


Re: fancyheader problem

2005-05-08 Thread Ekkehart Schlicht
I use 

\makeatletter
%clear headers for empty pages
[EMAIL PROTECTED] [EMAIL PROTECTED]
 \hbox{}
   \thispagestyle{empty}
 \newpage
 [EMAIL PROTECTED]
\makeatother
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{ #1}}
\fancyhf{}
\fancyhead[LE]{\thepage}
\fancyhead[RE]{\thesection}
\fancyhead[CE]{\tiny\MakeUppercase{{\leftmark}}}
\fancyhead[CO]{\tiny\MakeUppercase{{\rightmark}}}
\fancyhead[LO]{\thesection}
\fancyhead[RO]{\thepage}
Maybe this works for you?
Ekkehart



Re: fancyheader problem

2005-05-08 Thread Rich Shepard
On Sun, 8 May 2005, Gunnar wrote:
This is the fancy stuff in the exported latex file
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{fancyhdr}
\pagestyle{fancy}
Gunnar,
  Is the double use intentional? It should be there only once. You can also
use:
\usepackage{fancyhdr}
\pagestyle{fance}
\fancyhead{} % clear header fields
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO]{\rightmark}
\fancyhead[RE]{\leftmark}
  These are correct.
\cfoot{}
  Don't think you need to explicitly clear the center footer; I haven't.
  A recommendation made to me early last year that I'll pass on to you is to
buy a copy of The LaTeX Companion, Second Edition (TLC2). It contains the
answers to most of the questions we post here. A great resource.
  If removing the second calls to the package and pagestyle, and the explicit
clearing of the headers, does not fix your problem then you've exceeded my
knowledge and you'll need to wait for one of the experts to help you out.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: fancyheader problem

2005-05-08 Thread Gunnar
Is the double use intentional? It should be there only once. You can
 also use:
 \usepackage{fancyhdr}
 \pagestyle{fance}
 \fancyhead{} % clear header fields
The double use was added when the single use didn't work (by adding both to 
preamble and selecting fancy pagestyle.
  \cfoot{}
Don't think you need to explicitly clear the center footer; I haven't.
I had to get rid of the pagenumbers placed below. But the number is still 
there on the first page of each chapter.

A recommendation made to me early last year that I'll pass on to you is
 to buy a copy of The LaTeX Companion, Second Edition (TLC2). It contains
 the answers to most of the questions we post here. A great resource.
Sounds like a good book. I'll put it on my books to buy-list.

Thanks for replying, but the problem remains.


Re: fancyheader problem

2005-05-08 Thread Ekkehart Schlicht
I use 

\makeatletter
%clear headers for empty pages
[EMAIL PROTECTED] [EMAIL PROTECTED]
 \hbox{}
   \thispagestyle{empty}
 \newpage
 [EMAIL PROTECTED]
\makeatother
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{ #1}}
\fancyhf{}
\fancyhead[LE]{\thepage}
\fancyhead[RE]{\thesection}
\fancyhead[CE]{\tiny\MakeUppercase{{\leftmark}}}
\fancyhead[CO]{\tiny\MakeUppercase{{\rightmark}}}
\fancyhead[LO]{\thesection}
\fancyhead[RO]{\thepage}
Maybe this works for you?
Ekkehart



Re: fancyheader problem

2005-05-08 Thread Rich Shepard
On Sun, 8 May 2005, Gunnar wrote:
This is the fancy stuff in the exported latex file
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{fancyhdr}
\pagestyle{fancy}
Gunnar,
  Is the double use intentional? It should be there only once. You can also
use:
\usepackage{fancyhdr}
\pagestyle{fance}
\fancyhead{} % clear header fields
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO]{\rightmark}
\fancyhead[RE]{\leftmark}
  These are correct.
\cfoot{}
  Don't think you need to explicitly clear the center footer; I haven't.
  A recommendation made to me early last year that I'll pass on to you is to
buy a copy of The LaTeX Companion, Second Edition (TLC2). It contains the
answers to most of the questions we post here. A great resource.
  If removing the second calls to the package and pagestyle, and the explicit
clearing of the headers, does not fix your problem then you've exceeded my
knowledge and you'll need to wait for one of the experts to help you out.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: fancyheader problem

2005-05-08 Thread Gunnar
>Is the double use intentional? It should be there only once. You can
> also use:
> \usepackage{fancyhdr}
> \pagestyle{fance}
> \fancyhead{} % clear header fields
The double use was added when the single use didn't work (by adding both to 
preamble and selecting "fancy" pagestyle.
> > \cfoot{}
>Don't think you need to explicitly clear the center footer; I haven't.
I had to get rid of the pagenumbers placed below. But the number is still 
there on the first page of each chapter.

>A recommendation made to me early last year that I'll pass on to you is
> to buy a copy of The LaTeX Companion, Second Edition (TLC2). It contains
> the answers to most of the questions we post here. A great resource.
Sounds like a good book. I'll put it on my "books to buy"-list.

Thanks for replying, but the problem remains.


Re: fancyheader problem

2005-05-08 Thread Ekkehart Schlicht
I use 

\makeatletter
%clear headers for empty pages
[EMAIL PROTECTED] [EMAIL PROTECTED]
 \hbox{}
   \thispagestyle{empty}
 \newpage
 [EMAIL PROTECTED]
\makeatother
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{ #1}}
\fancyhf{}
\fancyhead[LE]{\thepage}
\fancyhead[RE]{\thesection}
\fancyhead[CE]{\tiny\MakeUppercase{{\leftmark}}}
\fancyhead[CO]{\tiny\MakeUppercase{{\rightmark}}}
\fancyhead[LO]{\thesection}
\fancyhead[RO]{\thepage}
Maybe this works for you?
Ekkehart



fancyheader problem

2005-05-07 Thread Gunnar
I'm trying to get fancyheaders in a book,
with this preamble

\fancyhead[RO,LE]{\thepage}
\fancyhead[LO,RE]{\rightmark}

I get the SAME kind of headers on both odd and even pages. The page number is 
in the righthand corner, and the sectionnumber+name is in the lefthand 
corner. That is what I want for the odd pages, but for the even pages I want 
the page number to the left, and section the right. 
What's wrong?



Re: fancyheader problem

2005-05-07 Thread Rich Shepard
On Sat, 7 May 2005, Gunnar wrote:
I'm trying to get fancyheaders in a book, with this preamble
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO,RE]{\rightmark}
  Did you tell LaTeX to load the package, too?
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: fancyheader problem

2005-05-07 Thread Gunnar
Did you tell LaTeX to load the package, too?
This is the fancy stuff in the exported latex file


\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{fancyhdr} 
\pagestyle{fancy}
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO]{\rightmark}
\fancyhead[RE]{\leftmark}
\cfoot{}


fancyheader problem

2005-05-07 Thread Gunnar
I'm trying to get fancyheaders in a book,
with this preamble

\fancyhead[RO,LE]{\thepage}
\fancyhead[LO,RE]{\rightmark}

I get the SAME kind of headers on both odd and even pages. The page number is 
in the righthand corner, and the sectionnumber+name is in the lefthand 
corner. That is what I want for the odd pages, but for the even pages I want 
the page number to the left, and section the right. 
What's wrong?



Re: fancyheader problem

2005-05-07 Thread Rich Shepard
On Sat, 7 May 2005, Gunnar wrote:
I'm trying to get fancyheaders in a book, with this preamble
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO,RE]{\rightmark}
  Did you tell LaTeX to load the package, too?
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: fancyheader problem

2005-05-07 Thread Gunnar
Did you tell LaTeX to load the package, too?
This is the fancy stuff in the exported latex file


\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{fancyhdr} 
\pagestyle{fancy}
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO]{\rightmark}
\fancyhead[RE]{\leftmark}
\cfoot{}


fancyheader problem

2005-05-07 Thread Gunnar
I'm trying to get fancyheaders in a book,
with this preamble

\fancyhead[RO,LE]{\thepage}
\fancyhead[LO,RE]{\rightmark}

I get the SAME kind of headers on both odd and even pages. The page number is 
in the righthand corner, and the sectionnumber+name is in the lefthand 
corner. That is what I want for the odd pages, but for the even pages I want 
the page number to the left, and section the right. 
What's wrong?



Re: fancyheader problem

2005-05-07 Thread Rich Shepard
On Sat, 7 May 2005, Gunnar wrote:
I'm trying to get fancyheaders in a book, with this preamble
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO,RE]{\rightmark}
  Did you tell LaTeX to load the package, too?
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: fancyheader problem

2005-05-07 Thread Gunnar
>Did you tell LaTeX to load the package, too?
This is the fancy stuff in the exported latex file


\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{fancyhdr} 
\pagestyle{fancy}
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO]{\rightmark}
\fancyhead[RE]{\leftmark}
\cfoot{}


graphic and text before Title and author in article.cls (epigraph? fancyheader?)

2004-03-01 Thread jorgen johansson
Dear Lyx-users/gurus,

(I'm getting slightly desperate.) I have deadline for Wednesday night 
and cant get a conference paper to look like it should.

Attached a .zip file with:
2 screenshots
1 lyx-file
1 logo figure
1 bb file for logo.
The 13wcee2.lyx is my lyx file. The logo (13wceeLogo2.jpg) should be on 
1st page above the title as shown in the screenshot of the conference 
templatewceeWord.jpg.
The wceeLyxDvi.jpg is what I have achieved so far(The rulers are adjust 
the spaceing between the Title and epigraph).

I first tried to solve the problem with the 'fancyhdr' package, as I 
have done previously for another paper (I posted a question regarding 
that some time ago on this mailing list/news group). Thank you for the 
quick answer that time.

With the fancyhdr I could get the first page to look like a I wanted but 
the header on the following pages became to large and the top 1/3 of the 
pages was left blank so I gave it up.

I then tried with 'epigraph' package and it turned out pretty well 
except that the \author command seem to be changed and is not longer 
centered.
All formatting applied within lyx to the author command changes nothing.
I tried to solve that by using the \standard style (instead of \author) 
and apply the format according to the template. Ok. But, the space in 
between authors and the title as seen in the 'wceeLyxDvi.jpg' screen 
shot is to large. I have tried several things:  '\vspace{-2ex}'; with 
the paragraph formatting possibilities of Lyx; and with the 'titlesec' 
package but with no luck. (The titlesec package I'm using to format 
other section commands in the paper).

I would appreciate any help very much
Thank you for a nice program. The qt 1.3.3 lyx under windows is very 
easy to work with.

jorgen
attachment: wceeLogoTitlePage.zip


graphic and text before Title and author in article.cls (epigraph? fancyheader?)

2004-03-01 Thread jorgen johansson
Dear Lyx-users/gurus,

(I'm getting slightly desperate.) I have deadline for Wednesday night 
and cant get a conference paper to look like it should.

Attached a .zip file with:
2 screenshots
1 lyx-file
1 logo figure
1 bb file for logo.
The 13wcee2.lyx is my lyx file. The logo (13wceeLogo2.jpg) should be on 
1st page above the title as shown in the screenshot of the conference 
templatewceeWord.jpg.
The wceeLyxDvi.jpg is what I have achieved so far(The rulers are adjust 
the spaceing between the Title and epigraph).

I first tried to solve the problem with the 'fancyhdr' package, as I 
have done previously for another paper (I posted a question regarding 
that some time ago on this mailing list/news group). Thank you for the 
quick answer that time.

With the fancyhdr I could get the first page to look like a I wanted but 
the header on the following pages became to large and the top 1/3 of the 
pages was left blank so I gave it up.

I then tried with 'epigraph' package and it turned out pretty well 
except that the \author command seem to be changed and is not longer 
centered.
All formatting applied within lyx to the author command changes nothing.
I tried to solve that by using the \standard style (instead of \author) 
and apply the format according to the template. Ok. But, the space in 
between authors and the title as seen in the 'wceeLyxDvi.jpg' screen 
shot is to large. I have tried several things:  '\vspace{-2ex}'; with 
the paragraph formatting possibilities of Lyx; and with the 'titlesec' 
package but with no luck. (The titlesec package I'm using to format 
other section commands in the paper).

I would appreciate any help very much
Thank you for a nice program. The qt 1.3.3 lyx under windows is very 
easy to work with.

jorgen
attachment: wceeLogoTitlePage.zip


graphic and text before Title and author in article.cls (epigraph? fancyheader?)

2004-03-01 Thread jorgen johansson
Dear Lyx-users/gurus,

(I'm getting slightly desperate.) I have deadline for Wednesday night 
and cant get a conference paper to look like it should.

Attached a .zip file with:
2 screenshots
1 lyx-file
1 logo figure
1 bb file for logo.
The 13wcee2.lyx is my lyx file. The logo (13wceeLogo2.jpg) should be on 
1st page above the title as shown in the screenshot of the conference 
templatewceeWord.jpg.
The wceeLyxDvi.jpg is what I have achieved so far(The rulers are adjust 
the spaceing between the Title and epigraph).

I first tried to solve the problem with the 'fancyhdr' package, as I 
have done previously for another paper (I posted a question regarding 
that some time ago on this mailing list/news group). Thank you for the 
quick answer that time.

With the fancyhdr I could get the first page to look like a I wanted but 
the header on the following pages became to large and the top 1/3 of the 
pages was left blank so I gave it up.

I then tried with 'epigraph' package and it turned out pretty well 
except that the \author command seem to be changed and is not longer 
centered.
All formatting applied within lyx to the author command changes nothing.
I tried to solve that by using the \standard style (instead of \author) 
and apply the format according to the template. Ok. But, the space in 
between authors and the title as seen in the 'wceeLyxDvi.jpg' screen 
shot is to large. I have tried several things:  '\vspace{-2ex}'; with 
the paragraph formatting possibilities of Lyx; and with the 'titlesec' 
package but with no luck. (The titlesec package I'm using to format 
other section commands in the paper).

I would appreciate any help very much
Thank you for a nice program. The qt 1.3.3 lyx under windows is very 
easy to work with.

jorgen
<>


Re: fancyheader: no difference between even and odd pages

2003-06-24 Thread Dekel Tsur
On Sat, Jun 21, 2003 at 12:24:12AM +0200, Robert Neumann wrote:
 Hello,
 Im using the article.cls and I tried to use fancyheader with the following 
 commands in the preamble:
 
 \usepackage {fancyhdr}
 \pagestyle{fancy}
 
 And at the beginning of the document:
 
 \fancyhead{}
 \fancyhead[RO,LE]{\bfseries mytitle}
 \fancyfoot[RE,LO]{ \thepage}
 \cfoot{}
 
 But mytitle as well as the pagenumbering is allways on the right side of the 
 page, no matter if the page is even or odd.
 What did I forget??

Changing the paper type to two-sided.


Re: fancyheader: no difference between even and odd pages

2003-06-24 Thread Dekel Tsur
On Sat, Jun 21, 2003 at 12:24:12AM +0200, Robert Neumann wrote:
 Hello,
 Im using the article.cls and I tried to use fancyheader with the following 
 commands in the preamble:
 
 \usepackage {fancyhdr}
 \pagestyle{fancy}
 
 And at the beginning of the document:
 
 \fancyhead{}
 \fancyhead[RO,LE]{\bfseries mytitle}
 \fancyfoot[RE,LO]{ \thepage}
 \cfoot{}
 
 But mytitle as well as the pagenumbering is allways on the right side of the 
 page, no matter if the page is even or odd.
 What did I forget??

Changing the paper type to two-sided.


Re: fancyheader: no difference between even and odd pages

2003-06-24 Thread Dekel Tsur
On Sat, Jun 21, 2003 at 12:24:12AM +0200, Robert Neumann wrote:
> Hello,
> Im using the article.cls and I tried to use fancyheader with the following 
> commands in the preamble:
> 
> \usepackage {fancyhdr}
> \pagestyle{fancy}
> 
> And at the beginning of the document:
> 
> \fancyhead{}
> \fancyhead[RO,LE]{\bfseries mytitle}
> \fancyfoot[RE,LO]{ \thepage}
> \cfoot{}
> 
> But "mytitle" as well as the pagenumbering is allways on the right side of the 
> page, no matter if the page is even or odd.
> What did I forget??

Changing the paper type to two-sided.


fancyheader: no difference between even and odd pages

2003-06-20 Thread Robert Neumann
Hello,
Im using the article.cls and I tried to use fancyheader with the following 
commands in the preamble:

\usepackage {fancyhdr}
\pagestyle{fancy}

And at the beginning of the document:

\fancyhead{}
\fancyhead[RO,LE]{\bfseries mytitle}
\fancyfoot[RE,LO]{ \thepage}
\cfoot{}

But mytitle as well as the pagenumbering is allways on the right side of the 
page, no matter if the page is even or odd.
What did I forget??
Thanks
Robert


fancyheader: no difference between even and odd pages

2003-06-20 Thread Robert Neumann
Hello,
Im using the article.cls and I tried to use fancyheader with the following 
commands in the preamble:

\usepackage {fancyhdr}
\pagestyle{fancy}

And at the beginning of the document:

\fancyhead{}
\fancyhead[RO,LE]{\bfseries mytitle}
\fancyfoot[RE,LO]{ \thepage}
\cfoot{}

But mytitle as well as the pagenumbering is allways on the right side of the 
page, no matter if the page is even or odd.
What did I forget??
Thanks
Robert


fancyheader: no difference between even and odd pages

2003-06-20 Thread Robert Neumann
Hello,
Im using the article.cls and I tried to use fancyheader with the following 
commands in the preamble:

\usepackage {fancyhdr}
\pagestyle{fancy}

And at the beginning of the document:

\fancyhead{}
\fancyhead[RO,LE]{\bfseries mytitle}
\fancyfoot[RE,LO]{ \thepage}
\cfoot{}

But "mytitle" as well as the pagenumbering is allways on the right side of the 
page, no matter if the page is even or odd.
What did I forget??
Thanks
Robert


Re: Fancyheader

2003-02-13 Thread Michael Jaeger
On Wednesday, 12. February 2003 02:04, Michael Jaeger wrote:
| Hi,
|
| I've got a problem with a document using the book (komascript) class:
|
| Using the following pagystyle definition:
|
| \pagestyle{fancyplain}%
| \renewcommand{\chaptermark}[1] {\markboth{#1}{}}%
| \renewcommand{\sectionmark}[1] {\markright{\thesection\ #1}}%
| \lhead[\fancyplain{}{}]{\fancyplain{}{\rightmark}}%
| \rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}%
| \cfoot{\thepage} %
|
| everything works fine, but I've got a list of tables and after this, on the
| next page, I've got a list of abbreviations where I chose the chapter*
| environment to format the heading List of abbreviations.  Now, this list
| is two pages long and on the second page the headline still says List of
| Tables.  I tried so many combinations but I could not find out how to
| change the headline to List of Abbreviations.

FYI, I found a quite dirty solution for this problem:  On the 
abbreviation-page I used the following ERT

\lhead[\fancyplain{}{}]{List of abbreviations}

On the next page I redefined the \lhead to its original value.

Michael.



Re: Fancyheader

2003-02-13 Thread Michael Jaeger
On Wednesday, 12. February 2003 02:04, Michael Jaeger wrote:
| Hi,
|
| I've got a problem with a document using the book (komascript) class:
|
| Using the following pagystyle definition:
|
| \pagestyle{fancyplain}%
| \renewcommand{\chaptermark}[1] {\markboth{#1}{}}%
| \renewcommand{\sectionmark}[1] {\markright{\thesection\ #1}}%
| \lhead[\fancyplain{}{}]{\fancyplain{}{\rightmark}}%
| \rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}%
| \cfoot{\thepage} %
|
| everything works fine, but I've got a list of tables and after this, on the
| next page, I've got a list of abbreviations where I chose the chapter*
| environment to format the heading List of abbreviations.  Now, this list
| is two pages long and on the second page the headline still says List of
| Tables.  I tried so many combinations but I could not find out how to
| change the headline to List of Abbreviations.

FYI, I found a quite dirty solution for this problem:  On the 
abbreviation-page I used the following ERT

\lhead[\fancyplain{}{}]{List of abbreviations}

On the next page I redefined the \lhead to its original value.

Michael.



Re: Fancyheader

2003-02-13 Thread Michael Jaeger
On Wednesday, 12. February 2003 02:04, Michael Jaeger wrote:
| Hi,
|
| I've got a problem with a document using the book (komascript) class:
|
| Using the following pagystyle definition:
|
| \pagestyle{fancyplain}%
| \renewcommand{\chaptermark}[1] {\markboth{#1}{}}%
| \renewcommand{\sectionmark}[1] {\markright{\thesection\ #1}}%
| \lhead[\fancyplain{}{}]{\fancyplain{}{\rightmark}}%
| \rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}%
| \cfoot{\thepage} %
|
| everything works fine, but I've got a list of tables and after this, on the
| next page, I've got a list of abbreviations where I chose the chapter*
| environment to format the heading "List of abbreviations".  Now, this list
| is two pages long and on the second page the headline still says "List of
| Tables".  I tried so many combinations but I could not find out how to
| change the headline to "List of Abbreviations".

FYI, I found a quite dirty solution for this problem:  On the 
abbreviation-page I used the following ERT

\lhead[\fancyplain{}{}]{List of abbreviations}

On the next page I redefined the \lhead to its original value.

Michael.



Re: Fancyheader

2003-02-12 Thread Herbert Voss
Michael Jaeger schrieb:


everything works fine, but I've got a list of tables and after this, on the 
next page, I've got a list of abbreviations where I chose the chapter* 
environment to format the heading List of abbreviations.  Now, this list is 
two pages long and on the second page the headline still says List of 
Tables.  I tried so many combinations but I could not find out how to change 
the headline to List of Abbreviations.

have a look at the last solution

http://www.educat.hu-berlin.de/~voss/lyx/fancy/header.phtml#fancy_1

Herbert

--
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Fancyheader

2003-02-12 Thread Herbert Voss
Michael Jaeger schrieb:


everything works fine, but I've got a list of tables and after this, on the 
next page, I've got a list of abbreviations where I chose the chapter* 
environment to format the heading List of abbreviations.  Now, this list is 
two pages long and on the second page the headline still says List of 
Tables.  I tried so many combinations but I could not find out how to change 
the headline to List of Abbreviations.

have a look at the last solution

http://www.educat.hu-berlin.de/~voss/lyx/fancy/header.phtml#fancy_1

Herbert

--
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Fancyheader

2003-02-12 Thread Herbert Voss
Michael Jaeger schrieb:


everything works fine, but I've got a list of tables and after this, on the 
next page, I've got a list of abbreviations where I chose the chapter* 
environment to format the heading "List of abbreviations".  Now, this list is 
two pages long and on the second page the headline still says "List of 
Tables".  I tried so many combinations but I could not find out how to change 
the headline to "List of Abbreviations".

have a look at the last solution

http://www.educat.hu-berlin.de/~voss/lyx/fancy/header.phtml#fancy_1

Herbert

--
http://www.educat.hu-berlin.de/~voss/lyx/




Fancyheader

2003-02-11 Thread Michael Jaeger
Hi,

I've got a problem with a document using the book (komascript) class:  

Using the following pagystyle definition:

\pagestyle{fancyplain}%
\renewcommand{\chaptermark}[1] {\markboth{#1}{}}%
\renewcommand{\sectionmark}[1] {\markright{\thesection\ #1}}%
\lhead[\fancyplain{}{}]{\fancyplain{}{\rightmark}}%
\rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}%
\cfoot{\thepage} %

everything works fine, but I've got a list of tables and after this, on the 
next page, I've got a list of abbreviations where I chose the chapter* 
environment to format the heading List of abbreviations.  Now, this list is 
two pages long and on the second page the headline still says List of 
Tables.  I tried so many combinations but I could not find out how to change 
the headline to List of Abbreviations.

Every help ist welcome,
Michael.



Fancyheader

2003-02-11 Thread Michael Jaeger
Hi,

I've got a problem with a document using the book (komascript) class:  

Using the following pagystyle definition:

\pagestyle{fancyplain}%
\renewcommand{\chaptermark}[1] {\markboth{#1}{}}%
\renewcommand{\sectionmark}[1] {\markright{\thesection\ #1}}%
\lhead[\fancyplain{}{}]{\fancyplain{}{\rightmark}}%
\rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}%
\cfoot{\thepage} %

everything works fine, but I've got a list of tables and after this, on the 
next page, I've got a list of abbreviations where I chose the chapter* 
environment to format the heading List of abbreviations.  Now, this list is 
two pages long and on the second page the headline still says List of 
Tables.  I tried so many combinations but I could not find out how to change 
the headline to List of Abbreviations.

Every help ist welcome,
Michael.



Fancyheader

2003-02-11 Thread Michael Jaeger
Hi,

I've got a problem with a document using the book (komascript) class:  

Using the following pagystyle definition:

\pagestyle{fancyplain}%
\renewcommand{\chaptermark}[1] {\markboth{#1}{}}%
\renewcommand{\sectionmark}[1] {\markright{\thesection\ #1}}%
\lhead[\fancyplain{}{}]{\fancyplain{}{\rightmark}}%
\rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}%
\cfoot{\thepage} %

everything works fine, but I've got a list of tables and after this, on the 
next page, I've got a list of abbreviations where I chose the chapter* 
environment to format the heading "List of abbreviations".  Now, this list is 
two pages long and on the second page the headline still says "List of 
Tables".  I tried so many combinations but I could not find out how to change 
the headline to "List of Abbreviations".

Every help ist welcome,
Michael.



chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
Hi,

a question which I should be able to find myself... but I seem to be missing something.

In my fancyheader I want the chaptername, but when I use \chaptername or \thechapter,
I don't get the name of the chapter in my headings.

Which \chapter.. do I need for it?

Thanks in advance,
Jeroen.



Re: chapter headings in fancyheader

2002-12-02 Thread Dekel Tsur
On Mon, Dec 02, 2002 at 09:43:13PM +0100, Jeroen Vriesman wrote:
 a question which I should be able to find myself... but I seem to be missing 
something.
 
 In my fancyheader I want the chaptername, but when I use \chaptername or \thechapter,
 I don't get the name of the chapter in my headings.
 
 Which \chapter.. do I need for it?

\leftmark



Re: chapter headings in fancyheader

2002-12-02 Thread Nirmal Govind
 
 In my fancyheader I want the chaptername, but when I use \chaptername
 or \thechapter, I don't get the name of the chapter in my headings.
 

If you just want the chapter name in the heading, then won't the
headings pagestyle be sufficient? That's what I use and it works fine
in the book class..

nirmal





Re: chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
chaptername.

that's the problem. (I'm using amsbook style, does that have something to do with it?)

cheers,
Jeroen.


On Mon, 2 Dec 2002 23:08:10 +0200
Dekel Tsur [EMAIL PROTECTED] wrote:

 On Mon, Dec 02, 2002 at 09:43:13PM +0100, Jeroen Vriesman wrote:
  a question which I should be able to find myself... but I seem to be missing 
something.
  
  In my fancyheader I want the chaptername, but when I use \chaptername or 
\thechapter,
  I don't get the name of the chapter in my headings.
  
  Which \chapter.. do I need for it?
 
 \leftmark
 



Re: chapter headings in fancyheader

2002-12-02 Thread Dekel Tsur
On Mon, Dec 02, 2002 at 10:57:32PM +0100, Jeroen Vriesman wrote:
 I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
 chaptername.
 
 that's the problem. (I'm using amsbook style, does that have something
 to do with it?)

Put the following line in the preamble:
  \def\chaptermark#1{\markboth{#1}{}}



Re: chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
Great, thanks it's working.

But it's hard for people who are blond.

I also tried to make the font of that chaptername small, I can put \small in the \def 
or in the fancyhead[C], but... it's not working.

Latex is great, but hard to learn.
But by the time I'm a latex guru, I will implement all this stuff in lyx.

Another thing, maybe someone alse also has it, might be a bug.
I have lyx-1.2.1 running on Mandrake 9.0, and I've inserted a tiff image, works great, 
but when I use the 'Additional Latex options' from the lyx graphics inset, it doesn't 
seem to remember what I type there.
I inserted /caption{Diamant}, but the next time I look at it, it's gone.

Is anyone else having the same thing?

Cheers,
Jeroen.


On Tue, 3 Dec 2002 00:29:45 +0200
Dekel Tsur [EMAIL PROTECTED] wrote:

 On Mon, Dec 02, 2002 at 10:57:32PM +0100, Jeroen Vriesman wrote:
  I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
  chaptername.
  
  that's the problem. (I'm using amsbook style, does that have something
  to do with it?)
 
 Put the following line in the preamble:
   \def\chaptermark#1{\markboth{#1}{}}
 



Re: chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
Sorry, the small font is working when I put it in my fancyheader.

Just too blind to see it, and quick to ask


On Tue, 3 Dec 2002 00:01:20 +0100
Jeroen Vriesman [EMAIL PROTECTED] wrote:

 Great, thanks it's working.
 
 But it's hard for people who are blond.
 
 I also tried to make the font of that chaptername small, I can put \small in the 
\def or in the fancyhead[C], but... it's not working.
 
 Latex is great, but hard to learn.
 But by the time I'm a latex guru, I will implement all this stuff in lyx.
 
 Another thing, maybe someone alse also has it, might be a bug.
 I have lyx-1.2.1 running on Mandrake 9.0, and I've inserted a tiff image, works 
great, but when I use the 'Additional Latex options' from the lyx graphics inset, it 
doesn't seem to remember what I type there.
 I inserted /caption{Diamant}, but the next time I look at it, it's gone.
 
 Is anyone else having the same thing?
 
 Cheers,
 Jeroen.
 
 
 On Tue, 3 Dec 2002 00:29:45 +0200
 Dekel Tsur [EMAIL PROTECTED] wrote:
 
  On Mon, Dec 02, 2002 at 10:57:32PM +0100, Jeroen Vriesman wrote:
   I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
   chaptername.
   
   that's the problem. (I'm using amsbook style, does that have something
   to do with it?)
  
  Put the following line in the preamble:
\def\chaptermark#1{\markboth{#1}{}}
  
 



chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
Hi,

a question which I should be able to find myself... but I seem to be missing something.

In my fancyheader I want the chaptername, but when I use \chaptername or \thechapter,
I don't get the name of the chapter in my headings.

Which \chapter.. do I need for it?

Thanks in advance,
Jeroen.



Re: chapter headings in fancyheader

2002-12-02 Thread Dekel Tsur
On Mon, Dec 02, 2002 at 09:43:13PM +0100, Jeroen Vriesman wrote:
 a question which I should be able to find myself... but I seem to be missing 
something.
 
 In my fancyheader I want the chaptername, but when I use \chaptername or \thechapter,
 I don't get the name of the chapter in my headings.
 
 Which \chapter.. do I need for it?

\leftmark



Re: chapter headings in fancyheader

2002-12-02 Thread Nirmal Govind
 
 In my fancyheader I want the chaptername, but when I use \chaptername
 or \thechapter, I don't get the name of the chapter in my headings.
 

If you just want the chapter name in the heading, then won't the
headings pagestyle be sufficient? That's what I use and it works fine
in the book class..

nirmal





Re: chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
chaptername.

that's the problem. (I'm using amsbook style, does that have something to do with it?)

cheers,
Jeroen.


On Mon, 2 Dec 2002 23:08:10 +0200
Dekel Tsur [EMAIL PROTECTED] wrote:

 On Mon, Dec 02, 2002 at 09:43:13PM +0100, Jeroen Vriesman wrote:
  a question which I should be able to find myself... but I seem to be missing 
something.
  
  In my fancyheader I want the chaptername, but when I use \chaptername or 
\thechapter,
  I don't get the name of the chapter in my headings.
  
  Which \chapter.. do I need for it?
 
 \leftmark
 



Re: chapter headings in fancyheader

2002-12-02 Thread Dekel Tsur
On Mon, Dec 02, 2002 at 10:57:32PM +0100, Jeroen Vriesman wrote:
 I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
 chaptername.
 
 that's the problem. (I'm using amsbook style, does that have something
 to do with it?)

Put the following line in the preamble:
  \def\chaptermark#1{\markboth{#1}{}}



Re: chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
Great, thanks it's working.

But it's hard for people who are blond.

I also tried to make the font of that chaptername small, I can put \small in the \def 
or in the fancyhead[C], but... it's not working.

Latex is great, but hard to learn.
But by the time I'm a latex guru, I will implement all this stuff in lyx.

Another thing, maybe someone alse also has it, might be a bug.
I have lyx-1.2.1 running on Mandrake 9.0, and I've inserted a tiff image, works great, 
but when I use the 'Additional Latex options' from the lyx graphics inset, it doesn't 
seem to remember what I type there.
I inserted /caption{Diamant}, but the next time I look at it, it's gone.

Is anyone else having the same thing?

Cheers,
Jeroen.


On Tue, 3 Dec 2002 00:29:45 +0200
Dekel Tsur [EMAIL PROTECTED] wrote:

 On Mon, Dec 02, 2002 at 10:57:32PM +0100, Jeroen Vriesman wrote:
  I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
  chaptername.
  
  that's the problem. (I'm using amsbook style, does that have something
  to do with it?)
 
 Put the following line in the preamble:
   \def\chaptermark#1{\markboth{#1}{}}
 



Re: chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
Sorry, the small font is working when I put it in my fancyheader.

Just too blind to see it, and quick to ask


On Tue, 3 Dec 2002 00:01:20 +0100
Jeroen Vriesman [EMAIL PROTECTED] wrote:

 Great, thanks it's working.
 
 But it's hard for people who are blond.
 
 I also tried to make the font of that chaptername small, I can put \small in the 
\def or in the fancyhead[C], but... it's not working.
 
 Latex is great, but hard to learn.
 But by the time I'm a latex guru, I will implement all this stuff in lyx.
 
 Another thing, maybe someone alse also has it, might be a bug.
 I have lyx-1.2.1 running on Mandrake 9.0, and I've inserted a tiff image, works 
great, but when I use the 'Additional Latex options' from the lyx graphics inset, it 
doesn't seem to remember what I type there.
 I inserted /caption{Diamant}, but the next time I look at it, it's gone.
 
 Is anyone else having the same thing?
 
 Cheers,
 Jeroen.
 
 
 On Tue, 3 Dec 2002 00:29:45 +0200
 Dekel Tsur [EMAIL PROTECTED] wrote:
 
  On Mon, Dec 02, 2002 at 10:57:32PM +0100, Jeroen Vriesman wrote:
   I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
   chaptername.
   
   that's the problem. (I'm using amsbook style, does that have something
   to do with it?)
  
  Put the following line in the preamble:
\def\chaptermark#1{\markboth{#1}{}}
  
 



chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
Hi,

a question which I should be able to find myself... but I seem to be missing something.

In my fancyheader I want the chaptername, but when I use \chaptername or \thechapter,
I don't get the name of the chapter in my headings.

Which \chapter.. do I need for it?

Thanks in advance,
Jeroen.



Re: chapter headings in fancyheader

2002-12-02 Thread Dekel Tsur
On Mon, Dec 02, 2002 at 09:43:13PM +0100, Jeroen Vriesman wrote:
> a question which I should be able to find myself... but I seem to be missing 
>something.
> 
> In my fancyheader I want the chaptername, but when I use \chaptername or \thechapter,
> I don't get the name of the chapter in my headings.
> 
> Which \chapter.. do I need for it?

\leftmark



Re: chapter headings in fancyheader

2002-12-02 Thread Nirmal Govind
> 
> In my fancyheader I want the chaptername, but when I use \chaptername
> or \thechapter, I don't get the name of the chapter in my headings.
> 

If you just want the chapter name in the heading, then won't the
"headings" pagestyle be sufficient? That's what I use and it works fine
in the book class..

nirmal





Re: chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
chaptername.

that's the problem. (I'm using amsbook style, does that have something to do with it?)

cheers,
Jeroen.


On Mon, 2 Dec 2002 23:08:10 +0200
Dekel Tsur <[EMAIL PROTECTED]> wrote:

> On Mon, Dec 02, 2002 at 09:43:13PM +0100, Jeroen Vriesman wrote:
> > a question which I should be able to find myself... but I seem to be missing 
>something.
> > 
> > In my fancyheader I want the chaptername, but when I use \chaptername or 
>\thechapter,
> > I don't get the name of the chapter in my headings.
> > 
> > Which \chapter.. do I need for it?
> 
> \leftmark
> 



Re: chapter headings in fancyheader

2002-12-02 Thread Dekel Tsur
On Mon, Dec 02, 2002 at 10:57:32PM +0100, Jeroen Vriesman wrote:
> I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
> chaptername.
> 
> that's the problem. (I'm using amsbook style, does that have something
> to do with it?)

Put the following line in the preamble:
  \def\chaptermark#1{\markboth{#1}{}}



Re: chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
Great, thanks it's working.

But it's hard for people who are blond.

I also tried to make the font of that chaptername small, I can put \small in the \def 
or in the fancyhead[C], but... it's not working.

Latex is great, but hard to learn.
But by the time I'm a latex guru, I will implement all this stuff in lyx.

Another thing, maybe someone alse also has it, might be a bug.
I have lyx-1.2.1 running on Mandrake 9.0, and I've inserted a tiff image, works great, 
but when I use the 'Additional Latex options' from the lyx graphics inset, it doesn't 
seem to remember what I type there.
I inserted /caption{Diamant}, but the next time I look at it, it's gone.

Is anyone else having the same thing?

Cheers,
Jeroen.


On Tue, 3 Dec 2002 00:29:45 +0200
Dekel Tsur <[EMAIL PROTECTED]> wrote:

> On Mon, Dec 02, 2002 at 10:57:32PM +0100, Jeroen Vriesman wrote:
> > I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
> > chaptername.
> > 
> > that's the problem. (I'm using amsbook style, does that have something
> > to do with it?)
> 
> Put the following line in the preamble:
>   \def\chaptermark#1{\markboth{#1}{}}
> 



Re: chapter headings in fancyheader

2002-12-02 Thread Jeroen Vriesman
Sorry, the small font is working when I put it in my fancyheader.

Just too blind to see it, and quick to ask


On Tue, 3 Dec 2002 00:01:20 +0100
Jeroen Vriesman <[EMAIL PROTECTED]> wrote:

> Great, thanks it's working.
> 
> But it's hard for people who are blond.
> 
> I also tried to make the font of that chaptername small, I can put \small in the 
>\def or in the fancyhead[C], but... it's not working.
> 
> Latex is great, but hard to learn.
> But by the time I'm a latex guru, I will implement all this stuff in lyx.
> 
> Another thing, maybe someone alse also has it, might be a bug.
> I have lyx-1.2.1 running on Mandrake 9.0, and I've inserted a tiff image, works 
>great, but when I use the 'Additional Latex options' from the lyx graphics inset, it 
>doesn't seem to remember what I type there.
> I inserted /caption{Diamant}, but the next time I look at it, it's gone.
> 
> Is anyone else having the same thing?
> 
> Cheers,
> Jeroen.
> 
> 
> On Tue, 3 Dec 2002 00:29:45 +0200
> Dekel Tsur <[EMAIL PROTECTED]> wrote:
> 
> > On Mon, Dec 02, 2002 at 10:57:32PM +0100, Jeroen Vriesman wrote:
> > > I tried that, but it gives me 'CHAPTER. chaptername', in stead of just the
> > > chaptername.
> > > 
> > > that's the problem. (I'm using amsbook style, does that have something
> > > to do with it?)
> > 
> > Put the following line in the preamble:
> >   \def\chaptermark#1{\markboth{#1}{}}
> > 
> 



fancyheader

2001-03-13 Thread Chris Schulbert

Hi!


I use section* for some of my headings. The document shows no numbers, but
in the fancyheader are leading numbers displayed. I use \sectionmark for
shorter text in the fancyheader. How can I remove the numbers in the
fancyheader?

Regards
Chris




Re: fancyheader

2001-03-13 Thread Herbert Voss



On Tue, 13 Mar 2001, Chris Schulbert wrote:

 I use section* for some of my headings. The document shows no numbers, but
 in the fancyheader are leading numbers displayed. I use \sectionmark for
 shorter text in the fancyheader. How can I remove the numbers in the
 fancyheader?

have a look at the fancyhdr-doc, there are all different outputs of
headers/footers described.

Herbert




fancyheader

2001-03-13 Thread Chris Schulbert

Hi!


I use section* for some of my headings. The document shows no numbers, but
in the fancyheader are leading numbers displayed. I use \sectionmark for
shorter text in the fancyheader. How can I remove the numbers in the
fancyheader?

Regards
Chris




Re: fancyheader

2001-03-13 Thread Herbert Voss



On Tue, 13 Mar 2001, Chris Schulbert wrote:

 I use section* for some of my headings. The document shows no numbers, but
 in the fancyheader are leading numbers displayed. I use \sectionmark for
 shorter text in the fancyheader. How can I remove the numbers in the
 fancyheader?

have a look at the fancyhdr-doc, there are all different outputs of
headers/footers described.

Herbert




fancyheader

2001-03-13 Thread Chris Schulbert

Hi!


I use section* for some of my headings. The document shows no numbers, but
in the fancyheader are leading numbers displayed. I use \sectionmark for
shorter text in the fancyheader. How can I remove the numbers in the
fancyheader?

Regards
Chris




Re: fancyheader

2001-03-13 Thread Herbert Voss



On Tue, 13 Mar 2001, Chris Schulbert wrote:

> I use section* for some of my headings. The document shows no numbers, but
> in the fancyheader are leading numbers displayed. I use \sectionmark for
> shorter text in the fancyheader. How can I remove the numbers in the
> fancyheader?

have a look at the fancyhdr-doc, there are all different outputs of
headers/footers described.

Herbert