equation

- SourceForge
- Home Page
- Samples

- Reference Contents |
- Download & Install |
- User Guides |
- Notes, E-mail & Bugs |
- Q&A

Suggestions
Search:
Next: informalequation
Previous: generate.formal.title.placement Up: Formal Objects formal.mod.xsl

Reference Section

## Name

equation — Process `equation` [2.0.9] elements

## Synopsis

    <xsl:template match="equation">
    <xsl:variable name="placement">
    			<xsl:call-template name="generate.formal.title.placement">
    				<xsl:with-param name="object" select="local-name(.)"/>
    			</xsl:call-template>
    		</xsl:variable>
    <xsl:variable name="caption">
    			<xsl:text>{</xsl:text>
    			<xsl:value-of select="$latex.equation.caption.style"/>
    			<xsl:text>{\caption{</xsl:text>
    			<xsl:apply-templates select="title" mode="caption.mode"/>
    			<xsl:text>}</xsl:text>
    			<xsl:call-template name="label.id"/>
    			<xsl:text>}}
    </xsl:text>
    		</xsl:variable>
      ...
    </xsl:template>

## A. Description

Formats an titled, block-style equation.

## B. Pertinent Variables

- latex.equation.caption.style
- latex.alt.is.preferred

## D. DocBook Compliance and LaTeX Notes

If an `informalequation` [2.0.9] is present, it will be typeset in preference to any other elements. Otherwise, this template will follow the same logic as the informalequation template.

## E. Samples and Tests

`test_book.pdf` from `test_book/test.xml`

## F. Further Reading

- The DB2LaTeX mapping system latex.mapping.xsl
- generate.formal.title.placement

Prev | Up | Next
generate.formal.title.placement | Home | informalequation