]> git.stg.codes - stg.git/blob - doc/xslt/params/compact.list.item.spacing.xml
Ticket 37. The message variable definition moved from if() construction
[stg.git] / doc / xslt / params / compact.list.item.spacing.xml
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="compact.list.item.spacing">
7 <refmeta>
8 <refentrytitle>compact.list.item.spacing</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
10 </refmeta>  
11 <refnamediv>
12 <refname>compact.list.item.spacing</refname>
13 <refpurpose>What space do you want between list items (when spacing="compact")?</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="compact.list.item.spacing.frag"><xsl:attribute-set name="compact.list.item.spacing">
18   <xsl:attribute name="space-before.optimum">0em</xsl:attribute>
19   <xsl:attribute name="space-before.minimum">0em</xsl:attribute>
20   <xsl:attribute name="space-before.maximum">0.2em</xsl:attribute>
21 </xsl:attribute-set></src:fragment>
22 </refsynopsisdiv>
23 <refsection><info><title>Description</title></info>
24 <para>Specify what spacing you want between each list item when
25 <tag class="attribute">spacing</tag> is
26 <quote><literal>compact</literal></quote>.</para>
27 </refsection>
28 </refentry>