O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

mathphrase — A mathematical phrase that can be represented with ordinary text and a small amount of markup

Synopsis

mathphrase ::= (text | emphasis db._emphasis | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*

Description

A mathphrase is a simple, inline equation, one that can be represented using ordinary text, symbols, subscripts, and superscripts. A good example is: E=mc2.

Processing expectations

Formatted inline.

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example equation</title>

<equation xml:id="eq.fermatphrase">
  <title>Fermat's Last Theorem</title>
  <mathphrase>x<superscript>n</superscript>
+ y<superscript>n</superscript>
≠ z<superscript>n</superscript>
∀ n ≠ 2</mathphrase>
</equation>

</article>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required