[NTG-context] problems with uppercase Greek letters in math
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Mon Mar 6 16:21:16 CET 2006
On 3/6/06, Adam Lindsay wrote:
> Mojca Miklavec wrote:
> > Hello,
> >
> > The uppercase Greek letters in the following example don't work since
> > the letters are taken from ec encoding, while the default TeX encoding
> > is assumed in the definitions of Phi, Psi, ... ("mr", math roman font)
> >
> > Any suggestions how to fix this strange behaviour?
> >
> > \starttypescript [something] [ec,texnansi]
> > \definetypeface [somename] [rm] [serif] [modern] [default]
> > [encoding=\typescripttwo]
> > \stoptypescript
>
> Hi Mojca,
>
> My rule-of-thumb would be that if you're going to use math in your
> document, you're best off defining something for the [mm] [math] family: ;)
Thanks a lot for the extremely quick answer. This solved the problem!
And it was really stupid of me. I actually use two typescripts in the
document and I defined math font in the second one (because I needed
another font for math in titles). But I thought that the default math
family was OK. It also worked without any problems untill I tried to
use ucgreek.
(Is [encoding=\typescripttwo] used in "math" or may it be left out?)
> \starttypescript [something] [ec,texnansi]
> \definetypeface [somename] [rm] [serif] [modern] [default]
> [encoding=\typescripttwo]
> \definetypeface [somename] [mm] [math] [modern] [modern]
> [encoding=\typescripttwo]
> \stoptypescript
Thanks again,
Mojca
More information about the ntg-context
mailing list