[NTG-context] definetypeface vs math symbols

Hans Hagen pragma at wxs.nl
Mon Jul 10 23:05:48 CEST 2006


Ralf Schmitt wrote:
> Ralf Schmitt wrote:
>   
>> Thomas A. Schmitz wrote:
>>     
>>> 1. define the math font as well:
>>> \definetypeface [charter] [mm] [math] [modern] [default] [encoding=ec]
>>>
>>> and see if this solves your problem.
>>>       
>> This works.
>>
>>     
>
> Until one tries to use a bold font with \bf. This is the complete list 
> of commands I use to circumvent that problem:
>
> \usetypescript[serif][charter][ec]
> \definetypeface [charter] [it] [italics] [modern] [default][encoding=ec]
> \definetypeface [charter] [bf] [bold] [modern] [default] [encoding=ec]
> \definetypeface [charter] [mm] [math] [modern] [default] [encoding=ec]
> \definetypeface [charter] [rm] [serif] [charter] [default] [encoding=ec]
> \definetypeface [charter] [tt] [mono] [charter] [default] [encoding=ec]
> \setupbodyfont [charter, 11pt]
>
>
> (Just to keep the archives complete...actually I don't understand what 
> I'm doing (wrong?) here.)
>   
\definetypeface [charter] [it] [italics] [modern] [default][encoding=ec]
\definetypeface [charter] [bf] [bold] [modern] [default] [encoding=ec]

does not make sense, 

\usetypescript[serif][charter][ec]
\definetypeface [charter] [rm] [serif] [charter] [default] [encoding=ec]
\definetypeface [charter] [mm] [math] [modern] [default] [encoding=ec]
\definetypeface [charter] [tt] [mono] [charter] [default] [encoding=ec]

\setupbodyfont [charter, 11pt] % rm si default since defined first 

or 

\setupbodyfont [charter, 11pt, rm] 



\setupbodyfont [charter, 11pt]



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list