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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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