ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* punctuation vs font switch
@ 2012-10-03 20:26 Andreas Mang
  2012-10-03 21:30 ` Aditya Mahajan
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Mang @ 2012-10-03 20:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-03 21:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-03 20:26 punctuation vs font switch Andreas Mang
2012-10-03 21:30 ` Aditya Mahajan

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).