diff options
Diffstat (limited to 'kdoctools/docbook/xsl/params/monospace.properties.xml')
-rw-r--r-- | kdoctools/docbook/xsl/params/monospace.properties.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/monospace.properties.xml b/kdoctools/docbook/xsl/params/monospace.properties.xml new file mode 100644 index 000000000..c06687998 --- /dev/null +++ b/kdoctools/docbook/xsl/params/monospace.properties.xml @@ -0,0 +1,33 @@ +<refentry id="monospace.properties"> +<refmeta> +<refentrytitle>monospace.properties</refentrytitle> +<refmiscinfo role="type">attribute set</refmiscinfo> +</refmeta> +<refnamediv> +<refname>monospace.properties</refname> +<refpurpose>Properties of monospaced content</refpurpose> +</refnamediv> + +<refsynopsisdiv> +<src:fragment id='monospace.properties.frag'> +<xsl:attribute-set name="monospace.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$monospace.font.family"/> + </xsl:attribute> +</xsl:attribute-set> +</src:fragment> +</refsynopsisdiv> + +<refsect1><title>Description</title> + +<para>Specifies the font name for monospaced output. This property set +used to set the font-size as well, but that doesn't work very well +when different fonts are used (as they are in titles and paragraphs, +for example).</para> + +<para>If you want to set the font-size in a customization layer, it's +probably going to be more appropriate to set font-size-adjust, if your +formatter supports it.</para> + +</refsect1> +</refentry> |