<refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="5.0" xml:id="side.float.properties">
<refmeta>
<refentrytitle>side.float.properties</refentrytitle>
<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
</refmeta>
<refnamediv>
<refname>side.float.properties</refname>
<refpurpose>Attribute set for side float container properties</refpurpose>
</refnamediv>
<refsynopsisdiv>
<src:fragment xml:id="side.float.properties.frag">
<xsl:attribute-set name="side.float.properties">
<xsl:attribute name="width">2in</xsl:attribute>
<xsl:attribute name="padding-start">4pt</xsl:attribute>
<xsl:attribute name="padding-end">4pt</xsl:attribute>
<xsl:attribute name="padding-top">2pt</xsl:attribute>
<xsl:attribute name="padding-bottom">2pt</xsl:attribute>
<xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute>
<xsl:attribute name="margin-{$direction.align.end}">0pt</xsl:attribute>
<xsl:attribute name="text-align">start</xsl:attribute>
</xsl:attribute-set>
</src:fragment>
</refsynopsisdiv>
<refsection><info><title>Description</title></info>
<para>Properties that are applied to the
<tag class="element">fo:block-container</tag> inside of
a side float that is generated by the template named
<literal>floater</literal>.
That template generates a side float
when the <parameter>side.float.type</parameter> is set to one
of the values for a side float.</para>
<para>If you do only <literal>left</literal> or
<literal>start</literal> side floats, you may want to set the
<literal>padding-start</literal> attribute to zero.
If you do only <literal>right</literal> or
<literal>end</literal> side floats, you may want to set the
<literal>padding-end</literal> attribute to zero.
</para>
</refsection>
</refentry>