* math font fallback for palatino \cal
@ 2016-08-14 18:33 Idris Samawi Hamid ادريس سماوي حامد
2016-08-14 18:53 ` Idris Samawi Hamid ادريس سماوي حامد
2016-08-14 19:17 ` Wolfgang Schuster
0 siblings, 2 replies; 4+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2016-08-14 18:33 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
Dear gang,
Using pagella (palatino) for a project here. Unfortunately
texgyrepagella-math.otf has a rather unattractive set of \cal caps;
schola, termes, bonum etc. all use the same and much better-looking set.
So I decided to try and define a palatino math set with the \cal caps from
schola (= termes etc.). Succeeded after some trial and error: attached are
the positive results. Others may find the experiment useful or even worth
wikifying; it's a nice fallback exercise.
Maybe there is a better or more up-to-date way to do this: In any case,
feel free to critique the attached.
Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
[-- Attachment #2: test-math_cg.tex --]
[-- Type: application/x-tex, Size: 2375 bytes --]
[-- Attachment #3: test-math_cg.pdf --]
[-- Type: application/pdf, Size: 20084 bytes --]
[-- Attachment #4: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: math font fallback for palatino \cal
2016-08-14 18:33 math font fallback for palatino \cal Idris Samawi Hamid ادريس سماوي حامد
@ 2016-08-14 18:53 ` Idris Samawi Hamid ادريس سماوي حامد
2016-08-14 19:17 ` Wolfgang Schuster
1 sibling, 0 replies; 4+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2016-08-14 18:53 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 920 bytes --]
On Sun, 14 Aug 2016 12:33:53 -0600, Idris Samawi Hamid ادريس سماوي حامد
<Idris.Hamid@colostate.edu> wrote:
> Dear gang,
>
> Using pagella (palatino) for a project here. Unfortunately
> texgyrepagella-math.otf has a rather unattractive set of \cal caps;
> schola, termes, bonum etc. all use the same and much better-looking set.
>
> So I decided to try and define a palatino math set with the \cal caps
> from schola (= termes etc.). Succeeded after some trial and error:
> attached are the positive results. Others may find the experiment useful
> or even worth wikifying; it's a nice fallback exercise.
>
> Maybe there is a better or more up-to-date way to do this: In any case,
> feel free to critique the attached.
Decided to support lower-case \cal as well;attached.
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
[-- Attachment #2: test-math_cg.pdf --]
[-- Type: application/pdf, Size: 25566 bytes --]
[-- Attachment #3: test-math_cg.tex --]
[-- Type: application/x-tex, Size: 2778 bytes --]
[-- Attachment #4: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: math font fallback for palatino \cal
2016-08-14 18:33 math font fallback for palatino \cal Idris Samawi Hamid ادريس سماوي حامد
2016-08-14 18:53 ` Idris Samawi Hamid ادريس سماوي حامد
@ 2016-08-14 19:17 ` Wolfgang Schuster
2016-08-14 20:07 ` Idris Samawi Hamid ادريس سماوي حامد
1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2016-08-14 19:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1294 bytes --]
> Idris Samawi Hamid ادريس سماوي حامد <mailto:Idris.Hamid@colostate.edu>
> 14. August 2016 um 20:33
> Dear gang,
>
> Using pagella (palatino) for a project here. Unfortunately
> texgyrepagella-math.otf has a rather unattractive set of \cal caps;
> schola, termes, bonum etc. all use the same and much better-looking set.
>
> So I decided to try and define a palatino math set with the \cal caps
> from schola (= termes etc.). Succeeded after some trial and error:
> attached are the positive results. Others may find the experiment
> useful or even worth wikifying; it's a nice fallback exercise.
>
> Maybe there is a better or more up-to-date way to do this: In any
> case, feel free to critique the attached.
You can save a few lines for your font setup when you use the
\definefontfamily and \definefallbackfamily commands.
\definefontfamily [palatino_cg] [rm] [TeX Gyre Pagella]
\definefallbackfamily [palatino_cg] [mm] [TeX Gyre Schola Math]
[range={lowercasescript,lowercaseboldscript,uppercasescript,uppercaseboldscript},force=yes]
\definefontfamily [palatino_cg] [mm] [TeX Gyre Pagella Math]
\setupbodyfont[palatino]
\starttext
\m{\cal ABCDEFG \quad \bf ABCDEFG}
\switchtobodyfont[palatino_cg]
\m{\cal ABCDEFG \quad \bf ABCDEFG}
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2325 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: math font fallback for palatino \cal
2016-08-14 19:17 ` Wolfgang Schuster
@ 2016-08-14 20:07 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 0 replies; 4+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2016-08-14 20:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, 14 Aug 2016 13:17:35 -0600, Wolfgang Schuster
<schuster.wolfgang@gmail.com> wrote:
>> Idris Samawi Hamid ادريس سماوي حامد <mailto:Idris.Hamid@colostate.edu>
>> 14. August 2016 um 20:33
>> Dear gang,
>>
>> Using pagella (palatino) for a project here. Unfortunately
>> texgyrepagella-math.otf has a rather unattractive set of \cal caps;
>> schola, termes, bonum etc. all use the same and much better-looking set.
>>
>> So I decided to try and define a palatino math set with the \cal caps
>> from schola (= termes etc.). Succeeded after some trial and error:
>> attached are the positive results. Others may find the experiment
>> useful or even worth wikifying; it's a nice fallback exercise.
>>
>> Maybe there is a better or more up-to-date way to do this: In any
>> case, feel free to critique the attached.
> You can save a few lines for your font setup when you use the
> \definefontfamily and \definefallbackfamily commands.
>
> \definefontfamily [palatino_cg] [rm] [TeX Gyre Pagella]
> \definefallbackfamily [palatino_cg] [mm] [TeX Gyre Schola Math]
> [range={lowercasescript,lowercaseboldscript,uppercasescript,uppercaseboldscript},force=yes]
> \definefontfamily [palatino_cg] [mm] [TeX Gyre Pagella Math]
>
> \setupbodyfont[palatino]
>
> \starttext
>
> \m{\cal ABCDEFG \quad \bf ABCDEFG}
>
> \switchtobodyfont[palatino_cg]
>
> \m{\cal ABCDEFG \quad \bf ABCDEFG}
>
> \stoptext
Wonderful, Wolfgang, just wonderful. Lots to learn and explore... And some
info here:
http://wiki.contextgarden.net/Command/definefontfamily
Thanks again!
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-08-14 20:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-14 18:33 math font fallback for palatino \cal Idris Samawi Hamid ادريس سماوي حامد
2016-08-14 18:53 ` Idris Samawi Hamid ادريس سماوي حامد
2016-08-14 19:17 ` Wolfgang Schuster
2016-08-14 20:07 ` Idris Samawi Hamid ادريس سماوي حامد
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).