lineannotation
lineannotation — A comment on a line in a verbatim listing.
Synopsis
- Zero or more of:
- text
phrase(db._phrase)replaceable- Graphic inlines
![[+]](figs/web/nav/right.gif)
- Indexing inlines
![[+]](figs/web/nav/right.gif)
- Linking inlines
![[+]](figs/web/nav/right.gif)
- Ubiquitous inlines
![[+]](figs/web/nav/right.gif)
Attributes
Description
A lineannotation is an author’s or editor’s
comment on a line in one of the verbatim environments. These are
annotations added by the documentor; they are not part of the original
listing.
Processing expectations
Formatted inline. In verbatim environments like
programlisting, which are often presented in a
fixed-width font, they may get special typographic treatment, such as
italics.
If several lineannotations occur in the same
listing, they may be aligned horizontally.
Parents
These elements contain lineannotation: classsynopsisinfo, funcsynopsisinfo, literallayout, programlisting, rhs, screen, synopsis.
See Also
computeroutput, literallayout, programlisting, screen, screenshot, synopsis, userinput
Examples
1 <article xmlns='http://docbook.org/ns/docbook'> 2 <title>Example lineannotation</title> 4 <screen> <entry> <lineannotation>Error: No line break before block element</lineannotation> 6 <para> A paragraph of text. 8 </para></entry> </screen> 10 </article>
1 2 <entry> Error: No line break before block element <para> 4 A paragraph of text. </para></entry>




![[-]](figs/web/nav/down.gif)