From: Bob Stayton Date: Mon, 9 Mar 2009 05:20:31 +0000 (+0000) Subject: New parameter to support @width on programlisting and screen. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0967d5c0269b4568d8b88d613b29ece37f160d46;p=docbook-dsssl New parameter to support @width on programlisting and screen. --- diff --git a/xsl/params/monospace.verbatim.font.width.xml b/xsl/params/monospace.verbatim.font.width.xml new file mode 100644 index 000000000..88b88dce4 --- /dev/null +++ b/xsl/params/monospace.verbatim.font.width.xml @@ -0,0 +1,40 @@ + + +monospace.verbatim.font.width +length + + +monospace.verbatim.font.width +Width of a single monospace font character + + + + +0.60em + + + +Description + +Specifies with em units the width of a single character +of the monospace font. The default value is 0.6em. + +This parameter is only used when a screen +or programlisting element has a +width attribute, which is +expressed as a plain integer to indicate the maximum character count +of each line. +To convert this character count to an actual maximum width +measurement, the width of the font characters must be provided. +Different monospace fonts have different character width, +so this parameter should be adjusted to fit the +monospace font being used. + + + +