Index pagestyle

Herbert Voss Herbert.Voss at fu-berlin.de
Sun Feb 20 17:52:34 UTC 2022



Am 20.02.22 um 18:45 schrieb _johnny7_ger--- via lyx-users:
> I have almost finished my book and have now begun to add an index. It
> works fine, so far, but the page layout of the index is not perfect. I
> use fancyhdr and have added (thanks to the LyX Wiki)
> \renewcommand{\ps at plain}{\pagestyle{fancy}}
> in the preamble. Now the first page of the index looks like it should,
> giving only the page number. 

That is the default for a chapter start, like \printindex: pagestyle
is here _always_ plain! The next page gets the current pagestyle fancy,
if you have it already set.

> On the second page, however, the header
> shows the index title in uppercase-letters as opposed to my definition
> of the pagestyle fancy (small capitals). I tried to write
> \markboth{}{}

Witg fancyhdr you can set individually header/footer at any
position in your text. No need for using \markboth

Herbert



> before printing the index to suppress the header but that only has an
> effect on the first page of the index, not the following.
>
> How can I control the page layout of the index? If possible I want to
> avoid using a style file for makeindex.



More information about the lyx-users mailing list