ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bold typewriter cm-font
@ 2004-05-13 17:38 Peter Münster
  2004-05-14 19:45 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Münster @ 2004-05-13 17:38 UTC (permalink / raw)


Hello,
I'm quite lucky, that I've finally got a bold typewriter font. Could you
just tell me please, if this is the right ConTeXt-way to do it?

\usetypescript[modern][texnansi]
\setupbodyfont[modern]

\definebodyfont [12pt] [tt] [bf=cmttb10 at 12pt]
\definebodyfont [11pt] [tt] [bf=cmttb10 at 11pt]
\definebodyfont [10pt] [tt] [bf=cmttb10]
\definebodyfont [9pt] [tt] [bf=cmttb10 at 9pt]
\definebodyfont [8pt] [tt] [bf=cmttb10 at 8pt]
%\definebodyfont [12pt] [tt] [bf=cmbtt10 at 12pt]
%\definebodyfont [11pt] [tt] [bf=cmbtt10 at 11pt]
%\definebodyfont [10pt] [tt] [bf=cmbtt10]
%\definebodyfont [9pt] [tt] [bf=cmbtt9]
%\definebodyfont [8pt] [tt] [bf=cmbtt8]

\starttext
\tt hugo \bf hugo
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
________________________________________________________________
FilmSearch engine with a lot of new features: http://f-s.sf.net/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bold typewriter cm-font
  2004-05-13 17:38 bold typewriter cm-font Peter Münster
@ 2004-05-14 19:45 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2004-05-14 19:45 UTC (permalink / raw)


At 19:38 13/05/2004, you wrote:

>I'm quite lucky, that I've finally got a bold typewriter font. Could you
>just tell me please, if this is the right ConTeXt-way to do it?
>
>\usetypescript[modern][texnansi]
>\setupbodyfont[modern]
>
>\definebodyfont [12pt] [tt] [bf=cmttb10 at 12pt]
>\definebodyfont [11pt] [tt] [bf=cmttb10 at 11pt]
>\definebodyfont [10pt] [tt] [bf=cmttb10]
>\definebodyfont [9pt] [tt] [bf=cmttb10 at 9pt]
>\definebodyfont [8pt] [tt] [bf=cmttb10 at 8pt]
>%\definebodyfont [12pt] [tt] [bf=cmbtt10 at 12pt]
>%\definebodyfont [11pt] [tt] [bf=cmbtt10 at 11pt]
>%\definebodyfont [10pt] [tt] [bf=cmbtt10]
>%\definebodyfont [9pt] [tt] [bf=cmbtt9]
>%\definebodyfont [8pt] [tt] [bf=cmbtt8]

best you can make a file type-loc.tex:

\starttypescript [mono] [computer-modern] [size]

   \definebodyfont [12pt] [tt] [bf=cmttb10 at 12pt]
   \definebodyfont [11pt] [tt] [bf=cmttb10 at 11pt]

\stoptypescript

>\starttext
>\tt hugo \bf hugo
>\stoptext

Hans

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-14 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-13 17:38 bold typewriter cm-font Peter Münster
2004-05-14 19:45 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).