problems with uppercase Greek letters in math
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
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? Thanks a lot, Mojca \starttypescript [something] [ec,texnansi] \definetypeface [somename] [rm] [serif] [modern] [default] [encoding=\typescripttwo] \stoptypescript \usetypescript[something][ec] \setupbodyfont[somename,rm] \starttext $\Psi\Phi\Lambda$ \stoptext
![](https://secure.gravatar.com/avatar/a5d42c1ccacf33c72fd502fe1bb5ffa9.jpg?s=120&d=mm&r=g)
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: ;) \starttypescript [something] [ec,texnansi] \definetypeface [somename] [rm] [serif] [modern] [default] [encoding=\typescripttwo] \definetypeface [somename] [mm] [math] [modern] [modern] [encoding=\typescripttwo] \stoptypescript Hope that helps. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/a5d42c1ccacf33c72fd502fe1bb5ffa9.jpg?s=120&d=mm&r=g)
Mojca Miklavec wrote:
(Is [encoding=\typescripttwo] used in "math" or may it be left out?)
I tend to leave it out. I believe the encoding= value there is ignored. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
participants (2)
-
Adam Lindsay
-
Mojca Miklavec