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">
8 <refentrytitle>list.block.spacing</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
12 <refname>list.block.spacing</refname>
13 <refpurpose>What spacing do you want before and after lists?</refpurpose>
17 <src:fragment xml:id="list.block.spacing.frag"><xsl:attribute-set name="list.block.spacing">
18 <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
19 <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
20 <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
21 <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
22 <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
23 <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
24 </xsl:attribute-set></src:fragment>
26 <refsection><info><title>Description</title></info>
27 <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>