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: math font problem
Date: Wed, 9 Aug 2017 18:16:03 -0400	[thread overview]
Message-ID: <CAFMOkGW8FG-4Sop1M4pa6aZPTEtzrFcpDpmouMamOEEm7DCUOA@mail.gmail.com> (raw)


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

The aim is to get as much math using the Brill font as I can.

I currently have:

\definefontfamily[mainface][serif][Brill] %[TeX Gyre Termes]
[protrusion=quality,
expansion=quality,
mode=node,
force=yes,
]

\definefallbackfamily[mainface][mm][TeX Gyre Pagella]
[preset=math:digitsnormal,features=f:oldstyle,scale=0.94]

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

\definefontfamily[mainface][mm][TeX Gyre Termes Math][scale=0.94]
\setupmathematics[ucgreek=normal,lcgreek=italic]

\setupbodyfont[mainface,10pt]

\starttext

0123456789

math: \m{0123456789}

δ\quad\emph{δ}

math: \m{\delta} \m{δ}\quad should be slanted

π\quad\emph{π}

math: \m{\pi} \m{π}\quad should be upright but slanted will do

Π\quad\emph{ Π}

math: \m{\Pi} \m{ Π}\quad should be upright

\m{2+2=4}

\startformula
\sin{α}={{ΑΒ}\over{AC}}=\sin{\alpha}
\stopformula

\stoptext

Two problems:

1. I am not getting slanted lowercase Greek in mathmode.

2. I should like to have all the math lettering in the Brill font. But
simply setting the Brill font as my math mainface runs into more problems—I
still do not get lowercase Greek and it not only messes up 2+2 =4 , it also
reports the error—Math error: parameter \Umathquad\displaystyle is not
set—when it comes to the display math.


My efforts to figure this out have not been successful thus far, so any
suggestions will be most welcome.

Alan

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

             reply	other threads:[~2017-08-09 22:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-09 22:16 Alan Bowen [this message]
2017-08-10  8:03 ` Hans Hagen
2017-08-10  8:08 ` Hans Hagen
2017-08-10 13:38   ` 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=CAFMOkGW8FG-4Sop1M4pa6aZPTEtzrFcpDpmouMamOEEm7DCUOA@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).