| 1 | <refentry id="sidebar.element"> |
| 2 | <?dbhtml filename="sidebar.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>sidebar</secondary></indexterm> |
| 11 | <refentrytitle>sidebar</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>sidebar</refname> |
| 16 | <refpurpose>&sidebar.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &sidebar.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A <sgmltag>Sidebar</sgmltag> is a short piece of text, rarely longer than a |
| 24 | single column or page, that is presented outside the narrative flow |
| 25 | of the main text. |
| 26 | </para> |
| 27 | <para> |
| 28 | Sidebars are often used for digressions or interesting observations that |
| 29 | are related, but not directly relevant, to the main text. |
| 30 | </para> |
| 31 | |
| 32 | <refsect2><title>Processing expectations</title> |
| 33 | <para> |
| 34 | &format.block; <sgmltag>Sidebar</sgmltag>s are sometimes boxed. |
| 35 | </para> |
| 36 | <para> |
| 37 | DocBook does not specify the location of the <sgmltag>Sidebar</sgmltag> within the |
| 38 | final displayed flow of text. The wrapper may float or remain where it is |
| 39 | located. |
| 40 | </para> |
| 41 | </refsect2> |
| 42 | |
| 43 | |
| 44 | &sidebar.parents.gen; |
| 45 | &sidebar.children.gen; |
| 46 | </refsect1> |
| 47 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 48 | &sidebar.seealso.gen; |
| 49 | </refsect1> |
| 50 | <refsect1><title>Examples</title> |
| 51 | |
| 52 | <informalexample role="example-source"> |
| 53 | <programlisting>&sidebar.example.1.txt;</programlisting> |
| 54 | </informalexample> |
| 55 | |
| 56 | &sidebar.example.seealso.gen; |
| 57 | </refsect1> |
| 58 | </refentry> |
| 59 |