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: Position of prime for derivatives
Date: Sun, 4 Jun 2017 23:06:40 +0200	[thread overview]
Message-ID: <3B55B8C8-0DF1-463D-B03B-6F1E2A2E3655@gmail.com> (raw)
In-Reply-To: <CAHy-LL-9cFL3Xk2kxKMKxgnWp7Qm84w6Z0C=cq-SKnbpNfmA=Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

Hi Mikael,

Indeed your observation is correct, but using \over instead of \frac yields the correct behavior. Please try the following sample:

%%% begin derivatives-prime-4.tex
\setupbodyfont[lucidaot]

\starttext

Compare the position of the prime sign in $f'/g$ in these two expressions: the first one using \type{{... \over ...}}
\startformula
\left({f \over g}\right)' = {f' \over g} - {f \over g^2}g'
\stopformula
(which yields a correct position of the prime for $f'$ in $f'/g$), and the second using \type{\frac{...}{...}}
\startformula
\left(\frac{f}{g} \right)' = \frac{f'}{g} - \frac{f}{g^2} g'
\stopformula
which yields a prime sign for $f'$ a little bit lower.

\stoptext
%%% end derivatives-prime-4.tex



[-- Attachment #2: derivatives-prime-4.pdf --]
[-- Type: application/pdf, Size: 12831 bytes --]

[-- Attachment #3: Type: text/plain, Size: 996 bytes --]




> On 4 Jun 2017, at 19:42, Mikael P. Sundqvist <mickep@gmail.com> wrote:

> […]
> 
> I hate to bring this up again, but look at the attached output of
> 
> %%%
> %\setupbodyfont[lucidaot]
> 
> \starttext
> \startformula
> f'(0)=2\frac{f'(0)}{2}
> \stopformula
> \stoptext
> %%%
> 
> The prime in the fraction is in my opinion too low (it is more clear
> in the example with lucida).
> 
> /Mikael
> <ctx-listexample33.pdf><ctx-listexample33-lucida.pdf>___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #4: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2017-06-04 21:06 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-17  6:35 Otared Kavian
2017-05-17 15:17 ` Hans Hagen
2017-05-18  7:12   ` Otared Kavian
2017-05-18  7:50     ` Mikael P. Sundqvist
2017-05-20 13:33       ` Mikael P. Sundqvist
2017-05-20 17:32         ` Mikael P. Sundqvist
2017-05-21  6:14           ` Mikael P. Sundqvist
2017-05-21 20:29             ` Otared Kavian
2017-05-22  6:51               ` Mikael P. Sundqvist
2017-05-22  7:50                 ` Otared Kavian
2017-05-23  9:58                   ` Mathias Schickel
2017-05-23 15:02                     ` Mikael P. Sundqvist
2017-05-25 16:59                       ` Mikael P. Sundqvist
2017-05-25 18:05                         ` Mathias Schickel
2017-06-04 17:42                           ` Mikael P. Sundqvist
2017-06-04 21:06                             ` Otared Kavian [this message]
2017-06-05 21:00                               ` Hans Hagen
2017-06-07 19:57                                 ` Mikael P. Sundqvist
2017-06-07 20:01                                   ` Mikael P. Sundqvist
2017-06-07 21:03                                   ` Hans Hagen
2017-06-08  7:52                                     ` Mikael P. Sundqvist
2017-06-08  8:17                                       ` luigi scarso
2017-06-08  8:28                                         ` Mikael P. Sundqvist
2017-06-08  8:39                                           ` Mikael P. Sundqvist
2017-06-08  8:42                                             ` luigi scarso
2017-06-08 11:14                                               ` Mikael P. Sundqvist
2017-06-08 14:29                                                 ` Aditya Mahajan
2017-06-08 17:21                                                   ` 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=3B55B8C8-0DF1-463D-B03B-6F1E2A2E3655@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).