Lars,
I make my adjustments via a parameter as below.
Hope this helps.
 
Dean Nelson
-------------------------------------------
 
 <!-- My Table Mods -->
<xsl:param name="met.table.font.size">1.0</xsl:param> <!--   -->
<xsl:param  name="met.table.head.font.size">1.0</xsl:param>

<!-- Set table body font size and alignment  -->
<xsl:attribute-set  name="table.properties">
<xsl:attribute  name="keep-together.within-column">auto</xsl:attribute>
<xsl:attribute  name="font-size">
<xsl:value-of select="$body.font.master *  $met.table.font.size"/>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>

<!-- Set table header font size -->
<xsl:template  name="table.row.properties">
<xsl:if  test="ancestor::thead">
<xsl:attribute  name="font-weight">bold</xsl:attribute>
<xsl:attribute  name="color">#FFFFFF</xsl:attribute>
<!--  White -->
<xsl:attribute  name="background-color">#000000</xsl:attribute>
<!--  Black -->
<xsl:attribute  name="font-size">
<xsl:value-of
select="$body.font.master *  $met.table.head.font.size"  />
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:if>
</xsl:template>




In a message dated 7/3/2012 8:54:55 A.M. Pacific Daylight Time,  
lars.vo...@gmail.com writes:

Hello,

I would like to reduce the text size for a table (for  example to
body.font.master *0.9 or to a fixed value like 10px).

Is  there a parameter for this?

Best regards,  Lars

---------------------------------------------------------------------
To  unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For  additional commands, e-mail:  docbook-apps-h...@lists.oasis-open.org


Reply via email to