Do you mean just the String "Name"? Then there appears in the left and
right head the String "Name". But I want to appear e.g. the name of the
chapter in the left. Now it works for me:

\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\lhead{\sc \leftmark}
\chead{}
\rhead{}
\lfoot{\sc T. Ceglarek, Juli 2006}
\cfoot{}
\rfoot{\sc \thepage}

(In the left foot my name and a date appears and in the right the page
number.)

If you want to have a head on not numbered chapters, you have to put an
ERT: "\markboth{nameofchapter}{}" below the title of this chapter (where
"nameofchapter" must be the name of the chapter).

Regards,

TC


> Hi
> Can you prove with lhead{Name} and rhead{Name}. That work fine in
> lyx-1.3.7
> Regards
>
>
> [EMAIL PROTECTED] escribió:
>> hello,
>>
>> i wanna define my pagestyle with fancy. so i have made following entry
>> in
>> the preamble:
>>
>> \lhead{}
>> \chead{}
>> \rhead{}
>> \lfoot{My Name, Juli 2006}
>> \cfoot{}
>> \rfoot{\thepage}
>> \renewcommand{\headrulewidth}{0.1pt}
>> \renewcommand{\footrulewidth}{0.1pt}
>>
>> it works. but i don't know how to insert the name of the section in left
>> head. or the name of the chapter in the left head and the name of the
>> section in the right. something like this ...
>>
>> i have tried "lhead{\thesection}" but then there is just the number of
>> the
>> section visible.
>>
>> can anybody help?
>>
>> regards,
>>
>> tc
>>
>>
>>
>
>

Reply via email to