sidebar — A portion of a document that is isolated from the main narrative flow.
A sidebar is a short piece of text, rarely longer than a single column or page, that is presented outside the narrative flow of the main text.
Sidebars are often used for digressions or interesting observations that are related, but not directly relevant, to the main text.
Formatted as a displayed block. Sometimes sidebars are boxed or shaded.
DocBook does not specify the location of the sidebar within the final displayed flow of text. The wrapper may float or remain where it is located.
Common attributes and common linking attributes.
Specifies style information to be used when rendering the float
These elements contain sidebar: acknowledgements, answer, appendix, article, bibliodiv, bibliography, bibliolist, blockquote, callout, calloutlist, caption, chapter, colophon, cover, dedication, dialogue, drama, entry, example, figure, footnote, glossary, glossdef, glossdiv, glosslist, index, informalexample, informalfigure, itemizedlist, legalnotice, linegroup, listitem, note, orderedlist, para, partintro, poetry, preface, procedure, qandadiv, qandaset, question, revdescription, section, setindex, sidebar, simplesect, step, taskprerequisites, taskrelated, tasksummary, textobject, toc, variablelist.
The following elements occur in sidebar: address, anchor, bibliolist, blockquote, bridgehead, calloutlist, dialogue, drama, epigraph, equation, example, figure, formalpara, glosslist, indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), info (db.info), info (db.titleforbidden.info), informalequation, informalexample, informalfigure, informaltable, itemizedlist, literallayout, mediaobject, note, orderedlist, para, poetry, procedure, qandaset, remark, revhistory, sidebar, simpara, simplelist, subtitle, table, task, title, titleabbrev, variablelist.
1 <article xmlns='http://docbook.org/ns/docbook'> 2 <title>Example sidebar</title> 4 <section><title>An Example Section</title> 6 <para>Some narrative text. </para> 8 <sidebar><title>A Sidebar</title> 10 <para>Sidebar content. </para> 12 </sidebar> 14 <para>The continuing flow of the narrative text, as if the sidebar was not present. 16 </para> 18 </section> 20 </article>