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: Thu Apr 18 03:04:13 CEST 2024 ; file is: 1755.53284722222 days old
contact webmaster _at_ TeXnik.de