Meaning of PageStyle as a class parameter

ehud.behar at protonmail.com ehud.behar at protonmail.com
Mon Jun 13 23:18:53 UTC 2022


By the way, I just checked two other layout files that consist of only one argument for PageStyle:

aa.layout (Astronomy & Astrophysics) and amsart.layout (American Mathematical Society (AMS) Article).

The first should allow the user to use only page style "plain" and the latter only "Headers".

But opening a new file from the File->New.. menu and changing the new file's document class into either of these, keeps the full general list of the default article class just as it was before and doesn't make any effect to the page-layout drop down list.

------- 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