ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Andreas Mang <mang@imt.uni-luebeck.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: punctuation vs font switch
Date: Wed, 3 Oct 2012 22:26:56 +0200	[thread overview]
Message-ID: <DDE15F3A-AE07-4493-A3AA-7F057ED2ECB7@imt.uni-luebeck.de> (raw)

Dear all,

at the risk of being met with an incredulous shake of the head: I am using xits as math font and pagella as main font (for several reasons). Obviously, the  punctuation (in particular "comma") does not match. Is there an easy and quick global fix!?

Your help is very much appreciated.

Cheers,
Andreas 

% minimal example
\starttypescript [myface]
\definetypeface [\typescriptone] [rm] [serif] [pagella]  [default]
\definetypeface [\typescriptone] [ss] [sans]  [helvetica] [default]
\definetypeface [\typescriptone] [tt] [mono]  [modern]   [default]
\definetypeface [\typescriptone] [mm] [math]  [xits]     [default]
\stoptypescript
\setupbodyfont[myface,11pt]

\starttext

$1{,}2$ 1,2 % difference

$1\text{,}2$ % not so nice work around and problematic since the font size does not change (superscript, subscript,...)

\stoptext
% stop minimal example

P.S. Clearly, this does not matter for formulas but its different for inline (in text) math expressions. 
___________________________________________________________________________________
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:[~2012-10-03 20:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-03 20:26 Andreas Mang [this message]
2012-10-03 21:30 ` Aditya Mahajan

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=DDE15F3A-AE07-4493-A3AA-7F057ED2ECB7@imt.uni-luebeck.de \
    --to=mang@imt.uni-luebeck.de \
    --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).