[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Specify FO output font size in xml element?
On 04/05/2013 08:57 PM, Eric Nordlund wrote:
> Thanks Richard. I have used the attribute sets for the entire document, but some of my examples are too long to fit on the page and I want to shrink the font size for only that instance so I can fit it without compromising the rest of the verbatim blocks.
For such cases I have been using the "role" attribute:
* Use something like <verbatim role="extra.small.text">...</verbatim>
* Define a template like <xsl:template
match="verbatim[@role='extra.small.text']"> and reduce the font size to
your hear's content (for example by adding "<xsl:attribute
name="font-size">70%</xsl:attribute>" to your putput).
Hope that helps,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]