verbatim

Environment in package verbatim.

Synopsis

\begin{verbatim}[class]
  ...
\end{verbatim}

Description

Outputs the content of the environment without interpreting any TeX commands, environments,
or special characters.

Usually rendered in monospaced font without changing whitespaces and linebreaks.

An optional css class can be set.

Example

\begin{verbatim}
  Lorem ipsum dolor sit amet, \emth{consetetur sadipscing} elitr, sed diam.

  \ / ^ < > & ~ & $

  $x^2 = \frac{1}{\sin(y)}$

  \begin{itemize}
    \item
    \item
  \end{itemize}

\end{verbatim}

Result, as rendered by your browser

  Lorem ipsum dolor sit amet, \emth{consetetur sadipscing} elitr, sed diam.

  \ / ^ < > & ~ & $

  $x^2 = \frac{1}{\sin(y)}$

  \begin{itemize}
    \item
    \item
  \end{itemize}


This page is generated automatically and each change here will be replaced on a next update.

Add picture from clipboard (Maximum size: 500 MB)