7 <src-package|env-theorem|1.0>
10 Theorem-like environments.
13 <src-copyright|1998--2004|Joris van der Hoeven>
16 This software falls under the <hlink|GNU general public license,
17 version 3 or later|$TEXMACS_PATH/LICENSE>. It comes WITHOUT ANY
18 WARRANTY WHATSOEVER. You should have received a copy of the license
19 which the software. If not, see <hlink|http://www.gnu.org/licenses/gpl-3.0.html|http://www.gnu.org/licenses/gpl-3.0.html>.
23 <assign|enunciation-name|<macro|name|<with|font-series|bold|<arg|name>>>>
25 <assign|enunciation-sep|<macro|. >>
27 <assign|theorem-name|<macro|name|<enunciation-name|<arg|name>>>>
29 <assign|theorem-sep|<macro|<enunciation-sep>>>
31 <assign|remark-name|<macro|name|<enunciation-name|<arg|name>>>>
33 <assign|remark-sep|<macro|<enunciation-sep>>>
35 <assign|exercise-name|<macro|name|<enunciation-name|<arg|name>>>>
37 <assign|exercise-sep|<macro|<enunciation-sep>>>
41 Rendering of theorem-like environments and exercises.
45 <assign|render-enunciation|<\macro|which|body>
46 <padded-normal|1fn|1fn|<surround|<arg|which>||<arg|body>>>
49 <assign|render-remark|<\macro|which|body>
50 <render-enunciation|<remark-name|<arg|which><remark-sep>>|<arg|body>>
53 <assign|render-theorem|<\macro|which|body>
54 <render-enunciation|<theorem-name|<arg|which><theorem-sep>>|<with|font-shape|italic|<arg|body>>>
57 <assign|render-exercise|<\macro|which|body>
58 <\padded-normal|0.5fn|0.5fn>
61 <surround|<exercise-name|<arg|which><exercise-sep>>||<arg|body>>
69 Standard theorems, remarks and exercises.
73 <new-theorem|theorem|Theorem>
75 <new-theorem|proposition|Proposition>
77 <new-theorem|lemma|Lemma>
79 <new-theorem|corollary|Corollary>
81 <new-theorem|axiom|Axiom>
83 <new-theorem|definition|Definition>
85 <new-theorem|notation|Notation>
87 <new-theorem|conjecture|Conjecture>
91 <new-remark|remark|Remark>
93 <new-remark|example|Example>
95 <new-remark|note|Note>
97 <new-remark|warning|Warning>
99 <new-remark|convention|Convention>
103 <new-exercise|exercise|Exercise>
105 <new-exercise|problem|Problem>
109 Further markup related to theorems.
113 <assign|proof-text|<macro|<localize|Proof>>>
115 <assign|dueto|<macro|name|<with|font-shape|right|<theorem-name|(<arg|name>)
118 <assign|render-proof|<\macro|which|body>
119 <\render-remark|<arg|which>>
120 <\surround||<htab|0.5fn><active*|<with|mode|math|\<box\>>>>
126 <assign|proof|<\macro|body>
127 <render-proof|<proof-text>|<arg|body>>
135 <associate|preamble|true>