Bold typewriter

From Wiki
Revision as of 09:51, 21 July 2004 by Patrick Gundlach (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

< From LaTeX to ConTeXt


\texttt{Normal and \textbf{bold Typewriter.}}

ConTeXt: Put this in /usr/share/texmf/tex/context/third/type-loc.tex:

\starttypescript [mono] [computer-modern] [size]
\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]

and then:

{\tt Normal and \bf bold Typewriter.}