� wrote:
On Tue, 6 Dec 2005, Taco Hoekwater wrote:
cmbtt is a metafont-only font. As Hans said: have a look at latin
modern. If you really want cmbtt, you can use the pdftex primitive
\pdfpkresolution = 600
(for example) to specify a resolution.
Hello Taco,
thank you, \pdfpkresolution works well!
Indeed, there is a dark lm-type-writer font, and with LaTeX, you get it
automatically.
Test-file:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
\texttt{Normal and \textbf{bold Type-Writer}}
\end{document}
not automatically, you have to ask for it: \usepackage{lmodern}
and i guess that lmodern is not compatible with normal cmodern -)
But they are not so bold as the cmbtt ones. Anyway: how could the dark lmtt
font be activated in ConTeXt and could this be included in the
distribution?
by default, context loads the cmr fonts with design sizes, nowadays
replaced by their latin modern alternative
in order to be backward compatible (although one can dispute the
neccessity of this) the dark etc variants are not used
if you want them:
\starttypescript [mono] [computer-modern] [size]
\definebodyfont
[4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt,20.7pt] [tt]
[bf=LMTypewriter-Dark sa 1,
bs=LMTypewriter-DarkOblique sa 1]
\stoptypescript
\usetypescript[modern][texnansi] \setupbodyfont[modern]
\starttext
{\tt test \bf test \definedfont[MonoBold] test}
\stoptext
wil give it; however, easier is:
\usetypescript[modern-base][texnansi] \setupbodyfont[modern]
\starttext
{\tt test \bf test \definedfont[MonoBold] test}
\stoptext
this alternative used 10 pt as base and since we have hinting in latin
modern, the results are ok
\definetypeface [modern] [rm] [serif] [modern] [computer-modern]
[encoding=\typescripttwo]
\definetypeface [modern] [ss] [sans] [modern] [computer-modern]
[encoding=\typescripttwo]
\definetypeface [modern] [tt] [mono] [modern-cond] [computer-modern]
[encoding=\typescripttwo]
\definetypeface [modern] [mm] [math] [modern] [computer-modern]
[encoding=\typescripttwo]
will give give you condensed (modern-light will give you light)
Hans
Hans
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context