[NTG-context] Calligraphic Font with palatino and euler
Aditya Mahajan
adityam at umich.edu
Tue Jun 13 20:10:37 CEST 2006
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
More information about the ntg-context
mailing list