Re: [NTG-context] Math setup with Times (Termes)
Hello
I now get italic math (but roman h for example). So this needs to be fixed a bit, but it's the right direction at least. (Though it might be better to use generic names like "regular" or "italic" for name= in case that users try to use some other times-like base font for example.)
Wow, Mojca! God bless you! Can I assist you now? Just explain me what to do. Regards, Vyatcheslav
On Thu, Nov 12, 2009 at 15:19, Vyatcheslav Yatskovsky wrote:
Hello
I now get italic math (but roman h for example). So this needs to be fixed a bit, but it's the right direction at least. (Though it might be better to use generic names like "regular" or "italic" for name= in case that users try to use some other times-like base font for example.)
Wow, Mojca! God bless you!
Can I assist you now? Just explain me what to do.
You can take a look at \starttext \loadmapfile[original-youngryu-tx.map] \font\testlm=lmmi10.tfm \font\testone=rtxmi.tfm \testone \font\testtwo=rtxptmri.tfm \testtwo \dostepwiserecurse{0}{127}{1}{% \strut\hbox to 4ex{\recurselevel}% \hbox to 2.6ex{\color[red]{\testone\char\recurselevel}}% \hbox to 2.6ex{\color[blue]{\testtwo\char\recurselevel}}% \hbox to 2.6ex{\color[black]{\testlm\char\recurselevel}} } \stoptext Then two copies of tex-mi in math-vfu are needed (some other name has to be assigned). One where only red characters are used and the other one where all the others are left (just comment out the rest that's not needed). You probably need to map g, v, w, y, ... separately to the math italic unicode range (that's not done in current tex-mi). You may visually check if that's consistent with LM font in the third row. Mojca (Thinking one step further ... one could take all the greek letters from TeX Gyre as well, though I'm not 100% sure ... it could be that there is some metric information present in these tfm files that's missing in otf fonts.)
Mojca Miklavec wrote:
(Thinking one step further ... one could take all the greek letters from TeX Gyre as well, though I'm not 100% sure ... it could be that there is some metric information present in these tfm files that's missing in otf fonts.)
be careful with greek ... you never know if it will stay in gyre this way Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Mojca Miklavec
-
Vyatcheslav Yatskovsky