ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: math spacing
Date: Mon, 14 Mar 2011 17:03:39 +0100	[thread overview]
Message-ID: <5DD13F89-1C97-40EB-8BE4-F33A1A3815C2@gmail.com> (raw)
In-Reply-To: <76114556-B44B-4D05-BB24-B1744C3EEFE8@gmail.com>


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

Hi Wolfgang,

On 14 mars 2011, at 12:39, Wolfgang Schuster wrote:
> […]
> Wasn’t this what i showed in my example?

Yes indeed your examples showed exactly this: sorry for not mentioning your point.


> […]
> \setupmathematics[autopunctuation=no]

Unfortunately this does not help at all, at least on my installation of ConTeXt.
It seems to me that the effect of the above command is to modify the spacing between characters and punctuation marks, but still the latter are misplaced with LM math fonts (with \bf or \rm there is no problem).

Best regards: OK
PS: here is the source which produces the attached PDF:
\starttext
\startbuffer[MathSpacing]

Example with mkiv:

With \type{\tfd}:

$\tfd Q, Y, N, P, Y, Z, \quad PYR$

\blank[big]
With \type{\bf}

$\bf Q, Y, N, P, Y, Z, \quad PYR$

\blank[big]
With normal LM math fonts:

$Q,Y,N,P,Y,Z, \quad PYR$

\stopbuffer

\getbuffer[MathSpacing]
\blank
\thinrule
\blank

Now with \type{\setupmathematics[autopunctuation=no]}
\setupmathematics[autopunctuation=no]

\getbuffer[MathSpacing]

\stoptext






[-- Attachment #1.2.1: Type: text/html, Size: 1901 bytes --]

[-- Attachment #1.2.2: math-spacing.pdf --]
[-- Type: application/pdf, Size: 17393 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 192 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2011-03-14 16:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-13 12:16 Hans van der Meer
2011-03-13 12:35 ` Wolfgang Schuster
2011-03-13 20:26 ` Mojca Miklavec
2011-03-14 11:14 ` Otared Kavian
2011-03-14 11:39   ` Wolfgang Schuster
2011-03-14 16:03     ` Otared Kavian [this message]

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=5DD13F89-1C97-40EB-8BE4-F33A1A3815C2@gmail.com \
    --to=otared@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).