Hello, is there a way to insert plain tex code in context source ? example: \startTEX \font\ttbold=cmbtt10 at 12pt .... {\ttbold texte monospace en gras} ... \stopTEX -- René Bastian www.pythoneon.org
Am 01.08.10 14:00, schrieb R. Bastian:
Hello,
is there a way to insert plain tex code in context source ? Most of the plain TeX commands work in ConTeXt out of the box but ConTeXt’s own commands and environments are recommended.
I converted the font you want to use into type1 format (http://drp.ly/1sFxdF), to use it you should use \definefont which scales the font to match the size of the normal text: \definefont[ttbold][file:cmbtt10] \starttext \tt text \ttbold text \stoptext Wolfgang
On Sun, 01 Aug 2010 14:59:39 +0200
Wolfgang Schuster
Am 01.08.10 14:00, schrieb R. Bastian:
Hello,
is there a way to insert plain tex code in context source ? Most of the plain TeX commands work in ConTeXt out of the box but ConTeXt’s own commands and environments are recommended.
I converted the font you want to use into type1 format (http://drp.ly/1sFxdF), to use it you should use \definefont which scales the font to match the size of the normal text:
\definefont[ttbold][file:cmbtt10] \starttext \tt text \ttbold text \stoptext
Wolfgang
Many thanks! it works. -- Ren\'e Bastian (charset problems with this mail ?) www.pythoneon.org w
participants (2)
-
R. Bastian
-
Wolfgang Schuster