]> git.stg.codes - stg.git/blob - doc/xslt/params/toc.margin.properties.xml
Help book chapter 3 complete
[stg.git] / doc / xslt / params / toc.margin.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="toc.margin.properties">
7 <refmeta>
8 <refentrytitle>toc.margin.properties</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>toc.margin.properties</refname>
13 <refpurpose>Margin properties used on Tables of Contents</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="toc.margin.properties.frag">
18 <xsl:attribute-set name="toc.margin.properties">
19   <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
20   <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
21   <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
22   <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
23   <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
24   <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
25 </xsl:attribute-set>
26 </src:fragment>
27 </refsynopsisdiv>
28
29 <refsection><info><title>Description</title></info>
30 <para>This attribute set is used on Tables of Contents. These attributes are set
31 on the wrapper that surrounds the ToC block, not on each individual lines.</para>
32 </refsection>
33 </refentry>