|
|
Welcome to the TeXnik web site Verbatim mode |
![]() |
||||||||||
|
Centered verbatim |
Font |
Framed verbatim |
loop...repeat and verbatim | New verbatim environment |
Verbatim Centered |
Font \makeatletter
\renewcommand\verbatim@font{\large\normalfont\ttfamily}
\makeatother
in the preamble or anywhere in the text body.
Framed verbatim It is not possible to use the default verbatim mode in \fbox. The following example
creates a new macro \fverb. Another possibility is to use the packages \fancyvrb
or pstricks.
loop..repeat and verbatim It is not possible to use the default verbatim mode in a loop. Choose package fancyvrb and the SaveVerbatim environment.
new verbatim environment The following example defines a new verbatim environment with a different font size. It uses the packages verbatim
|
|||||||||||