OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] Equation alignment


Nice, thanks!

Regards,

Dean Nelson   
Enterprise Electronics Corp




-----Original Message-----
From: Mauritz Jeanson [mailto:mj@johanneberg.com] 
Sent: Friday, October 26, 2007 10:13 AM
To: Nelson, Dean
Cc: docbook-apps@lists.oasis-open.org
Subject: 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




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]