source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/monospace.verbatim.font.width.xml@ 1fa2099

multilib-10.1
Last change on this file since 1fa2099 was 1fa2099, checked in by Thomas Trepl <thomas@…>, 5 years ago

Initial creation of multilib branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11565 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.5 KB
Line 
1<refentry xmlns="http://docbook.org/ns/docbook"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:xi="http://www.w3.org/2001/XInclude"
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6 version="5.0" xml:id="monospace.verbatim.font.width">
7<refmeta>
8<refentrytitle>monospace.verbatim.font.width</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>monospace.verbatim.font.width</refname>
13<refpurpose>Width of a single monospace font character</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
17<src:fragment xml:id="monospace.verbatim.font.width.frag">
18<xsl:param name="monospace.verbatim.font.width">0.60em</xsl:param>
19</src:fragment>
20</refsynopsisdiv>
21
22<refsection><info><title>Description</title></info>
23
24<para>Specifies with em units the width of a single character
25of the monospace font. The default value is <literal>0.6em</literal>.</para>
26
27<para>This parameter is only used when a <tag>screen</tag>
28or <tag>programlisting</tag> element has a
29<tag class="attribute">width</tag> attribute, which is
30expressed as a plain integer to indicate the maximum character count
31of each line.
32To convert this character count to an actual maximum width
33measurement, the width of the font characters must be provided.
34Different monospace fonts have different character width,
35so this parameter should be adjusted to fit the
36monospace font being used.
37</para>
38
39</refsection>
40</refentry>
Note: See TracBrowser for help on using the repository browser.