informalexample
informalexample — A displayed example without a title.
Synopsis
- Sequence of:
info
? (db.titleforbidden.info)- One or more of:
annotation
bridgehead
remark
revhistory
- Indexing inlines
- Admonition elements
- Formal elements
- Graphic elements
- Informal elements
informalequation
informalexample
informalfigure
informaltable
(db.cals.informaltable)informaltable
(db.html.informaltable)
- List elements
- Paragraph elements
- Publishing elements
- Synopsis elements
- Technical elements
- Verbatim elements
caption
? (db.caption)
Attributes
Common attributes and common linking attributes.
Additional attributes:
- floatstyle
- width (nonNegativeInteger)
Description
An informalexample
is a wrapper for an example
without a title. Examples often contain programlisting
s or
other large block elements.
Processing expectations
Formatted as a displayed block.
Attributes
Common attributes and common linking attributes.
- floatstyle
Specifies style information to be used when rendering the float
- width
Specifies the width (in characters) of the element
This element occurs in 73 elements.
This element contains 61 elements.
See Also
equation
, example
, figure
, informalequation
, informalfigure
, informaltable
, table
Examples
1 <article xmlns='http://docbook.org/ns/docbook'> 2 <title>Example informalexample</title> 4 <informalexample> <programlisting> 6 sub print_content_model { my($self) = shift; 8 local($_) = shift; local(*FILE) = shift; 10 my(@cm) = $self->format_content_model2($_); 12 foreach $_ (@cm) { print FILE $self->make_links($_, 1, 1), "\n"; 14 } } 16 </programlisting> </informalexample> 18 </article>