TeXnik - Tips TeX and LaTeX


Welcome to the TeXnik website (under construction)

Verbatim mode
TUG logo

Main page

Index
UK FAQ
Documentation
Software
CTAN
Search CTAN:

Statistics

Google c.t.t.

Google d.c.t.t.

 


 


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

local time: Sat Dec 7 21:16:51 CET 2019 ; file is: 162.333287037037 days old
contact webmaster _at_ TeXnik.de