2019-04-07 09:21:21 +00:00
|
|
|
#\DeclareLyXModule{AMS Theorems (Numbered by Type)}
|
2019-04-18 12:00:00 +00:00
|
|
|
#\DeclareCategory{Maths}
|
2009-11-07 10:44:08 +00:00
|
|
|
#DescriptionBegin
|
|
|
|
#Defines theorem environments and the proof environment using the extended
|
|
|
|
#AMS machinery. Both numbered and unnumbered types are provided. Contrary to the
|
|
|
|
#plain AMS Theorem module, the different theorem types provided here each have
|
|
|
|
#a separate counter (e.g., theorem 1, theorem 2, lemma 1, proposition 1, theorem 3,
|
|
|
|
#lemma 2, ..., as opposed to theorem 1, theorem 2, lemma 3, proposition 4, ...).
|
|
|
|
#The numbering's scope is the whole document. For chapter- and section-wide numbering,
|
|
|
|
#use one of the 'within Sections'/'within Chapters' modules, respectively.
|
|
|
|
#DescriptionEnd
|
2022-12-31 10:28:56 +00:00
|
|
|
#Excludes: theorems-std | theorems-starred | theorems-ams | theorems-bytype
|
2009-11-07 10:44:08 +00:00
|
|
|
|
|
|
|
# Original Author : David L. Johnson <dlj0@lehigh.edu>
|
|
|
|
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
|
|
|
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
|
|
|
|
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
|
2020-12-05 22:09:17 +00:00
|
|
|
# Modularized Jan 08 by Richard Kimberly Heck <rikiheck@lyx.org>
|
2009-11-07 10:44:08 +00:00
|
|
|
# Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
|
|
|
|
|
2024-08-12 10:29:14 +00:00
|
|
|
Format 107
|
2009-11-07 10:44:08 +00:00
|
|
|
|
2022-12-31 10:28:56 +00:00
|
|
|
Requires amsmath,amsthm
|
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing list. Rebased on top of master.
I've modified all the non-AMS theorem modules so they would be independent of packages. currently
the code support \theoremstyle, but only with definition, plain and remark.
I'v added a new theorem module that support the thmtools \listoftheorems.
I've modified the syntax of all theorem modules, such that it would be easier to
create a new one, or maintaining the ones that exists. Instead of using \newtheorem
in the preamble of a lyaout, I wrote \lyx@newtheorem, and in each module I've defiened
\lyx@newtheorem as fitted. This way, there is only need in the files thorems-base, and theorems-extended,
instead of an .inc file for each module.
I've added theorems-labels.inc, a file that suppose to be included in a "Numbered by type" module,
to change the Label and the LabelCounter of the layouts in theorems-base.inc.
Note that in this configuration, all non-AMS modules will clash with the AMS ones, and so as the
proof versions. theorems-proof-std.inc suppose to be in the non-AMS while theorems-proof.inc
should be included only in AMS variants.
2022-12-31 00:47:37 +00:00
|
|
|
|
2022-12-31 10:28:56 +00:00
|
|
|
Input theorems-order.inc
|
|
|
|
Input theorems-ams-bytype.inc
|
|
|
|
Input theorems-starred.inc
|
|
|
|
Input theorems-proof.inc
|