That may be a quicker, easier way to do this. Certainly worth trying before you 
try my suggestion from a few minutes ago:-).

Dick
-------
XML Press
XML for Technical Communicators
http://xmlpress.net
[email protected]



On Apr 5, 2013, at 6:06 PM, Stefan Seefeld wrote:

> 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...
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to