1 <refentry xmlns="http://docbook.org/ns/docbook"
\r
2 xmlns:xlink="http://www.w3.org/1999/xlink"
\r
3 xmlns:xi="http://www.w3.org/2001/XInclude"
\r
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
\r
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
\r
6 version="5.0" xml:id="side.float.properties">
\r
8 <refentrytitle>side.float.properties</refentrytitle>
\r
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
\r
12 <refname>side.float.properties</refname>
\r
13 <refpurpose>Attribute set for side float container properties</refpurpose>
\r
17 <src:fragment xml:id="side.float.properties.frag">
\r
18 <xsl:attribute-set name="side.float.properties">
\r
19 <xsl:attribute name="width">2in</xsl:attribute>
\r
20 <xsl:attribute name="padding-start">4pt</xsl:attribute>
\r
21 <xsl:attribute name="padding-end">4pt</xsl:attribute>
\r
22 <xsl:attribute name="padding-top">2pt</xsl:attribute>
\r
23 <xsl:attribute name="padding-bottom">2pt</xsl:attribute>
\r
24 <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute>
\r
25 <xsl:attribute name="margin-{$direction.align.end}">0pt</xsl:attribute>
\r
26 <xsl:attribute name="text-align">start</xsl:attribute>
\r
27 </xsl:attribute-set>
\r
31 <refsection><info><title>Description</title></info>
\r
33 <para>Properties that are applied to the
\r
34 <tag class="element">fo:block-container</tag> inside of
\r
35 a side float that is generated by the template named
\r
36 <literal>floater</literal>.
\r
37 That template generates a side float
\r
38 when the <parameter>side.float.type</parameter> is set to one
\r
39 of the values for a side float.</para>
\r
41 <para>If you do only <literal>left</literal> or
\r
42 <literal>start</literal> side floats, you may want to set the
\r
43 <literal>padding-start</literal> attribute to zero.
\r
44 If you do only <literal>right</literal> or
\r
45 <literal>end</literal> side floats, you may want to set the
\r
46 <literal>padding-end</literal> attribute to zero.
\r