Next / Previous / Contents / Shipman's homepage

13.6. Inline math using LaTeX or TeX

You can include LaTeX or TeX math formulae as inlines. The preparation is the same as for displayed math. However, the baseline of these elements might not line up with the baseline of the surrounding text. Because this technique is somewhat ugly, it should be used only when you need characters unavailable in regular DocBook (see Section 18, “Special characters”).

The graphic is included using the techniques described in Section 11.4, “Inline graphics”.

Here is an example of this technique:

We must prove that in all cases.

And here is the source:

      We must prove that
        <imageobject role='html'>
          <imagedata fileref='inmath.jpg'/>
        <imageobject role='fo'>
          <imagedata fileref='inmath.pdf'/>
      in all cases.