TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking to use lcmtt mentioned here as my default typewriter font, but the scaling is way out of proportion with the rest of the text. I've used the following commands to enable the font:


How can I scale down this \tt font document wide?

...sorry if this is trivial, but I can't seem to crack it.

share|improve this question
up vote 10 down vote accepted

You could use \DeclareFontShape for the scaling. Example:

Text \texttt{Text}

Here I changed only the original value found in t1lcmtt.fd from 19.907 to 10.8, the rest I kept unchanged. Adjust this value 10.8 to see the scaling change.

roman and typewriter

share|improve this answer

Using the anyfontsize package:

enter image description here

\usepackage[T1]{fontenc}% http://ctan.org/pkg/fontenc
\usepackage{anyfontsize}% http://ctan.org/pkg/anyfontsize
This is regular text. \texttt{This is typewriter text.} \par
This is regular text. \texttt{This is typewriter text.}
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.