Generalscale texttt?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
thrope
Posts: 9
Joined: Tue Jun 03, 2008 10:41 pm

scale texttt?

Post by thrope »

Hi,

How can I scale the size of \texttt text?

I have redefined the font with
\renewcommand{\ttdefault}{txtt}
since I really like txtt. However it looks to big relative to my normal text. Is there anyway I can scale the size (as packages such as helvet allow).

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

scale texttt?

Post by Stefan Kottwitz »

I don't know an option for scaling it like helvet provides. txtt belongs to the txfonts package and its only option is varg.
One workaround could be to define a macro that calls texttt and an appropriate command of the relsize package, or to redefine \texttt.

Stefan
LaTeX.org admin
Post Reply