summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/params/toc.margin.properties.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kdoctools/docbook/xsl/params/toc.margin.properties.xml')
-rw-r--r--kdoctools/docbook/xsl/params/toc.margin.properties.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/toc.margin.properties.xml b/kdoctools/docbook/xsl/params/toc.margin.properties.xml
new file mode 100644
index 000000000..077396776
--- /dev/null
+++ b/kdoctools/docbook/xsl/params/toc.margin.properties.xml
@@ -0,0 +1,24 @@
+<refentry id="toc.margin.properties">
+<refnamediv>
+<refname>toc.margin.properties</refname>
+<refpurpose>Margin properties used on Tables of Contents</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='toc.margin.properties.frag'>
+<xsl:attribute-set name="toc.margin.properties">
+ <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
+ <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
+ <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>This attribute set is used on Tables of Contents. These attributes are set
+on the wrapper that surrounds the ToC block, not on each individual lines.</para>
+</refsect1>
+</refentry>