]> git.stg.codes - stg.git/blob - doc/xslt/params/index.div.title.properties.xml
Some minor improvements on ticket26.
[stg.git] / doc / xslt / params / index.div.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="index.div.title.properties">
7 <refmeta>
8 <refentrytitle>index.div.title.properties</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>index.div.title.properties</refname>
13 <refpurpose>Properties associated with the letter headings in an
14 index</refpurpose>
15 </refnamediv>
16
17 <refsynopsisdiv>
18 <src:fragment xml:id="index.div.title.properties.frag">
19 <xsl:attribute-set name="index.div.title.properties">
20   <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute>
21   <xsl:attribute name="font-size">14.4pt</xsl:attribute>
22   <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"/></xsl:attribute>
23   <xsl:attribute name="font-weight">bold</xsl:attribute>
24   <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
25   <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master,'pt')"/></xsl:attribute>
26   <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master,'pt * 0.8')"/></xsl:attribute>
27   <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master,'pt * 1.2')"/></xsl:attribute>
28   <xsl:attribute name="start-indent">0pt</xsl:attribute>
29 </xsl:attribute-set>
30 </src:fragment>
31 </refsynopsisdiv>
32
33 <refsection><info><title>Description</title></info>
34
35 <para>This attribute set is used on the letter headings that separate
36 the divisions in an index.</para>
37
38 </refsection>
39 </refentry>