☰ Click for Table of Contents
BookWiki Documentation
Copyright 2026
Rance D. Necaise

Verbatim Text

The document module defines the verbatim environments similar to the one provided by LaTeX for including text as supplied with no formatting or styling.

document module
\begin{verbatim}[style=cssnames]
   ...
\end{verbatim}
Creates a verbatim block using the <pre> element. Be default, the block is indented from the left margin.
Key:
style

The name of one or more style classes that are appended to the class name of the list. This allows for additional styling of the verbatim block. The current styles defined for a verbatim block are provided below:

ValueDescription
indentindents the block over slightly from the left margin.
compactreduces the inter-line spacing by setting the line height to 1em.
Plugin:  VerbatimBlock
Example
source
  1. \begin{verbatim}
  2.   Test this
  3. verbatim block of text.
  4.  
  5. This is another line.
  6. \end{verbatim}
  Test this 
verbatim block of text.

This is another line.
results
  August 21, 2026 at 12:43 PM