Individual counters for Problems, Examples, etc.?

Bernt Lie Bernt.Lie at usn.no
Mon Oct 3 13:06:55 UTC 2022


Thanks, Daniel

The "clue" was to know that it is under Modules... I tried to search the User's Guide, etc., but didn't find the needed help there.

-B

-----Original Message-----
From: lyx-users <lyx-users-bounces at lists.lyx.org> On Behalf Of Daniel CLEMENT via lyx-users
Sent: Monday, October 3, 2022 3:05 PM
To: lyx-users at lists.lyx.org
Subject: Re: Individual counters for Problems, Examples, etc.?

Le lundi 03 octobre 2022 à 11:49 +0000, Bernt Lie via lyx-users a écrit :
> In LyX 2.3.6.1 under Windows 11, I have a document of Document Class 
> "Article (Standard Class with Extra Fontsizes)".
>  
> Currently, all "theorem-like" elements use the same counter, e.g., 
> Examples, Problems, etc., use the same counter.

AFAIK this is indeed the default behavior.
>  
> I want to use separate counters for the various elements.
>  
> How do I do that in LyX? [In LaTeX, I put a "newtheorem" command in 
> the Preamble I think.  But in LyX, these elements already exist. so I 
> assume that I mess things up if I create a new "Problem", etc.
>  
> Thanks for help.
>  
> -B

I think it's just a matter of choosing the right "theorems..." module:

document > parameters > modules

Scroll down to the end to see the various "theorems..." options. They are well explained, and I guess you should find one that does what you want.

HTH,
--
Daniel CLEMENT
--
lyx-users mailing list
lyx-users at lists.lyx.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.lyx.org%2Fmailman%2Flistinfo%2Flyx-users&data=05%7C01%7CBernt.Lie%40usn.no%7C80f16c3df81246677dfb08daa53fec3c%7Cbc758dd0ab5343729a7ce98a9620862c%7C0%7C0%7C638003991211858136%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=j%2BpyDyOO%2FPjx0hVBbQyAZxKooNEDe3by6ouQZVE9nP4%3D&reserved=0


More information about the lyx-users mailing list