On 27/10/06 17:48, Jean-Marc Lasgouttes wrote:
> Could you send a small example file demonstrating this?
>   

Of course, here it is.
Just add \usepackage{babel} at top of preamble to make it works.

#LyX 1.4.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass report
\begin_preamble
\fancyhf{}
\fancyhfoffset{1.5cm}
\addtolength{\headheight}{\baselineskip}
\renewcommand{\chaptermark}[1]{\markboth{\bsc{\chaptername~\thechapter{} :} #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} 
\lhead[\thepage]{\rightmark}
\rhead[\leftmark]{\thepage}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language french
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Title
A LyX Document
\end_layout

\begin_layout Date
30/10/2006
\end_layout

\begin_layout Author
Laurent Grawet
\end_layout

\begin_layout Chapter
Chapter 1
\end_layout

\begin_layout Section*
Section 1
\end_layout

\end_body
\end_document

Reply via email to