toc.margin.properties.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233
  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. <refsynopsisdiv>
  16. <src:fragment xml:id="toc.margin.properties.frag">
  17. <xsl:attribute-set name="toc.margin.properties">
  18. <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
  19. <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
  20. <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
  21. <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
  22. <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
  23. <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
  24. </xsl:attribute-set>
  25. </src:fragment>
  26. </refsynopsisdiv>
  27. <refsection><info><title>Description</title></info>
  28. <para>This attribute set is used on Tables of Contents. These attributes are set
  29. on the wrapper that surrounds the ToC block, not on each individual lines.</para>
  30. </refsection>
  31. </refentry>