New Theorems Module

Udicoudco udifoglle at gmail.com
Sat Dec 31 13:12:59 UTC 2022


On Sat, Dec 31, 2022 at 10:35 AM Thibaut Cuvelier <dourouc05 at gmail.com>
wrote:

>
>
> How many such options would you add? Isn't it possible to implement the
> new options using arguments? Otherwise, I don't think it's too much of a
> problem to have many entries in the Modules menu, because it was
> restructured with 2.4. But having too many variants of Theorems might be a
> problem for beginners (I already had troubles with the AMS and non-AMS,
> extended or not, numbered by such and such, for the record).
>

I think that some of the confusion comes from the fact that the options for
the AMS and non-AMS are not symmetrical, and the fact that
currently the non-AMS actually use amsthm (this is the part I tried to fix
in the patch but it did not work, but it shouldn't be hard to fix).

If we would consider adding all the options to all three theorem backends
(LaTeX kernel, amsthm, and thmtools), there would
be 36 theorem modules (not including the starred theorems and named
theorems), as there will be 3 options for backends,
3 options for the parent counter (none, chapter, section), two options to
number-by type (yes/no), and two options for extended (yes, no).

Maybe it would be more user friendly to add a Theorems dialog to
Document->Settings? I think it was like that in old LyX versions.
The dialog could have a check box to indicate if the user wants to use
theorems or not.
If yes there would be a drop-down menu for each category to choose the type
of theorems
you want to use.

It will also help with the confusion that sometimes occurs with the fact
that some theorem modules
require other theorem modules to be loaded first.

I don't know how to implement that so it is just a proposal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221231/0de774c9/attachment.html>


More information about the lyx-devel mailing list