list.block.spacing.xml 1.4 KB

1234567891011121314151617181920212223242526272829
  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="list.block.spacing">
  7. <refmeta>
  8. <refentrytitle>list.block.spacing</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>list.block.spacing</refname>
  13. <refpurpose>What spacing do you want before and after lists?</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="list.block.spacing.frag"><xsl:attribute-set name="list.block.spacing">
  17. <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
  18. <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
  19. <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
  20. <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
  21. <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
  22. <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
  23. </xsl:attribute-set></src:fragment>
  24. </refsynopsisdiv>
  25. <refsection><info><title>Description</title></info>
  26. <para>Specify the spacing required before and after a list. It is necessary to specify the space after a list block because lists can come inside of paras. </para>
  27. </refsection>
  28. </refentry>