]> git.stg.codes - stg.git/blob - doc/xslt/params/refentry.title.properties.xml
Better names for service iterators.
[stg.git] / doc / xslt / params / refentry.title.properties.xml
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="refentry.title.properties">
7 <refmeta>
8 <refentrytitle>refentry.title.properties</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>refentry.title.properties</refname>
13 <refpurpose>Title properties for a refentry title</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="refentry.title.properties.frag">
18 <xsl:attribute-set name="refentry.title.properties">
19   <xsl:attribute name="font-family">
20     <xsl:value-of select="$title.font.family"/>
21   </xsl:attribute>
22   <xsl:attribute name="font-size">18pt</xsl:attribute>
23   <xsl:attribute name="font-weight">bold</xsl:attribute>
24   <xsl:attribute name="space-after">1em</xsl:attribute>
25   <xsl:attribute name="hyphenate">false</xsl:attribute>
26   <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
27   <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
28   <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
29   <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
30   <xsl:attribute name="space-after.optimum">0.5em</xsl:attribute>
31   <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
32   <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute>
33   <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
34 </xsl:attribute-set>
35 </src:fragment>
36 </refsynopsisdiv>
37
38 <refsection><info><title>Description</title></info>
39
40 <para>Formatting properties applied to the title generated for the
41 <tag>refnamediv</tag> part of output for
42 <tag>refentry</tag> when the value of the
43 <parameter>refentry.generate.title</parameter> parameter is
44 non-zero. The font size is supplied by the appropriate <parameter>section.level<replaceable>X</replaceable>.title.properties</parameter>
45 attribute-set, computed from the location of the
46 <tag>refentry</tag> in the section hierarchy.</para>
47
48 <note>
49   <para>This parameter has no effect on the the title generated for
50   the <tag>refnamediv</tag> part of output for
51   <tag>refentry</tag> when the value of the
52   <parameter>refentry.generate.name</parameter> parameter is
53   non-zero. By default, that title is formatted with the same
54   properties as the titles for all other first-level children of
55   <tag>refentry</tag>.</para>
56 </note>
57
58 </refsection>
59 </refentry>