Fonts & Character Setsverbatim font size

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
rick1980
Posts: 9
Joined: Tue Nov 03, 2009 6:42 pm

verbatim font size

Post by rick1980 »

Hey ho,

I need to make the font size of the verbatim environment smaller is there any way to do that? I'm using TexLive with Kile.

Regards
Rick

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

verbatim font size

Post by localghost »

Use appropriate switches to change the font size.

Code: Select all

\Huge
\begin{verbatim}
  \Huge
\end{verbatim}
\normalsize

Best regards
Thorsten
rick1980
Posts: 9
Joined: Tue Nov 03, 2009 6:42 pm

Re: verbatim font size

Post by rick1980 »

Thx, that works!

I actually thought id wouldn't because \begin{center} does not.

anyway thanks a lot!!!
Post Reply