-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Actually, here's an even more appropriate section in Bob's book:

http://www.sagehill.net/docbookxsl/FittingText.html#ReduceFontSize

David

On 12/07/2011 07:03 AM, David Cramer wrote:
> Hi Lars, You can use a relative value (like .9em) to adjust the
> font-size in the monospace.verbatim.properties attribute-set:
> 
> http://www.sagehill.net/docbookxsl/ProgramListings.html#FormatListings
>
> 
http://www.sagehill.net/docbookxsl/PrintOutput.html
> 
> David
> 
> On 12/07/2011 05:25 AM, Lars Vogel wrote:
>> Hi,
> 
>> is it possible to scale the text size for all programlistings in 
>> the PDF output? My PDF output looks "a.most" perfect, the 
>> programming listing fit almost into the output.
> 
>> I think if I would be able to set the text size to 90%
>> everything would fit. It would be great to do this with a
>> parameter as the HTML output looks perfect.
> 
>> Best regards, Larrs
> 
>> <programlisting language="xml"> <xi:include 
>> xmlns:xi="http://www.w3.org/2001/XInclude"; parse="text" 
>> href="../examples/first/strings.xml" /> </programlisting>
> 
>> -- Lars http://www.vogella.de - Eclipse, Android and Java 
>> Tutorials http://www.twitter.com/vogella - Lars on Twitter
> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail:
> [email protected]
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJO33RgAAoJEMHeSXG7afUh2GEH/3xCDVd6wCmSRSsI2u0/Xj6o
9gOLVFiw++8VVxyYrA6dF/8sleACEeasUeLRjWgQpc4sR8/pn5GzbvMmRdQAPAv4
iwNUJjZc+14Ky/X++4UaNQP/kGLF2aF4vhZU5YB6sQspMeRuyUe7JyO9nJUV3c8a
099xOlaR5ea5Kxs6BbP9ObrM1WdJOUFbpvk+kuakWW/7XtzyNSPk5WeCy+avhRzh
/iB+I5HVLyF4zRJsNTz/jf7pQk52lnT4BdQRlaORLGx9RS+W/EtP5CbisylAWXwu
JiNgtS2gA8y4+tV+mLrGKZbJuXQjKhKGeZ6kGxtGbikw30QtEJiTZT1eD1AXcgI=
=5FE4
-----END PGP SIGNATURE-----

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

Reply via email to