Hello, for printing python scripts, i wish that the code to be \tt and the reserved word \bold. They are but so lightly that the difference is quasi not visible. The normal text is [sansserif, 10 pt]. Is there a solution? Thanks, rb -- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/
Am 30.04.10 16:46, schrieb R. Bastian:
Hello,
for printing python scripts, i wish that the code to be \tt and the reserved word \bold. They are but so lightly that the difference is quasi not visible.
The normal text is [sansserif, 10 pt].
Is there a solution?
Use another font which has a better contrast between regular and bold. Wolfgang
On Sat, 01 May 2010 09:53:58 +0200
Wolfgang Schuster
Am 30.04.10 16:46, schrieb R. Bastian:
Hello,
for printing python scripts, i wish that the code to be \tt and the reserved word \bold. They are but so lightly that the difference is quasi not visible.
The normal text is [sansserif, 10 pt].
Is there a solution?
Use another font which has a better contrast between regular and bold.
Yes. The contrats of the tex fonts cmtt10 & cmttb10 is good (for me :). Bat, due to the Minimal installation, context can not found this fonts which exists in the texlive tree (from 2007) - i use them with plain tex.
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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 ___________________________________________________________________________________
-- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/
Am 01.05.10 11:25, schrieb R. Bastian:
Yes. The contrats of the tex fonts cmtt10& cmttb10 is good (for me :). Bat, due to the Minimal installation, context can not found this fonts which exists in the texlive tree (from 2007) - i use them with plain tex.
That's the best i can do with the minimals and Latin Modern. To be honest, use another font when you want to set your whole document in a sans serif style. \starttypescript [mono] [latinmodern-light] \definefontsynonym [Mono] [LMTypewriter-Light] \definefontsynonym [MonoBold] [LMTypewriter-Dark] \definefontsynonym [MonoItalic] [LMTypewriter-LightOblique] \definefontsynonym [MonoSlanted] [LMTypewriter-DarkOblique] \definefontsynonym [MonoBoldItalic] [LMTypewriter-DarkOblique] \definefontsynonym [MonoBoldSlanted] [LMTypewriter-Light] \definefontsynonym [MonoCaps] [LMTypewriter-Light] \definefontsynonym [MonoCapsSlanted] [LMTypewriter-Light] \stoptypescript \definetypeface [mainface] [rm] [serif] [modern] [default] \definetypeface [mainface] [ss] [sans] [modern] [default] %\definetypeface [mainface] [tt] [mono] [modern-light] [default] % no bold style, why? \definetypeface [mainface] [tt] [mono] [latinmodern-light] [default] \definetypeface [mainface] [mm] [math] [modern] [default] \setupbodyfont[mainface] \starttext \rm\tf regular \bf bold\par \ss\tf regular \bf bold\par \tt\tf regular \bf bold\par \stoptext Wolfgang
On Sat, 01 May 2010 12:32:22 +0200
Wolfgang Schuster
Am 01.05.10 11:25, schrieb R. Bastian:
Yes. The contrats of the tex fonts cmtt10& cmttb10 is good (for me :). Bat, due to the Minimal installation, context can not found this fonts which exists in the texlive tree (from 2007) - i use them with plain tex.
That's the best i can do with the minimals and Latin Modern.
To be honest, use another font when you want to set your whole document in a sans serif style.
\starttypescript [mono] [latinmodern-light] \definefontsynonym [Mono] [LMTypewriter-Light] \definefontsynonym [MonoBold] [LMTypewriter-Dark] \definefontsynonym [MonoItalic] [LMTypewriter-LightOblique] \definefontsynonym [MonoSlanted] [LMTypewriter-DarkOblique] \definefontsynonym [MonoBoldItalic] [LMTypewriter-DarkOblique] \definefontsynonym [MonoBoldSlanted] [LMTypewriter-Light] \definefontsynonym [MonoCaps] [LMTypewriter-Light] \definefontsynonym [MonoCapsSlanted] [LMTypewriter-Light] \stoptypescript
\definetypeface [mainface] [rm] [serif] [modern] [default] \definetypeface [mainface] [ss] [sans] [modern] [default] %\definetypeface [mainface] [tt] [mono] [modern-light] [default] % no bold style, why? \definetypeface [mainface] [tt] [mono] [latinmodern-light] [default] \definetypeface [mainface] [mm] [math] [modern] [default]
\setupbodyfont[mainface]
\starttext \rm\tf regular \bf bold\par \ss\tf regular \bf bold\par \tt\tf regular \bf bold\par \stoptext
Wolfgang
Thanks Wolfgang, I will try your proposal when I will be back - and try to install a complete installation of Context. rb . -- René Bastian www.pythoneon.org
On Fri, Apr 30, 2010 at 16:46, R. Bastian wrote:
for printing python scripts, i wish that the code to be \tt and the reserved word \bold. They are but so lightly that the difference is quasi not visible.
The normal text is [sansserif, 10 pt].
Is there a solution?
The best thing would be to bribe the Polish to add that font. (Though at the moment they are trying to catch the tight deadlines for releasing OpenType Math in LM, so it's not sure that they would have time to work on it before they release math fonts.) On Sun, May 2, 2010 at 10:45, R. Bastian wrote:
On Sat, 01 May 2010 12:32:22 +0200 Wolfgang Schuster scribit:
Yes. The contrats of the tex fonts cmtt10& cmttb10 is good (for me :). Bat, due to the Minimal installation, context can not found this fonts which exists in the texlive tree (from 2007) - i use them with plain tex.
They are Type3 (or is it from cm-super set)? We somehow deliberately decided to drop support for Type3 fonts in minimals.
%\definetypeface [mainface] [tt] [mono] [modern-light] [default] % no bold style, why?
Thanks Wolfgang, I will try your proposal when I will be back - and try to install a complete installation of Context.
Complete installation of ConTeXt won't help you (maybe ConTeXt scheme from TeX Live could help). There is no appropriate LM font available and we didn't add CM fonts to installation. Mojca
participants (3)
-
Mojca Miklavec
-
R. Bastian
-
Wolfgang Schuster