list.block.spacing — What spacing do you want before and after lists?
<xsl:attribute-set name="list.block.spacing"> <xsl:attribute name="space-before.optimum">1em</xsl:attribute> <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> <xsl:attribute name="space-after.optimum">1em</xsl:attribute> <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute> <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute> </xsl:attribute-set>
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.
This attribute set is not applied to nested lists, so that only the
list.item.spacing
attribute-set is used, which provides
consistent spacing.