informalexample
informalexample — A displayed example without a title.
Synopsis
- Sequence of:
info? (db.titleforbidden.info)- One or more of:
annotationbridgeheadremarkrevhistory- Indexing inlines 
![[-]](figs/web/nav/down.gif)
 - Admonition elements 
![[-]](figs/web/nav/down.gif)
 - Formal elements 
![[-]](figs/web/nav/down.gif)
 - Graphic elements 
![[-]](figs/web/nav/down.gif)
 - Informal elements 
![[-]](figs/web/nav/down.gif)
informalequationinformalexampleinformalfigureinformaltable(db.cals.informaltable)informaltable(db.html.informaltable)
 - List elements 
![[-]](figs/web/nav/down.gif)
 - Paragraph elements 
![[-]](figs/web/nav/down.gif)
 - Publishing elements 
![[-]](figs/web/nav/down.gif)
 - Synopsis elements 
![[-]](figs/web/nav/down.gif)
 - Technical elements 
![[-]](figs/web/nav/down.gif)
 - Verbatim elements 
![[-]](figs/web/nav/down.gif)
 
 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 programlistings 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>
1 2 sub print_content_model { my($self) = shift; 4 local($_) = shift; local(*FILE) = shift; 6 my(@cm) = $self->format_content_model2($_); 8 foreach $_ (@cm) { print FILE $self->make_links($_, 1, 1), "\n"; 10 } }




![[+]](figs/web/nav/right.gif)