Suggestions
Search:
 
Next:
generate.aux.informalfigure.caption
Previous:
generate.aux.figure.caption
Up:
Figures and InformalFigures figure.mod.xsl
Reference Section

Name

figure — Process figure [2.0.9] elements

Synopsis

<xsl:template match="figure">
<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="position">
			<xsl:call-template name="generate.latex.float.position">
				<xsl:with-param name="default" select="'hbt'"/>
			</xsl:call-template>
		</xsl:variable>
  ...
</xsl:template>

A. Description

Formats a formal, “floating” figure with a title and caption. The figure may contain multiple subfigures.

B. Pertinent Variables

D. DocBook Compliance and LaTeX Notes

If the figure contains only one mediaobject, that mediaobject's caption will be used as the figure caption. However, if there are multiple meid in the figure, then it will be divided into subfigures with their own caption.

If a condition attribute exists and begins with “db2latex:”, or a <?latex-float-placement> processing instruction is present, the remainder of its value will be used as the LaTeXfloat” placement. Otherwise, the default placement is “hbt”.

This template requires LaTeX commands that are part of the “essential preamble”.

E. Samples and Tests

test_subfig.pdf from test_subfig/test.xml

F. Further Reading