XML technologies / DocBook / Block elements / Poetry

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

The element literallayout is used, for example, for poetry or similar material where line breaks are significant.

Example: A quotation

<blockquote>
   <attribution>Erich Fried</attribution>
   <literallayout>Es ist Unsinn
sagt die Vernunft
Es ist was es ist
sagt die Liebe

Es ist Unglück
sagt die Berechnung
...</literallayout>
</blockquote>

Here, as with programlisting or screen, make sure you start on the first line.

  

back to top