$Date$
$Revision$
elements
literallayout
literallayout
Element
literallayout
&literallayout.purpose;
&literallayout.synopsis.gen;
Description
LiteralLayout is a verbatim environment. Unlike the other
verbatim environments, it does not have strong semantic overtones and
may not imply a font change.
Processing expectations
&pexp.linespecific;
Unlike
ProgramListing and Screen, which usually
imply a font change, LiteralLayout does not.
How spaces are to be represented faithfully in a proportional
font is not addressed by DocBook.
In DocBook V3.1, the Class attribute
was added to give users control over the font used in
LiteralLayouts. If the Class attribute is specified and its value is
Monospaced, then the LiteralLayout
will be presented in a monospaced font, probably the same one
used for other verbatim environments. The default value for
Class is Normal, meaning
that no font change will occur.
&FutureChanges;
&fu.interfacedefinition;
&FutureChanges;
The xml:space attribute is automatically
provided in the XML DTD.
&literallayout.parents.gen;
&literallayout.children.gen;
Attributes
class
Class distinguishes between literal layout
environments that are presented in a monospaced font and literal layout
environments that have no implicit font change.
format
The Format attribute applies the
linespecific notation to all LiteralLayouts.
All white space and line breaks must be preserved.
linenumbering
Line numbering indicates whether or not the lines
of a LiteralLayout are to be automatically numbered. The details
of numbering (every line or only selected lines, on the left or right, etc.)
are left up to the processing application. Be aware that not all processors
are capable of numbering lines.
width
Width specifies the width (in characters)
of the longest line in this LiteralLayout (formatters may use
this value to determine scaling or rotation).
See Also
&literallayout.seealso.gen;
Examples
&literallayout.example.1.txt;
&literallayout.example.1.gen;
&literallayout.example.seealso.gen;