Theorems (AMS) modules might be obsolete by thmtools

Udicoudco udifoglle at gmail.com
Fri Jul 15 00:03:07 UTC 2022


Hello Everybody,

LyX provides with the "Theorem (AMS)" module convenient layouts to
theorem-like environments relying on the amsthm backend.

In the past few years, the thmtools package was developed to provide more
features (such as the \listoftheorems command) and more ease of use.

It is true that the amsthm is more robust than thmtools, but since the
"Theorem (AMS)" modules only using simple functionality from the package, i
can't think  of a situation where we might see a conflict if the modules
were implemented with thmtools instead of amsthm. The only real drawback I
can think of is that a user might not have installed the thmtools package,
but it can be easily fixed.

I have provided an example of an alternative to the "Theorems (Numbered by
Type within Sections)" module implemented with the thmtools, which presents
the List Of Theorems feature as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220715/895eb372/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: theorems-thmtools.inc
Type: application/octet-stream
Size: 15738 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220715/895eb372/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: theorems-thmtools.module
Type: application/octet-stream
Size: 700 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220715/895eb372/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_thmtools_module.pdf
Type: application/pdf
Size: 151072 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220715/895eb372/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_thmtools_module.lyx
Type: application/lyx
Size: 12463 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220715/895eb372/attachment-0001.bin>


More information about the lyx-users mailing list