]> git.stg.codes - stg.git/blob - doc/xslt/params/section.title.properties.xml
All right in GetParamValue and GetPropertyValue
[stg.git] / doc / xslt / params / section.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="section.title.properties">
7 <refmeta>
8 <refentrytitle>section.title.properties</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>section.title.properties</refname>
13 <refpurpose>Properties for section titles</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="section.title.properties.frag">
18 <xsl:attribute-set name="section.title.properties">
19   <xsl:attribute name="font-family">
20     <xsl:value-of select="$title.font.family"/>
21   </xsl:attribute>
22   <xsl:attribute name="font-weight">bold</xsl:attribute>
23   <!-- font size is calculated dynamically by section.heading template -->
24   <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
25   <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
26   <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
27   <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
28   <xsl:attribute name="text-align">start</xsl:attribute>
29   <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
30 </xsl:attribute-set>
31 </src:fragment>
32 </refsynopsisdiv>
33
34 <refsection><info><title>Description</title></info>
35
36 <para>The properties common to all section titles.</para>
37
38 </refsection>
39 </refentry>