Individual counters for Problems, Examples, etc.?

Daniel CLEMENT dclement1 at laposte.net
Mon Oct 3 13:04:59 UTC 2022


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


More information about the lyx-users mailing list