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.

Stefan Kottwitz
Site Admin
Posts: 10345
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