Csikos Bela <bcsikos425 <at> freemail.hu> writes:

> 
> Hello lyx users:
> 
> My question is not specific to lyx but as I use lyx as a latex "frontend" I
> guess it is appropriate to ask it here.
> 
> I would like to make a specific page numbering style in the footer, 
> something like:
> 
> ---------------- page-number -------------------
> 
> A horizontal line in the footer which is interrupted by the page number
> in the center. Is this possible in lyx/latex? How?
> 

If you have the mboxfill package installed, you can change the page style to
"fancy" (Document > Settings... > Page Layout > Headings style) and add the
following to the preamble of your document:

\usepackage{mboxfill}
\cfoot{\mboxfill[2\width][c]{-}\thepage\mboxfill[2\width][c]{-}}

Paul




Reply via email to