On Friday 05 November 2010 07:31:52 Manveru wrote:
> 2010/11/5 Steve Litt <[email protected]>:
> > On Thursday 04 November 2010 18:26:22 Manveru wrote:
> >> Hello,
> >>
> >> I know this is rather LaTeX related problem, but maybe someone from
> >> this list is able to help me.
> >>
> >> I have following code in my preamble:
> >> \newcommand{\kopia}{\tiny Kopia dla Gal Anonim}
> >> \usepackage{fancyhdr}
> >>
> >> \fancypagestyle{empty}{%
> >>   \fancyfoot[L]{\kopia}
> >>   %\fancyfoot[LE]{\kopia}
> >> }
> >> \fancypagestyle{plain}{%
> >>   \fancyhf{}
> >>   \renewcommand{\headrulewidth}{0pt}
> >>   \fancyfoot[L]{\kopia}
> >>   \fancyfoot[C]{- \thepage  -}
> >>   %\fancyfoot[LE]{\kopia}
> >> }
> >> \fancypagestyle{headings}{%
> >>   \fancyfoot[L]{\kopia}
> >>   %\fancyfoot[LE]{\kopia}
> >> }
> >> \lfoot{\kopia}
> >>
> >> However, this works only for first page! I am using article class. All
> >> other pages are reset to default layout with page number in the bottom
> >> middle. What may be wrong with my doc or what is wrong with fancyhdr
> >> or article class? I did not find anything suspicious in tex code of
> >> the generated document.
> >>
> >> Thanks in advance for any hint.
> >
> > Pure guess: You need the following in your document preamble:
> >
> > \usepackage{fancyhdr}
> > \pagestyle{fancy}
> >
> > Sounds to me like you're not using \pagestyle{fancy}, but that's just a
> > guess.
> 
> That allows to show bottom left text on every page, but adds elements
> I do not want. I tought I can redefine original plain style, but it
> seem it is only used on first page in fact. Strange. I can redefine
> plain, empty and headings styles only for first page. The fancy style
> works on all pages.

My suspicion is that if you see unwanted artifacts, you forgot to zap 
everything before specifying header and footer stuff. I don't remember the 
details, but they're easy to find on the web including the Troubleshooters.Com 
LyX stuff.

Once again, I'd recommend you do experimentation on a trivial (and quick to 
compile) experimental LyX file.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt

Reply via email to