tbook: User Element View [DTD Element View]
[Home] [Elements] [Entities] [Prev] [Next]

Element verbatim

Synopsis

Mixed Content Model

(#PCDATA|em|visual|ix|idx|indexsee)*

Attributes

NameTypeDefault Value
style CDATA None
class CDATA None
xml:lang NMTOKEN None
id ID None

Parameter Entities

The following parameter entities contain verbatim: block, preformat, sectbegin

Description

Corresponds to LaTeX's verbatim environment. In this context XML's <![CDATA[...]]> is sometimes useful. Please note that – in contrast to LaTeX – some formatting elements are allowed. So you may print things in bold face, for example.

Parents

article, chapter, index, item, letter, p, paragraph, proof, references, section, subparagraph, subsection, subsubsection, theorem

Children

em, idx, indexsee, ix, visual

Example

<verbatim>
<em>for</em>(<em>int</em> i=0; i&lt;10; i++) {
  printf("%d\n", i);
}
</verbatim>

This yields:

for(int i=0; i<10; i++) {
  printf("%d\n", i);
}


HTML Presentation of tbook by DTDParse (version 2.0beta6).