[15c7d39] | 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="side.float.properties">
|
---|
| 7 | <refmeta>
|
---|
| 8 | <refentrytitle>side.float.properties</refentrytitle>
|
---|
| 9 | <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
|
---|
| 10 | </refmeta>
|
---|
| 11 | <refnamediv>
|
---|
| 12 | <refname>side.float.properties</refname>
|
---|
| 13 | <refpurpose>Attribute set for side float container properties</refpurpose>
|
---|
| 14 | </refnamediv>
|
---|
| 15 |
|
---|
| 16 | <refsynopsisdiv>
|
---|
| 17 | <src:fragment xml:id="side.float.properties.frag">
|
---|
| 18 | <xsl:attribute-set name="side.float.properties">
|
---|
| 19 | <xsl:attribute name="width">2in</xsl:attribute>
|
---|
| 20 | <xsl:attribute name="padding-start">4pt</xsl:attribute>
|
---|
| 21 | <xsl:attribute name="padding-end">4pt</xsl:attribute>
|
---|
| 22 | <xsl:attribute name="padding-top">2pt</xsl:attribute>
|
---|
| 23 | <xsl:attribute name="padding-bottom">2pt</xsl:attribute>
|
---|
| 24 | <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute>
|
---|
| 25 | <xsl:attribute name="margin-{$direction.align.end}">0pt</xsl:attribute>
|
---|
| 26 | <xsl:attribute name="text-align">start</xsl:attribute>
|
---|
| 27 | </xsl:attribute-set>
|
---|
| 28 | </src:fragment>
|
---|
| 29 | </refsynopsisdiv>
|
---|
| 30 |
|
---|
| 31 | <refsection><info><title>Description</title></info>
|
---|
| 32 |
|
---|
| 33 | <para>Properties that are applied to the
|
---|
| 34 | <tag class="element">fo:block-container</tag> inside of
|
---|
| 35 | a side float that is generated by the template named
|
---|
| 36 | <literal>floater</literal>.
|
---|
| 37 | That template generates a side float
|
---|
| 38 | when the <parameter>side.float.type</parameter> is set to one
|
---|
| 39 | of the values for a side float.</para>
|
---|
| 40 |
|
---|
| 41 | <para>If you do only <literal>left</literal> or
|
---|
| 42 | <literal>start</literal> side floats, you may want to set the
|
---|
| 43 | <literal>padding-start</literal> attribute to zero.
|
---|
| 44 | If you do only <literal>right</literal> or
|
---|
| 45 | <literal>end</literal> side floats, you may want to set the
|
---|
| 46 | <literal>padding-end</literal> attribute to zero.
|
---|
| 47 | </para>
|
---|
| 48 |
|
---|
| 49 | </refsection>
|
---|
| 50 | </refentry>
|
---|