Hi Adam, <--- On Dec 7, Adam Lindsay wrote --->
Aditya Mahajan wrote:
I want to use palatino text with euler math in my document. This is how I proceed.
1. I downloaded latest mswincontext environment from pragma website. 2. To test if palatino works correctly, I tested the simple document.
%--------- \usetypescript[palatino][texnansi] \switchtobodyfont[palatino,11pt] \starttext This is a test . \stoptext %---------------
Everything works fine, and the text is in pallatino (the urw clone). However, when I look at fonts included in the document, Latin Modern is also there. I am just curious as how LM got into the document, and can I get rid of it.
You'll find that the page number is latin modern. You can expunge that by saying: \setupbodyfont[palatino,11pt] % instead of \switchtobodyfont
(setupbodyfont is document-wide)
Thanks, that did the trick.
Okay. Time to dust off the web pages and insert disclaimers. That's an old article. Euler support got (improved and) included into the ConTeXt core.
That is great.
Current usage looks something like:
\definetypeface [pal] [rm] [serif] [palatino] [default] [encoding=texnansi] \definetypeface [pal] [tt] [mono] [modern] [default] [encoding=texnansi,rscale=1.1] \definetypeface [pal] [mm] [math] [euler] [euler] [rscale=1.03]
\loadmapfile[original-ams-euler] % This needs to be added!
\setupbodyfont [pal,11pt] \starttext This is a test $a \neq \frac{b}{c}$. \stoptext
Lengthy explanations aren't on offer tonight, sorry. I hope this sets you in the right direction, though.
The above setup works perfectly. Thanks a lot. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008