Meaning of PageStyle as a class parameter
ehud.behar at protonmail.com
ehud.behar at protonmail.com
Mon Jun 13 22:49:10 UTC 2022
Thanks very much for the quick reply.
I just tried what you described and it and you are right. I see the full list.
But when I do it in my own layout file, it doesn't work. Maybe I am conflicting this setting with another one?
My Layout file reads:
# \DeclareLaTeXClass[book]{My Book}
# \DeclareCategory{Books}
# Author: humble author
# Layout file based on the book document class for my books.
Format 66
# This a copy of the content of the standard book.layout file shipped with LyX
Input stdclass.inc
Input numreport.inc
ClassOptions
FontSize 10
Other "a4paper,asdfleqno,fleqn,gretush"
End
PageStyle empty|plain|headings|myheadings|ruled|Ruled|companion
------- Original Message -------
On Monday, June 13th, 2022 at 11:43 PM, Paul A. Rubin <parubin73 at gmail.com> wrote:
> On 6/13/22 18:03, tush via lyx-users wrote:
>
> > I am building my layout file and I want to better understand the effect of
> >
> > PageStyle empty|myheadings|...
> >
> > Inserting this line into my layout file does not make any apparent effect.
> >
> > Moreover, I looked at the content of `memoir.layout` and I see that there are multiple page styles for this doc class:
> >
> > `PageStyle empty|plain|headings|myheadings|ruled|Ruled|companion`
> >
> > After loading this layout file, when I go to Document Settings->Page Layout, I see in the drop-down the only the four regular ones: Default,empty,plain,headings and fancy.
> >
> > I expected the drop down list to be updated according to the arguments pass to `PageStyle`.
> >
> > Then what is the meaning of this class parameter?
>
> After setting the document class to memoir and before switching to the
> page style setting, did you click OK or Apply to apply the layout
> change? When I start a new document (article layout) and switch the
> layout to memoir, I get the full list of page style choices.
>
> Paul
>
> --
> lyx-users mailing list
> lyx-users at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
More information about the lyx-users
mailing list