Calligraphic Font with palatino and euler
Hi, When I use palatino and euler, I do not get calligraphic font. How can I define a typescript to use the calligraphic font from lm. This is my setup \definetypeface [pal] [rm] [serif] [palatino] [default] [encoding=texnansi] \definetypeface [pal] [tt] [mono] [modern] [default] [encoding=texnansi,rscale=1.1] \definetypeface [pal] [ss] [sans] [modern] [default] [encoding=texnansi,rscale=1.1] \definetypeface [pal] [mm] [math] [euler] [euler] [rscale=1.03] \setupbodyfont[pal,10pt] \starttext ${\cal A}A {\cal B}B$ \stoptext Thanks Aditya  Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam  Ph: 7342624008
On Sat, 8 Apr 2006, Aditya Mahajan wrote:
Hi, When I use palatino and euler, I do not get calligraphic font. How can I define a typescript to use the calligraphic font from lm.
This is my setup
\definetypeface [pal] [rm] [serif] [palatino] [default] [encoding=texnansi]
\definetypeface [pal] [tt] [mono] [modern] [default] [encoding=texnansi,rscale=1.1]
\definetypeface [pal] [ss] [sans] [modern] [default] [encoding=texnansi,rscale=1.1]
\definetypeface [pal] [mm] [math] [euler] [euler] [rscale=1.03]
\setupbodyfont[pal,10pt] \starttext ${\cal A}A {\cal B}B$ \stoptext
I still do not know what is why calligraphic letters do not come out correctly with euler, but the following definition works \usetypescript[palatino] [ec] \definetypeface [palatino] [mm] [math] [euler] [euler] [rscale=1.03] \setupbodyfont[palatino,11pt] \def\mathcal#1{\text{\definedfont[cmsy10]#1\/}} and then I can use \mathcal{A} etc. Aditya
On Tue, 13 Jun 2006, Aditya Mahajan wrote:
On Sat, 8 Apr 2006, Aditya Mahajan wrote:
Hi, When I use palatino and euler, I do not get calligraphic font. How can I define a typescript to use the calligraphic font from lm.
This is my setup
\definetypeface [pal] [rm] [serif] [palatino] [default] [encoding=texnansi]
\definetypeface [pal] [tt] [mono] [modern] [default] [encoding=texnansi,rscale=1.1]
\definetypeface [pal] [ss] [sans] [modern] [default] [encoding=texnansi,rscale=1.1]
\definetypeface [pal] [mm] [math] [euler] [euler] [rscale=1.03]
\setupbodyfont[pal,10pt] \starttext ${\cal A}A {\cal B}B$ \stoptext
I still do not know what is why calligraphic letters do not come out correctly with euler, but the following definition works
\usetypescript[palatino] [ec] \definetypeface [palatino] [mm] [math] [euler] [euler] [rscale=1.03] \setupbodyfont[palatino,11pt]
\def\mathcal#1{\text{\definedfont[cmsy10]#1\/}}
and then I can use \mathcal{A} etc.
The caligraphic letters for Euler are defined in eusm (Euler Script). For some reason this is not loaded in context. The following works \definefontsynonym [EulerScript] [eusm10] \def\mathcal#1{\text{\definedfont[EulerScript]#1\/}} Why is eusm not used with \cal? Context uses zeusm10 as the sy font and zeusm should contain eusm (atleast this is what I understand from ftp://tug.ctan.org/pub/texarchive/fonts/eulervm/source/latex/eulervm/fontinst/fontevm.tex) What is missing from matheul.tex? Aditya
Aditya Mahajan wrote:
Why is eusm not used with \cal? Context uses zeusm10 as the sy font and zeusm should contain eusm (atleast this is what I understand from ftp://tug.ctan.org/pub/texarchive/fonts/eulervm/source/latex/eulervm/fontinst/fontevm.tex) What is missing from matheul.tex?
Not missing, but it has a few wrong definitions. It contains \definemathcharacter [A] [nothing] [mr] ["41] but that should be : \definemathcharacter [A] [alpha] [mr] ["41] Cheers, Taco
Taco Hoekwater wrote:
Aditya Mahajan wrote:
Why is eusm not used with \cal? Context uses zeusm10 as the sy font and zeusm should contain eusm (atleast this is what I understand from ftp://tug.ctan.org/pub/texarchive/fonts/eulervm/source/latex/eulervm/fontinst/fontevm.tex) What is missing from matheul.tex?
Not missing, but it has a few wrong definitions. It contains
\definemathcharacter [A] [nothing] [mr] ["41]
but that should be :
\definemathcharacter [A] [alpha] [mr] ["41]
ok, i made those few (2*26) changes Hans  Hans Hagen  PRAGMA ADE Ridderstraat 27  8061 GH Hasselt  The Netherlands tel: 038 477 53 69  fax: 038 477 53 74  www.pragmaade.com  www.pragmapod.nl 
On Sun, 25 Jun 2006, Hans Hagen wrote:
Taco Hoekwater wrote:
Aditya Mahajan wrote:
Why is eusm not used with \cal? Context uses zeusm10 as the sy font and zeusm should contain eusm (atleast this is what I understand from ftp://tug.ctan.org/pub/texarchive/fonts/eulervm/source/latex/eulervm/fontinst/fontevm.tex) What is missing from matheul.tex?
Not missing, but it has a few wrong definitions. It contains
\definemathcharacter [A] [nothing] [mr] ["41]
but that should be :
\definemathcharacter [A] [alpha] [mr] ["41]
ok, i made those few (2*26) changes
Thanks, no need for home brewed recipies for Euler anymore :) Aditya
participants (3)

Aditya Mahajan

Hans Hagen

Taco Hoekwater