[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Reducing the text size for table elements (PDF output)
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.vogel@gmail.com writes:
Hello, |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]