ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <bowenalan03@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Greek letter fall back for math
Date: Thu, 10 Mar 2016 10:21:27 -0500	[thread overview]
Message-ID: <CAFMOkGWZcBWysXPCtbaQMW3QLP8sbdiB4Y94G6AQs1CGfDYJ9A@mail.gmail.com> (raw)
In-Reply-To: <CAHy-LL_Q6KT4fkEAvjy+mpB6U-2zA_1DcgvW2-ccfa5py1Rf6w@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2829 bytes --]

Thanks, Mikael. That works nicely. Note: I changed

\definefallbackfamily [mainface] [mm] [Brill] [preset=math:
lowercasegreeknormal]

to

\definefallbackfamily [mainface] [mm] [Brill]
[preset=math:uppercasegreeknormal],
since Knuth/TeX sets Greek capital letters upright.

Alan

On Thu, Mar 10, 2016 at 9:56 AM, Mikael P. Sundqvist <mickep@gmail.com>
wrote:

> On Thu, Mar 10, 2016 at 3:34 PM, Alan Bowen <bowenalan03@gmail.com> wrote:
> > Assuming that it is possible, I have been trying to substitute the Greek
> > letters of my main font for those used in the math font. (if it works, it
> > should look better on the page than what I have now.)
> >
> > So, what have I missed/messed up in the following?
> >
> > \definefontfamily[mainface][serif][Brill][
> > [protrusion=quality,
> > expansion=quality,
> > mode=node,
> > force=yes,
> > ]
> >
> > \definefallbackfamily[mainface][mm][TeX Gyre
> > Pagella][preset=math:digitsnormal,features=f:oldstyle]
> >
> > \definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]
> >
> > \definefontfamily[mainface][mm][TeXGyre Termes Math]
> >
> > \setupbodyfont[mainface,36pt]
> >
> > \starttext
> >
> > \emph{λ α μ β δ α}
> >
> > \m{λαμβδα}
> >
> > 0123456780
> >
> > \m{0123456780}
> >
> >
> > \stoptext
> >
> > Alan
> >
> >
> ___________________________________________________________________________________
> > 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
> >
> ___________________________________________________________________________________
>
> What if you change
>
> \definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]
>
> to
>
> \definefallbackfamily [mainface] [mm] [Brill]
> [preset=math:lowercasegreeknormal]
> \definefallbackfamily [mainface] [mm] [Brill]
> [preset=math:lowercasegreekitalic]
>
> That seems to work here with your example. By the way, I have not seen
> the Brill font before. It was very nice!
>
> /Mikael
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 5860 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
___________________________________________________________________________________

  reply	other threads:[~2016-03-10 15:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 14:34 Alan Bowen
2016-03-10 14:56 ` Mikael P. Sundqvist
2016-03-10 15:21   ` Alan Bowen [this message]
2016-03-10 15:56     ` Mikael P. Sundqvist
2016-03-10 17:30       ` Alan Bowen
2016-03-10 14:59 ` Wolfgang Schuster
2016-03-10 15:25   ` 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=CAFMOkGWZcBWysXPCtbaQMW3QLP8sbdiB4Y94G6AQs1CGfDYJ9A@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).