Re: Short titles in fancyheader: delayed reaction
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
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
> 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
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
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
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
Query
I have one problem in List of figure. The whole material written in the caption appears there. If the sentence is too long it becomes very odd. I want to know is there some way that small sentence appears in the LOF instead of whole line. This is possible in Latex by putting the text we want to appear in []. I want same thing .How should I do in Lyx. reply me soon. It is urgent rajiv
Query
I have one problem in List of figure. The whole material written in the caption appears there. If the sentence is too long it becomes very odd. I want to know is there some way that small sentence appears in the LOF instead of whole line. This is possible in Latex by putting the text we want to appear in []. I want same thing .How should I do in Lyx. reply me soon. It is urgent rajiv
Query
I have one problem in List of figure. The whole material written in the caption appears there. If the sentence is too long it becomes very odd. I want to know is there some way that small sentence appears in the LOF instead of whole line. This is possible in Latex by putting the text we want to appear in []. I want same thing .How should I do in Lyx. reply me soon. It is urgent rajiv