RE: [docbook-apps] Equation alignment

From
Mauritz Jeanson <>
Date
2007-10-26T15:13:20+00:00
ID
000301c817e2$b70b7bd0$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] Equation alignment
> -----Original Message-----
> From: Nelson, Dean 
> 
> Also, is there a quick way to align the equation titles in the same
> manner? The title tag doesn't have an align property?


You can customize the formal.title.properties attribute-set in order to
apply the align attribute to the equation title: 

<xsl:attribute-set name="formal.title.properties"
use-attribute-sets="normal.para.spacing">
 <xsl:attribute name="text-align">
   <xsl:choose>
     <xsl:when test="self::equation and descendant::imagedata/@align">
       <xsl:value-of select="descendant::imagedata/@align"/>
     </xsl:when>
     <xsl:otherwise>start</xsl:otherwise>
   </xsl:choose>
 </xsl:attribute>
</xsl:attribute-set>

Mauritz