equation — A displayed mathematical equation
equation ::=
Common attributes and common linking attributes.
Additional attributes:
An equation
is a formal mathematical equation (with an optional rather than required title).
If the MathML Module is used, equation
can also contain the mml:math element.
Formatted as a displayed block. For an inline equation, use inlineequation
.
Processing systems that number equations or build a table of equations at the beginning of a document may have difficulty correctly formatting documents that contain both equation
s with title
s and equation
s without title
s. You are advised to use informalequation
for equations without titles.
Common attributes and common linking attributes.
Specifies style information to be used when rendering the float
Specifies an identifying string for presentation purposes
Indicates if the element is rendered across the column or the page
Enumerated values: | |
---|---|
“0” |
The element should be rendered in the current text flow (with the flow column width). |
“1” |
The element should be rendered across the full text page. |
These elements contain equation
: acknowledgements
, annotation
, answer
, appendix
, article
, bibliodiv
, bibliography
, bibliolist
, blockquote
, callout
, calloutlist
,
caption
(db.caption), caution
, chapter
, colophon
, constraintdef
, dedication
,
entry
, example
, figure
, footnote
, glossary
, glossdef
, glossdiv
, glosslist
, html:fieldset
, html:form
, important
, index
, indexdiv
, informalexample
, informalfigure
, itemizedlist
, legalnotice
, listitem
, msgexplan
, msgtext
, note
, orderedlist
, para
, partintro
, preface
, procedure
,
qandadiv
, qandaset
, question
, refsect1
, refsect2
, refsect3
, refsection
, refsynopsisdiv
, revdescription
, sect1
, sect2
, sect3
, sect4
, sect5
, section
, setindex
, sidebar
, simplesect
, step
, taskprerequisites
, taskrelated
, tasksummary
, td
, textobject
, th
, tip
, toc
, tocdiv
, variablelist
, warning
.
The following elements occur in equation: alt
, caption
(db.caption), info
(db.titleforbidden.info), info
(db.titleonly.info), mathphrase
, mediaobject
, mml:*
, title
, titleabbrev
.
example
, figure
, informalequation
, informalexample
, informalfigure
, informaltable
, inlineequation
, subscript
, superscript
, table
<article xmlns='http://docbook.org/ns/docbook'> <title>Example equation</title> <equation xml:id="eq.fermat"> <title>Fermat's Last Theorem</title> <alt>x^n + y^n ≠ z^n ∀ n ≠ 2</alt> <mediaobject> <imageobject> <imagedata fileref="figures/fermat.png"/> </imageobject> <textobject> <phrase>x^n + y^n ≠ z^n ∀ n ≠ 2</phrase> </textobject> </mediaobject> </equation> </article>
Alternatively, for relatively simple equations such as Fermat's Last Theorem, mathphrase
is often sufficient:
<article xmlns='http://docbook.org/ns/docbook'> <title>Example equation</title> <equation xml:id="eq.fermat.mathphrase"> <title>Fermat's Last Theorem</title> <alt>x^n + y^n ≠ z^n ∀ n ≠ 2</alt> <mathphrase>x<superscript>n</superscript> + y<superscript>n</superscript> ≠ z<superscript>n</superscript> ∀ n ≠ 2</mathphrase> </equation> </article>