Search the Catalog
DocBook: The Definitive Guide

DocBook: The Definitive Guide

By Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM

InlineEquation

Name

InlineEquation -- A mathematical equation or expression occurring inline

Synopsis

Content Model

InlineEquation ::=
(Alt?,
 (Graphic+|InlineMediaObject+))

Attributes

Common attributes

Tag Minimization

Both the start- and end-tags are required for this element.

Parameter Entities

%inlineobj.char.class;%para.char.mix;%programlisting.content;
%screen.content;%tbl.entry.mdl;%title.char.mix;

Description

InlineEquations are expressions (usually mathematical) that occur in the text flow.

Processing expectations

Formatted inline.

InlineEquation should not contain Graphic. Instead, it should contain InlineGraphic. Within an InlineEquation, Graphic should be rendered inline.

(5.0) Future Changes

In DocBook V5.0, InlineGraphic and Graphic will be discarded.

Children

The following elements occur in InlineEquation: Alt, Graphic, InlineMediaObject.

In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.

See Also

Equation, InformalEquation, Subscript, Superscript

Examples

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<para>
Einstein's theory of relativity includes one of the most
widely recognized formulas in the world:
<inlineequation>
  <alt>e=mc^2</alt>
  <graphic fileref="figures/emc2"></graphic>
</inlineequation>
</para>

Einstein's theory of relativity includes one of the most widely recognized formulas in the world:

For additional examples, see also InlineMediaObject.

Back to: DocBook: The Definitive Guide


oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly & Associates, Inc.