From: Alan Bowen <bowenalan03@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Substituting Greek characters in math mode
Date: Tue, 5 Sep 2017 17:42:49 -0400 [thread overview]
Message-ID: <CAFMOkGWFZ_n3s5GNw4fE+cZ89ufzDfajy-FLiuZXVv=uuftU_g@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1338 bytes --]
I should like to have the Brill font substitute for the Greek alphabet
(upper and lower cases) as well for the numerals in Tex Gyre Termes Math.
So far, I have been able to get the Brill numerals (oldstyle) but nothing
more: the Greek letters in math mode are from Termes Math.
Here is what I have:
\definefontfamily[mainface][serif][Brill]
[protrusion=quality,
expansion=quality,
mode=node,
force=yes,
]
\definefallbackfamily[mainface][mm][Brill][range={0030-0039, 0391-03A9,
03B1-03C9}, scale=1]
\definefallbackfamily [mainface] [mm] [Brill]
[preset=math:lowercasegreeknormal]
\definefallbackfamily [mainface] [mm] [BrillItalic]
[preset=math:lowercasegreekitalic]
\definefallbackfamily [mainface] [mm] [Brill]
[preset=math:uppercasegreeknormal]
\definefallbackfamily [mainface] [mm] [BrillItalic]
[preset=math:uppercasegreekitalic]
\definefontfamily[mainface][mm][TeX Gyre Termes Math][scale=0.94]
\setupmathematics[autopunctuation={all}, ucgreek=normal, lcgreek=italic]
\setupbodyfont[mainface,10pt]
\starttext
A~B~C~a~b~c
\emph{A~B~C~a~b~c}\quad math: \m{A~B~C~a~b~c}
0123456789\quad math: \m{0123456789}
δ \emph{δ}\quad math: \m{δ}
π \emph{π}\quad math: \m{π}
Π \emph{ Π}\quad math: \m{Π}
\stoptext
Any suggestions or pointers will be most welcome.
Alan
[-- Attachment #1.2: Type: text/html, Size: 3724 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2017-09-05 21:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-05 21:42 Alan Bowen [this message]
2017-09-07 13:24 ` Alan Bowen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFMOkGWFZ_n3s5GNw4fE+cZ89ufzDfajy-FLiuZXVv=uuftU_g@mail.gmail.com' \
--to=bowenalan03@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).