•
Suggestions
Search:

Next:
latex tex
Up:
LaTeX only Commands texmath.mod.xsl

## Name

alt — Process alt [2.0.9] elements

## Synopsis

<xsl:template match="alt"/>

## D. DocBook Compliance and LaTeX Notes

This template will modify its behaviour based upon its context within a DocBook document. If it is within an inlineequation [2.0.9] and it has a role with the value of “latex” or “tex”, then it will typeset its contents inline as raw LaTeX input in mathematics mode (using \ensuremath command) if the variable tex.math.in.alt is set. If it is within an equation [2.0.9] or informalequation [2.0.9] and it has a role with the value of “latex” or “tex”, then it will typeset its contents as raw LaTeX input in a \begin{displaymath} block environment if the variable tex.math.in.alt is set. Otherwise, if tex.math.in.alt is set, the contents will be typeset as raw LaTeX input inline (not in maths mode). Otherwise, templates will be applied normally (not as raw LaTeX input).

## E. Samples and Tests

test_book.pdf from test_book/test.xml, test_theorem.pdf from test_theorem/test.xml