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: Mon, 22 May 2017 09:50:06 +0200	[thread overview]
Message-ID: <0C9C66C2-05BF-4F8D-B040-87317FDC6017@gmail.com> (raw)
In-Reply-To: <CAHy-LL8nujW5cpHWSUB8jj=q3AtU2ipWNv-AHOeHuPDU+H-7NA@mail.gmail.com>

Hi Mikael,

You are correct, the position of \prime depends on whether there is a next character or not after it, and it seems that this has an effect on its position for characters having a subscript as in
	$f_{1}''(x) \neq f''_{1}(x)$ 
	$f'f''f'’'$
Best regards: OK

> On 22 May 2017, at 08:51, Mikael P. Sundqvist <mickep@gmail.com> wrote:
> 
> On Sun, May 21, 2017 at 10:29 PM, Otared Kavian <otared@gmail.com> wrote:
>> Hi Mikael,
>> 
>> I agree with what you are reporting: the current behavior of the \prime operator is not completely satisfying when using ConTeXt mkiv, while in mkii it is the most satisfying (in my opinion…).
>> 
>> The turn around consisting in using $f^{‘’}$ or  $f^{\prime\prime}$, or even $f^{{}^{\prime\prime}}$, is not really satisfying either.
>> 
>> But I think (or I hope that) at some point Hans will fix it in mkiv.
>> 
>> Best regards: OK
>> 
>>> On 21 May 2017, at 08:14, Mikael P. Sundqvist <mickep@gmail.com> wrote:
>>> […]
>>> 
>>> And just for reference, the document below gives the attached pdf,
>>> compiled with lualatex. I think the location of the primes there look
>>> better. Sorry for spamming about this issue, but I think it is
>>> important for all people writing math with ConTeXt.
>>> 
>>> /Mikael
>>> 
>>> \RequirePackage{luatex85}
>>> \documentclass[border=2pt]{standalone}
>>> 
>>> \usepackage{unicode-math}
>>> \setmainfont{LucidaBrightOT}
>>> \setmathfont{LucidaBrightMathOT}
>>> 
>>> \begin{document}
>>> $f'f''$
>>> \end{document}
>>> <lltest.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
>>> ___________________________________________________________________________________
>> 
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
> 
> Otared, thank you for confirmation. I also hope there will be a fix soon.
> 
> In the meantime, I put yet another test file. The location of the
> primes depends on the next character (I use, at the moment current
> version: 2017.05.15 21:48)
> 
> /Mikael
> 
> \definefontfamily[myface][rm][Lucida Bright OT]
> \definefontfamily[myface][mm][Lucida Bright Math OT]
> \setupbodyfont[myface,10pt]
> \starttext
> \startTEXpage[offset=2pt]
> $f'(x)f''(x)f'f''$
> \stopTEXpage
> \stoptext
> <primfisk.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
> ___________________________________________________________________________________

___________________________________________________________________________________
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-05-22  7:50 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 [this message]
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
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=0C9C66C2-05BF-4F8D-B040-87317FDC6017@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).