mathphrase
mathphrase — A mathematical phrase that can be represented with ordinary text and a small amount of markup.
Synopsis
mathphrase ::=
- Zero or more of:
- text
- Graphic inlines
- Indexing inlines
- Linking inlines
- Ubiquitous inlines
abbrevacronymaltanchorbibliorefcorefdateemphasis(db._emphasis)firstterm(db._firstterm)footnotefootnoterefforeignphrase(db._foreignphrase)glossterm(db._glossterm)indexterm(db.indexterm.endofrange)indexterm(db.indexterm.singular)indexterm(db.indexterm.startofrange)inlinemediaobjectlinkolinkphrase(db._phrase)quote(db._quote)remarksubscriptsuperscripttrademarkwordaswordxref
Attributes
Common attributes and common linking attributes.
No additional attributes.
Description
A mathphrase is a wrapper around a mathematical equation or
other mathematical markup. It was originally designed for simple, inline
equations, ones that can be represented using ordinary text, symbols, subscripts,
and superscripts. A good example is:
E=mc2.
In a mathematical context, the alternatives are generally an image, MathML, or
a mathphrase. In processing systems that support rich mathematical notation
in other formats, for example TeX, it may be common to put much more complex
markup in the mathphrase element.
For example, Equation 1, “A continued fraction in TeX” shows a continued fraction using TeX markup. If your browser supports rendering of TeX in this context, it will be formatted accordingly.
That is plausibly more than one might consider “a phrase”.
Processing expectations
Formatted inline.
Attributes
Common attributes and common linking attributes.
- any attribute
-
Any attribute in any other explicit namespace
Parents
These elements contain mathphrase: equation, informalequation, inlineequation.
Children
The following elements occur in mathphrase: text, abbrev, acronym, alt, anchor, biblioref, coref, date, emphasis (db._emphasis), firstterm (db._firstterm), footnote, footnoteref, foreignphrase (db._foreignphrase), glossterm (db._glossterm), indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, olink, phrase (db._phrase), quote (db._quote), remark, subscript, superscript, trademark, wordasword, xref.
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>|<title>Example equation</title>||<equation xml:id="eq.fermatphrase">5 |<title>Fermat's Last Theorem</title>|<mathphrase>x<superscript>n</superscript>|+ y<superscript>n</superscript>|≠ z<superscript>n</superscript>|∀ n ≠ 2</mathphrase>10 |</equation>||</article>