ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Access stylistic sets in lucidaot
Date: Thu, 14 Jul 2016 13:30:23 +0200	[thread overview]
Message-ID: <578777CF.2070104@gmail.com> (raw)

Dear list,

I have been using the Lucida fonts for long time with LaTeX, either the
Type 1 version through the `lucimatx` package or the OpenType variants
with `unicode-math`.  In `unicode-math` there is a straightforward way
to select stylistic sets, e.g. alternative calligraphic glyphs.

By default the `lucidaot` typescript switches off the alternative math
italics, but I found a way to reenable them (basically just undoing what
the typescript does).

> \setupbodyfont[lucidaot]
> % get alternative math italics
> \setupmathrendering[lucidaot][it=]
> \starttext
> $\mathcal{C} = f(x)$
> \stoptext

I only found this by chance; \setupmathrendering is not documented.  Is
there a more intuitive way to select the alternative math italics?
Also, is there an easy way to access all the other features defined in
`lucida-opentype-math.lfg`?  This is the list:

> alternates = {
>     italic       = { feature = 'ss01', value = 1, comment = "Mathematical Alternative Lowercase Italic" },
>     arrow        = { feature = 'ss02', value = 1, comment = "Mathematical Alternative Smaller Arrows" },
>     operator     = { feature = 'ss03', value = 1, comment = "Mathematical Alternative Smaller Operators" },
>     calligraphic = { feature = 'ss04', value = 1, comment = "Mathematical Alternative Calligraphic Characters" },
>     zero         = { feature = 'ss05', value = 1, comment = "Mathematical Alternative Zero" },
>     partial      = { feature = 'ss20', value = 1, comment = "Mathematical Alternative Upright Partial Differential" },
> },

Cheers,
Henri
___________________________________________________________________________________
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-07-14 11:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-14 11:30 Henri Menke [this message]
2016-07-14 17:52 ` Hans Hagen

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=578777CF.2070104@gmail.com \
    --to=henrimenke@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).