ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Luca Donetti <donetti@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: grid+formulas: bug or expected behavior?
Date: Thu, 25 Jul 2019 19:29:25 +0200	[thread overview]
Message-ID: <CALkG3T=8Hu4H5oB1daW6EqFtpQ60DHcLxCLMA_32fL_9spF6iA@mail.gmail.com> (raw)
In-Reply-To: <mailman.0.1564048801.22738.ntg-context@ntg.nl>


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

> > I don't have any specific need for the alignment of the formula with
> > respect to the grid, but I expect the text below the formula to be on the
> > grid. However, I've not been able to achieve that with any of the layout
> > options described in the latest "details.pdf" manual: in all cases I've
> > tried the text below the formula doesn't "sit" on the grid.
>
> Looking through my unread ML mails, I saw nobody answered to you.
>
> Did you try enclosing your formulae in \startlinecorrection ...
> \stoplinecorrection ?
> AFAIK that should do the job.
>
> Greetlings, Hraban
>
>
Thank you Hraban,

Indeed what you suggest works. If I write:
  \startlinecorrection
  \startformula
    a = b + c
  \stopformula
  \stoplinecorrection
the text below the formula is correctly aligned to the grid.

However, what puzzles me is that the version _without_ \startlinecorrection
... \stoplinecorrection works with an old version of context (from texlive
2017). Moreover, i guess this is not something due to my setup, because I
observe the same (or at least very similar) behavior in the chapter of the
details.pdf manual about grid and math. In the attached screenshot I show
the first page of such chapter in the version shipped with a recent beta
(on the left) and with texlive 2017 (on the right). While in the old
version the text after the formulas is aligned to the grid, in the new
version of the manual this is not the case: the text is not aligned.

Is this a known (documented?) change or an unnoticed regression?

Thank you in advance,
LD

[-- Attachment #1.2: Type: text/html, Size: 2028 bytes --]

[-- Attachment #2: math_grid.png --]
[-- Type: image/png, Size: 96632 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 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:[~2019-07-25 17:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.0.1564048801.22738.ntg-context@ntg.nl>
2019-07-25 17:29 ` Luca Donetti [this message]
2019-07-26  7:35   ` luigi scarso
2019-05-31 18:46 Luca Donetti
2019-07-24 18:07 ` Henning Hraban Ramm
2019-07-26 11:08 ` Wolfgang Schuster
2019-07-26 16:52   ` Luca Donetti

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='CALkG3T=8Hu4H5oB1daW6EqFtpQ60DHcLxCLMA_32fL_9spF6iA@mail.gmail.com' \
    --to=donetti@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).