summaryrefslogtreecommitdiffstats
blob: 0a6d904ccafc2eff62288c2188b2dc9d02b00a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<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>