List Info

Thread: Changing sub-title color




Changing sub-title color
user name
2007-08-16 08:12:01

All

 

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.

 

Thanks again

Kari

Re: Changing sub-title color
user name
2007-08-16 17:47:35
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-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )