mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
42c2a25fb8
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.
128 lines
3.6 KiB
XML
128 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- This DocBook file was created by LyX 2.4.0-beta2
|
|
See https://www.lyx.org/ for more information -->
|
|
<article xml:lang="en_US" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
|
|
<title>Untitled Document</title>
|
|
<figure role='claim'>
|
|
<title>Claim 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='claim'>
|
|
<title>Claim.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='conjecture'>
|
|
<title>Conjecture 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='conjecture'>
|
|
<title>Conjecture.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='corollary'>
|
|
<title>Corollary 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='corollary'>
|
|
<title>Corollary.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='definition'>
|
|
<title>Definition 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='definition'>
|
|
<title>Definition.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<example role='definition'>
|
|
<title>Example 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</example>
|
|
<informalexample role='definition'>
|
|
<title>Example.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</informalexample>
|
|
<figure role='exercise'>
|
|
<title>Exercise 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='exercise'>
|
|
<title>Exercise.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='fact'>
|
|
<title>Fact 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='fact'>
|
|
<title>Fact.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='lemma'>
|
|
<title>Lemma 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='lemma'>
|
|
<title>Lemma.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='problem'>
|
|
<title>Problem 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='problem'>
|
|
<title>Problem.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='proposition'>
|
|
<title>Proposition 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='proposition'>
|
|
<title>Proposition.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='remark'>
|
|
<title>Remark 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='theorem'>
|
|
<title>Theorem 0.1.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='theorem'>
|
|
<title>Theorem.</title>
|
|
<para>Dummy Note
|
|
Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='cases'>
|
|
<para>Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
<figure role='proof'>
|
|
<title>Proof.</title>
|
|
<para>Dummy Text, Dummy Text, Dummy Text, Dummy Text.</para>
|
|
</figure>
|
|
</article> |