Meaning of PageStyle as a class parameter
ehud.behar at protonmail.com
ehud.behar at protonmail.com
Tue Jun 14 10:41:02 UTC 2022
Thanks very much! That solves the confusion.
Is it possible to eliminate and remove the "Default" page style from the drop-down list and make "fancy" as the only available page style?
------- Original Message -------
On Tuesday, June 14th, 2022 at 1:22 AM, Paul A. Rubin <parubin73 at gmail.com> wrote:
> On 6/13/22 19:18, tush via lyx-users wrote:
>
>> 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>](mailto: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
>
> Take a look at the memoir.layout file and also the Customization help file. Line 16 of the layout file reads "PageStyle Headings". As explained in section 5.3.5 of the customization manual, this is the default page style for the class. Now look at line 30 of the layout file: "PageStyle empty|plain|headings|myheadings|ruled|Ruled|companion". Note that it is in a section named "ClassOptions" (begins on line 28), which is explained in the customization manual in section 5.3.6.
>
> What you are seeing in amsart.layout, for instance, is the default page setting. There is no list of page styles in the class options section, so it presumably reverts to the LyX default.
>
> Paul
>
> PS: Please bottom-post for legibility.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220614/31e5ebed/attachment-0001.html>
More information about the lyx-users
mailing list