On 16 août 07, at 15:12, Kari Bourgeois wrote:
Hi,
> Can someone point me to how best to change the
<subtitle> on a
> titlepage color to green. I’ve tried a few things and
can’t seem to
> get it.
I do that in my custom stylesheet
<xsl:param name="title.color">
#334D89
</xsl:param>
<xsl:attribute-set
name="section.title.level1.properties">
<xsl:attribute name="color">
<xsl:value-of select="$title.color"/>
</xsl:attribute>
<xsl:attribute
name="font-weight">normal</xsl:attribute>
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master *
1.3"/>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
I change the color with $title.color (defined before). As
you can see
I change the font-weight too and the font size.
Hope this help !
Regards,
Jacques
--
« Mac OS X Server à votre Service » est épuisé.
Vous pouvez désormais l'acquérir en PDF
<http://www.foucry.net/Redaction/service/service.html>
------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribe lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help lists.oasis-open.org
|