ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Calligraphic Font with palatino and euler
@ 2006-04-08 22:10 Aditya Mahajan
  2006-06-13 18:10 ` Aditya Mahajan
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2006-04-08 22:10 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Calligraphic Font with palatino and euler
  2006-04-08 22:10 Calligraphic Font with palatino and euler Aditya Mahajan
@ 2006-06-13 18:10 ` Aditya Mahajan
  2006-06-25  8:15   ` Aditya Mahajan
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2006-06-13 18:10 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Calligraphic Font with palatino and euler
  2006-06-13 18:10 ` Aditya Mahajan
@ 2006-06-25  8:15   ` Aditya Mahajan
  2006-06-25  8:59     ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2006-06-25  8:15 UTC (permalink / raw)


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/tex-archive/fonts/eulervm/source/latex/eulervm/fontinst/fontevm.tex)
What is missing from math-eul.tex?

Aditya

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Calligraphic Font with palatino and euler
  2006-06-25  8:15   ` Aditya Mahajan
@ 2006-06-25  8:59     ` Taco Hoekwater
  2006-06-25 16:15       ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2006-06-25  8:59 UTC (permalink / raw)


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/tex-archive/fonts/eulervm/source/latex/eulervm/fontinst/fontevm.tex)
> What is missing from math-eul.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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Calligraphic Font with palatino and euler
  2006-06-25  8:59     ` Taco Hoekwater
@ 2006-06-25 16:15       ` Hans Hagen
  2006-06-25 17:21         ` Aditya Mahajan
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2006-06-25 16:15 UTC (permalink / raw)


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/tex-archive/fonts/eulervm/source/latex/eulervm/fontinst/fontevm.tex)
>> What is missing from math-eul.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.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Calligraphic Font with palatino and euler
  2006-06-25 16:15       ` Hans Hagen
@ 2006-06-25 17:21         ` Aditya Mahajan
  0 siblings, 0 replies; 6+ messages in thread
From: Aditya Mahajan @ 2006-06-25 17:21 UTC (permalink / raw)


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/tex-archive/fonts/eulervm/source/latex/eulervm/fontinst/fontevm.tex)
>>> What is missing from math-eul.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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-06-25 17:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-08 22:10 Calligraphic Font with palatino and euler Aditya Mahajan
2006-06-13 18:10 ` Aditya Mahajan
2006-06-25  8:15   ` Aditya Mahajan
2006-06-25  8:59     ` Taco Hoekwater
2006-06-25 16:15       ` Hans Hagen
2006-06-25 17:21         ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).