LyXFancy page headers

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
lrp
Posts: 9
Joined: Sun Aug 16, 2009 9:24 pm

Fancy page headers

Post by lrp »

Hello,

I'm running Lyx 1.5.5 on Debian Lenny.

Using book(memoir) I'd like to show author's name centered on even pages, book name centered on odd pages.

As soon as I enter \usepackage{fancyhdr} in the document preamble, however, I get the following error when I try to view as *.pdf:

Latex Error: Command \footruleskip already defined

I'm following the instructions in fancyhdr.pdf. Any suggestions on how to fix or otherwise implement the page header design proposed above?

Many thanks,

LRP

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

fatra2
Posts: 126
Joined: Fri May 01, 2009 1:43 pm

Re: Fancy page headers

Post by fatra2 »

Hi there,

Did you set the footruleskip??? Otherwise, you might want to set it. See what happens if you change the value of this rule.

By the way, I am a bit surprised that the footruleskip gives an error message and not a warning message. Did you install the fancyhdr package manually???

Cheers
lrp
Posts: 9
Joined: Sun Aug 16, 2009 9:24 pm

Re: Fancy page headers

Post by lrp »

Thanks for response fatra2,

No, didn't set footruleskip. But will give it a try.

fancyhdr was included with my distribution:

/usr/share/texmf-texlive/tex/latex/fancyhdr
/usr/share/doc/texlive-latex-base-doc/latex/fancyhdr
/usr/share/doc/texlive-doc/latex/fancyhdr

Thanks again,

LRP
lrp
Posts: 9
Joined: Sun Aug 16, 2009 9:24 pm

Re: Fancy page headers

Post by lrp »

Ah, just found this:

http://newsgroups.derkeiler.com/Archive ... 00175.html

"memoir has its internal implementation both of fancyhdr and setspace.
So it is incompatible with them, but their functionality is already
present; look at the documentation."

When I switch document class to book (Koma Script) it words. Now I'll check out Memoir docs to see what's going on there.

Many thanks,

LRP
Post Reply