XML technologies / DocBook / Block elements / Sidebars

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

For text that should appear outside the main text flow, use the element sidebar, which creates a sidebar.

<section>
 <title>Ein Titel einer Randnotiz</title>
 <sidebar>
   <para>Ein Text innerhalb der Randnotiz.</para>
 </sidebar>
 <para>Weiterer Text ... </para>
</section>

Note that the element sidebar is best placed before the object being marked up (before a paragraph in the example above). The figure shows what a sidebar can look like: Formatting sidebar.

  

back to top