Am 31.08.2013 um 18:35 schrieb Mari Voipio <[email protected]>:

> Hello,
> 
> I know I should be able to do it (and think I've done it once upon a
> time), but how do I change the font size just for \tt and for
> \starttyping \stoptyping environment?
> 
> I have no problems with the font used, I just want my typed text to be
> a tad smaller (like \tfx for that font).
> 
> Once again I feel very bewildered in the font land…

When you want a smaller size for the monospaced font you can use the rscale
key from \definetypeface.

\definetypeface [mainface] [rm] [serif] [modern] [default]
\definetypeface [mainface] [tt] [mono]  [modern] [default] [rscale=0.95]

\starttext
Serif text and {\tt monospaced text.}
\stoptext


The font (and also the font size) for the verbatim block could be changed with
the \setuptyping command, e.g.

  \setuptyping[bodyfont=11pt]

or

  \setuptyping[style=small]

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to