problems with uppercase Greek letters in math
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
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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
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