Verbatim

Origem: Tex-Br, a enciclopédia livre.

Para ter mais opções, use o pacote:

\usepackage{fancyvrb}


Algumas opções interessantes são:

  • Família da fonte:
\begin{Verbatim}[fontfamily=helvetica]
Verbatim line.
\end{Verbatim}
  • Tamanho da fonte:
\begin{Verbatim}[fontsize=\small]
Verbatim line.
\end{Verbatim}
  • Característica da fonte:
\begin{Verbatim}[fontfamily=courier,fontshape=it]
Verbatim line.
\end{Verbatim}
  • Molduras:
\begin{Verbatim}[frame=topline]
Verbatim line.
\end{Verbatim}
\begin{Verbatim}[frame=bottomline]
Verbatim line.
\end{Verbatim}
\begin{Verbatim}[frame=lines]
Verbatim line.
\end{Verbatim}
\begin{Verbatim}[frame=single]
Verbatim line.
\end{Verbatim}

Para mais detalhes, veja a documentação do pacote fancyvbr

Personal tools