rgheck <[EMAIL PROTECTED]> writes:
> >   
> Actually, sorry, you can't quite do it that way. The \chaptermark 
> command does not hold the name of the chapter. Rather, it is called when 
> a chapter is defined, and it then calls \markright or \markleft or 
> \markboth to set the contents of the \rightmark or \leftmark macros, 
> which are what LaTeX uses to set the headings. It's best to keep on 
> using those, as that's what LaTeX expects.
> 
> So what you really want to do is just something like this:
>    \rhead{\bfseries \rightmark}
> and then you can redefine \chaptermark as follows:
>    \renewcommand\chaptermark[1]{%
>       \markboth{\chaptername \ \thechapter \ #1}}
> If you always want the chapter info, and not the section info, then 
> you'll also want to do:
>    \renewcommand\sectionmark[1]{}
> Otherwise, \sectionmark may mess things up. And if you do want the 
> section info, then you'll want to redefine \sectionmark more sensibly.
> 
> Look at the example in section 13 of the fancyhdr docs.
> 
> Richard
> 
> 

Thank you Richard, now it works :)

I know I am really clumsy, but with the document and your help I 
can understand the most :)
I don't know exactly why do I have to put a dot after somethings... 
but.. I can use the document to do what I want :)






Reply via email to