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="sidebar.float.type">
8 <refentrytitle>sidebar.float.type</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
10 <refmiscinfo class="other" otherclass="value">none</refmiscinfo>
11 <refmiscinfo class="other" otherclass="value">before</refmiscinfo>
12 <refmiscinfo class="other" otherclass="value">left</refmiscinfo>
13 <refmiscinfo class="other" otherclass="value">start</refmiscinfo>
14 <refmiscinfo class="other" otherclass="value">right</refmiscinfo>
15 <refmiscinfo class="other" otherclass="value">end</refmiscinfo>
16 <refmiscinfo class="other" otherclass="value">inside</refmiscinfo>
17 <refmiscinfo class="other" otherclass="value">outside</refmiscinfo>
20 <refname>sidebar.float.type</refname>
21 <refpurpose>Select type of float for sidebar elements</refpurpose>
25 <src:fragment xml:id="sidebar.float.type.frag">
26 <xsl:param name="sidebar.float.type">none</xsl:param>
30 <refsection><info><title>Description</title></info>
32 <para>Selects the type of float for sidebar elements.
36 <para>If <parameter>sidebar.float.type</parameter> is
37 <quote><literal>none</literal></quote>, then
42 <para>If <parameter>sidebar.float.type</parameter> is
43 <quote><literal>before</literal></quote>, then
44 the float appears at the top of the page. On some processors,
45 that may be the next page rather than the current page.
50 <para>If <parameter>sidebar.float.type</parameter> is
51 <quote><literal>left</literal></quote>,
52 then a left side float is used.
57 <para>If <parameter>sidebar.float.type</parameter> is
58 <quote><literal>start</literal></quote>,
59 then when the text direction is left-to-right a left side float is used.
60 When the text direction is right-to-left, a right side float is used.
65 <para>If <parameter>sidebar.float.type</parameter> is
66 <quote><literal>right</literal></quote>,
67 then a right side float is used.
72 <para>If <parameter>sidebar.float.type</parameter> is
73 <quote><literal>end</literal></quote>,
74 then when the text direction is left-to-right a right side float is used.
75 When the text direction is right-to-left, a left side float is used.
80 <para>If your XSL-FO processor supports floats positioned on the
81 <quote><literal>inside</literal></quote> or
82 <quote><literal>outside</literal></quote>
83 of double-sided pages, then you have those two
84 options for side floats as well.