From 0967d5c0269b4568d8b88d613b29ece37f160d46 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Mon, 9 Mar 2009 05:20:31 +0000 Subject: [PATCH] New parameter to support @width on programlisting and screen. --- xsl/params/monospace.verbatim.font.width.xml | 40 ++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 xsl/params/monospace.verbatim.font.width.xml 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. + + + + -- 2.40.0