Re: Index pagestyle
If I give the exact definition of the fancy-pagestyle \fancyhead[LE]{\small\scshape\leftmark} \fancyhead[RO]{\small\scshape\rightmark} The index does not grasp the scshape and gives uppercase-letters. Can anyone reproduce? I can live with empty headers here, though. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Index pagestyle
As you indicated, I have tried to give a new header with \fancyhead[LE]{} \fancyhead[RO]{} just before the index and now it works! Thank you for this hint. In all other places, markboth served me well. I also noticed that the title or caption of the index looks slightly different than, say, the list of tables. But I can live with that. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Index pagestyle
Many thanks for your reply, Herbert. Before I wrote \renewcommand{\ps@plain}{\pagestyle{fancy}} in the preamble, the first page of the index gave the page number on the bottom middle, as opposed to all other chapter starts on the bottom right. The index seems to grab some other page styles different to those in my document. The second page does not get the pagestyle fancy as I defined it in the preamble. The section title in uppercase-letters (as opposed to \scshape) doesn't appear elsewhere in my document. I am confused. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
English environment is changed to textenglish
Please consider the two lyx files attached. It is a MWE of a book that includes mainly Hebrew but also some English. The wrong thing here is that the last line is converted in LyX (via the Code Preview Pane) as \begin{english} Some text in English. This should be left aligned. \end{english} but when exporting `main.lyx` to tex (via XeTeX), this English sentence is formatted as \textenglish[variant=american]{Some text in English. This should be left aligned.} which causes the line to be right aligned. Why is it? How to keep the English line of text to be inside an English environment?<> -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Index pagestyle
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@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. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Index pagestyle
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@plain}{\pagestyle{fancy}} in the preamble. Now the first page of the index looks like it should, giving only the page number. 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{}{} 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. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users