ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Hans Åberg" <hans.aberg-1@telia.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Latin setupmathematics
Date: Sun, 15 May 2016 16:15:03 +0200	[thread overview]
Message-ID: <AEA6A495-1072-421B-AAAC-C84B738648D4@telia.com> (raw)
In-Reply-To: <3fd7dd93-5bf7-4465-6a8d-251c9cc9ce0f@wxs.nl>


> On 15 May 2016, at 15:37, Hans Hagen <pragma@wxs.nl> wrote:
> 
> On 5/14/2016 7:11 PM, Hans Åberg wrote:
>> In order to align with Unicode, \setupmathematics might have Latin shape options, as the Greek ‘lcgreek’ and ‘ucgreek', say ‘lclatin' and ‘uclatin', both defaulting to ’italic’. Unicode added the Latin italic symbols to the Math Alphanumeric Symbols range, so the upright letters are inaccessible when italic is assigned to the Basic Latin (ASCII) range.
> 
> I'm not sure what you mean. One can use \mathupright if needed. We support all the alphabets and these are independent of the basic latin range.

Traditionally constants are set in upright and variables in italic. So constants like “log” etc., are set in upright. It is not used rigorously because of past typographical limitations, but one might in principle do that, cf. the example below, where the integral differential “d” is set in upright to disambiguate relative the function named “d”.

When Unicode added math styles, it added italics, expecting the ASCII range to be upright, which would be normal if using a text editor that does not translate math into italics. But the TeX legacy is the opposite.

----
\setupbodyfont[xits,10pt]

\startformula
  \startalign
    I &= ∫_S d(x)\, dx \NR
    I &= ∫_S 𝑑(x)\, dx \NR
    I &= ∫_S d(x)\, \mathupright{d} x \NR
    I &= ∫_S 𝑑(x)\, \mathupright{d} x \NR
  \stopalign
\stopformula
----


___________________________________________________________________________________
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-05-15 14:15 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-14 17:11 Hans Åberg
2016-05-15 13:37 ` Hans Hagen
2016-05-15 14:15   ` Hans Åberg [this message]
2016-05-15 14:28   ` Hans Åberg
2016-05-15 14:44     ` Wolfgang Schuster
2016-05-15 16:06       ` Hans Åberg
2016-05-15 16:36       ` Hans Åberg
2016-05-15 17:12         ` Hans Hagen
2016-05-15 17:28           ` Hans Åberg
2016-05-15 18:06             ` Hans Hagen
2016-05-15 18:34               ` Hans Åberg
2016-05-15 17:08     ` Hans Hagen
2016-05-15 17:42       ` Hans Åberg
2016-05-15 17:59         ` Hans Hagen
2016-05-15 18:31           ` Hans Åberg
2016-05-15 18:42             ` Hans Hagen
2016-05-15 20:06               ` Hans Åberg
2016-05-15 21:18                 ` Hans Hagen
2016-05-15 21:55                   ` Hans Åberg
     [not found]                     ` <f175caa5-45df-5df6-d5a9-5bf9340a6f0d@wxs.nl>
2016-05-16  8:27                       ` Hans Åberg
2016-05-16  8:48                         ` Hans Hagen
2016-05-16  8:59                           ` Hans Åberg
2016-05-16  9:10                             ` Hans Hagen
2016-05-16 12:07                               ` Hans Åberg
2016-06-16 19:15                 ` Hans Åberg
2016-06-16 21:48                   ` Hans Hagen
2016-06-16 23:02                     ` Hans Åberg
2016-06-17  4:20                       ` Alan BRASLAU
2016-06-17  8:15                         ` Hans Åberg

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=AEA6A495-1072-421B-AAAC-C84B738648D4@telia.com \
    --to=hans.aberg-1@telia.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).