On 6/8/2017 4:29 PM, Aditya Mahajan wrote:
On Thu, 8 Jun 2017, Mikael P. Sundqvist wrote:

And indeed, in luatex 1.05 the primes look fine again. The prime in
the fraction is too low, but I take Hans' "Such is life" and use \over
for the rare cases where I have primes inside fractions.

I haven't followed the thread carefully, but there is nothing special in \frac. The likely cause is prime is misplaced in cramped style or similar and similar misplacement will happen whenever that style is used.

I would be weary of using {... \over ...}. At the very least, use
\Ustack{... \over ...}, else any code that uses \mathstyle (instead of \mathchoice) will fail.

For an explaination, see Taco's answer here:
https://tex.stackexchange.com/a/1261/323
indeed, the problem is that \over (and friends) are the only tricky parsing bits (ahead/back) and as a consequence have tricky style related issues (which also means often extra {} is needed as in

{ { foo } \over { bar } }

in order not to let style changes in foo and bar interfere ... only meant for low level parsing and expansion lovers

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 via email to