Labeled formal units asserted in the argument — theorems, proofs, definitions, and the definitional structures.
<corollary>Semantic role: corollary. Compiles to eHTML <corollary>.
Registers:
- Canonical:
<corollary>
<corollary | Every prime greater than 2 is odd.>
Every prime greater than 2 is odd.
<corollary #cor:bounded>
Any continuous function on a closed interval is bounded.
</corollary>
Any continuous function on a closed interval is bounded.
| attribute | kind | values / default | notes |
|---|---|---|---|
name |
kwarg | Optional name suffix for the corollary’s label, parallel to <theorem>’s name kwarg. |
|
+numbered / -numbered |
flag | default on | Whether this corollary participates in the propositional theorem-family shared counter. |
<dd>Semantic role: dd. Compiles to eHTML <dd>.
Registers:
- Canonical:
<dd>
<dd | An academic publishing system built on HTML+CSS+JS.>
An academic publishing system built on HTML+CSS+JS.
A definition-list description. Appears as a child of <dl>, following the term it defines.
<dd |
A multi-paragraph definition.
The second paragraph of the definition.
>
A multi-paragraph definition.
The second paragraph of the definition.
Multi-paragraph descriptions are valid — the pipe content’s paragraph structure is preserved.
<definition>Semantic role: definition. Compiles to eHTML <definition>.
Registers:
- Canonical:
<definition>
<definition | A *group* is a set with an associative binary operation, identity, and inverses.>
A group is a set with an associative binary operation, identity, and inverses.
<definition name="Group" #def:group>
A *group* is a set $G$ together with a binary operation
$\cdot$ satisfying associativity, identity, and inverses.
</definition>
A group is a set
| attribute | kind | values / default | notes |
|---|---|---|---|
name |
kwarg | Optional name suffix for the definition’s label. | |
+numbered / -numbered |
flag | default on | Whether this definition participates in the definition counter. |
<dl>Semantic role: dl. Compiles to eHTML <dl>.
Registers:
- Canonical:
<dl>
<dl>
<dt | enscribe>
<dd | An academic publishing system built on HTML+CSS+JS.>
<dt | eHTML>
<dd | The canonical semantic HTML vocabulary.>
<dt | Enscribe shorthand>
<dd | The shorthand authoring syntax that compiles to eHTML.>
</dl>
- enscribe
-
An academic publishing system built on HTML+CSS+JS.
- eHTML
-
The canonical semantic HTML vocabulary.
- Enscribe shorthand
-
The shorthand authoring syntax that compiles to eHTML.
Long-form <dl> with short-form <dt>/<dd> children. The natural authoring pattern.
<dl .compact>
<dt | term-1>
<dd | First definition of term-1.>
<dd | Second definition of term-1.>
</dl>
- term-1
-
First definition of term-1.
-
Second definition of term-1.
One term with multiple definitions — a valid HTML pattern.
<dt>Semantic role: dt. Compiles to eHTML <dt>.
Registers:
- Canonical:
<dt>
<dt | enscribe>
A definition-list term. Appears as a child of <dl>.
<dt | <code | strict-mode>>
strict-modeInline markup in a term. The recursive-content pass parses the pipe content normally.
<example>Semantic role: example. Compiles to eHTML <example>.
Registers:
- Canonical:
<example>
<example | The integers under addition form a group.>
The integers under addition form a group.
<example #ex:integers>
The integers $\mathbb{Z}$ under addition form a group: the
operation is associative, $0$ is the identity, and every
integer has an additive inverse.
</example>
The integers
| attribute | kind | values / default | notes |
|---|---|---|---|
name |
kwarg | Optional name suffix for the example’s label. | |
+numbered / -numbered |
flag | default on | Whether this example participates in the example counter. |
<glossary>Semantic role: glossary. Compiles to eHTML <glossary>.
Registers:
- Canonical:
<glossary>
<glossary #project-terms>
<glossary-entry>
<dt | enscribe>
<dd | An academic publishing system built on HTML+CSS+JS.>
</glossary-entry>
<glossary-entry>
<dt | eHTML>
<dd | The canonical semantic HTML vocabulary.>
</glossary-entry>
</glossary>
An academic publishing system built on HTML+CSS+JS.
The canonical semantic HTML vocabulary.
A glossary with two entries. Each <glossary-entry> uses <dt>/<dd> for its term and definition (the same shapes <dl> uses), wrapped in the entry’s own envelope for cross-reference / styling.
<glossary-entry>Semantic role: glossary-entry. Compiles to eHTML <glossary-entry>.
Registers:
- Canonical:
<glossary-entry>
<glossary-entry #term:enscribe>
<dt | enscribe>
<dd | An academic publishing system built on HTML+CSS+JS.>
</glossary-entry>
An academic publishing system built on HTML+CSS+JS.
A single glossary entry. The id uses the “term:” colon-prefix convention so cross-references like <ref @term:enscribe> can resolve into the entry.
<lemma>Semantic role: lemma. Compiles to eHTML <lemma>.
Registers:
- Canonical:
<lemma>
<lemma | Every continuous function on a compact set attains its maximum.>
Every continuous function on a compact set attains its maximum.
<lemma name="Zorn" #lem:zorn>
Every non-empty partially-ordered set in which every chain has
an upper bound contains a maximal element.
</lemma>
Every non-empty partially-ordered set in which every chain has an upper bound contains a maximal element.
| attribute | kind | values / default | notes |
|---|---|---|---|
name |
kwarg | Optional name suffix for the lemma’s label, parallel to <theorem>’s name kwarg. |
|
+numbered / -numbered |
flag | default on | Whether this lemma participates in the propositional theorem- family shared counter. |
<proof>Semantic role: proof. Compiles to eHTML <proof>.
Registers:
- Canonical:
<proof>
<theorem | The sum of two even integers is even.>
<proof>
Let $a = 2m$ and $b = 2n$. Then $a + b = 2(m + n)$, which is
even. $\square$
</proof>
The sum of two even integers is even.
Let
The canonical pattern: <theorem> followed by sibling <proof>. The proof is NOT nested inside the theorem.
<proof name="of Theorem 1.2">
The argument follows from the preceding lemma.
</proof>
The argument follows from the preceding lemma.
Optional name kwarg lets the proof identify what it proves
(useful when the proof is separated from its theorem by
intervening text).
| attribute | kind | values / default | notes |
|---|---|---|---|
name |
kwarg | Optional name suffix — e.g. | |
+numbered / -numbered |
flag | default off | Whether this proof is numbered. |
<proposition>Semantic role: proposition. Compiles to eHTML <proposition>.
Registers:
- Canonical:
<proposition>
<proposition | The sum of two even integers is even.>
The sum of two even integers is even.
<proposition name="Cauchy-Schwarz">
For any vectors $u$, $v$ in an inner-product space,
$|\langle u, v \rangle| \le \|u\| \, \|v\|$.
</proposition>
For any vectors
| attribute | kind | values / default | notes |
|---|---|---|---|
name |
kwarg | Optional name suffix for the proposition’s label. | |
+numbered / -numbered |
flag | default on | Whether this proposition participates in the propositional theorem-family shared counter. |
<remark>Semantic role: remark. Compiles to eHTML <remark>.
Registers:
- Canonical:
<remark>
<remark | The converse does not hold in general.>
The converse does not hold in general.
<remark>
The hypothesis of compactness is essential here; without it
the conclusion fails (consider $f(x) = 1/x$ on $(0, 1]$).
</remark>
The hypothesis of compactness is essential here; without it
the conclusion fails (consider
| attribute | kind | values / default | notes |
|---|---|---|---|
name |
kwarg | Optional name suffix for the remark’s label. | |
+numbered / -numbered |
flag | default off | Whether this remark is numbered. |
<theorem>Semantic role: theorem. Compiles to eHTML <theorem>.
Registers:
- Canonical:
<theorem>
<theorem | If $a^2 + b^2 = c^2$ then the triangle is right-angled.>
If
Short-form with pipe content. The body is parsed normally.
<theorem name="Pythagoras" #thm:pyth>
If $a^2 + b^2 = c^2$, the triangle with sides $a$, $b$, $c$
is right-angled.
</theorem>
If
Long-form with the optional name kwarg. Cross-referenceable
via id (the “thm:” colon-prefix convention is consistent with
“fig:”, “eqn:”, “sec:” elsewhere in enscribe). The name
kwarg lifts to data-name; the Phase-2 handler will render
it as the “(Pythagoras)” suffix to the label “Theorem N”.
| attribute | kind | values / default | notes |
|---|---|---|---|
name |
kwarg | Optional name suffix for the theorem’s label (the “(Pythagoras)” half of “Theorem 1.2 (Pythagoras)”). | |
+numbered / -numbered |
flag | default on | Whether this theorem participates in the theorem-family shared counter (see “Numbering” below). |