1 <refentry xmlns="http://docbook.org/ns/docbook"
\r
2 xmlns:xlink="http://www.w3.org/1999/xlink"
\r
3 xmlns:xi="http://www.w3.org/2001/XInclude"
\r
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
\r
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
\r
6 version="5.0" xml:id="monospace.properties">
\r
8 <refentrytitle>monospace.properties</refentrytitle>
\r
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
\r
12 <refname>monospace.properties</refname>
\r
13 <refpurpose>Properties of monospaced content</refpurpose>
\r
17 <src:fragment xml:id="monospace.properties.frag">
\r
18 <xsl:attribute-set name="monospace.properties">
\r
19 <xsl:attribute name="font-family">
\r
20 <xsl:value-of select="$monospace.font.family"/>
\r
22 </xsl:attribute-set>
\r
26 <refsection><info><title>Description</title></info>
\r
28 <para>Specifies the font name for monospaced output. This property set
\r
29 used to set the font-size as well, but that doesn't work very well
\r
30 when different fonts are used (as they are in titles and paragraphs,
\r
31 for example).</para>
\r
33 <para>If you want to set the font-size in a customization layer, it's
\r
34 probably going to be more appropriate to set font-size-adjust, if your
\r
35 formatter supports it.</para>
\r