ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mathmatrix and grid: followup
Date: Tue, 24 Jan 2017 11:57:16 +0100	[thread overview]
Message-ID: <b51b16fc-d576-784b-d16c-f6af4f38d975@gmail.com> (raw)
In-Reply-To: <6d2ddd4e-1bc9-02b7-294e-3ccca74607fd@gmail.com>

Bump

On 01/06/2017 10:33 AM, Henri Menke wrote:
> Bump and (belated) Happy New Year!
> 
> On 12/10/2016 10:37 AM, Henri Menke wrote:
>> Bump
>>
>> On 11/27/2016 07:45 PM, Henri Menke wrote:
>>> Bump
>>>
>>> On 11/22/2016 02:18 PM, Henri Menke wrote:
>>>> Dear list,
>>>>
>>>> some time ago I asked about the interplay of mathmatix with grid typesetting: https://mailman.ntg.nl/pipermail/ntg-context/2016/087018.html
>>>>
>>>> I noticed that when the grid is enabled, the height of a mathmatrix is rounded down which leaves less space above than below.  In my opinion either the height should be rounded up or the depth rounded down here.  In the original thread Wolfgang proposed using \setupformula[grid=tolerant] and adding a blank line before the formula (otherwise grid=tolerant is applied to the paragraph before).  This workaround leads to the depth being rounded down in the example below which produces a more balanced output.  Could this somehow be made the default behaviour or something?  Currently it requires the user to notice that vertical spacing is off and correct it manually, including adding a blank line before the formula to prevent grid=tolerant being applied to the paragraph.
>>>>
>>>> Cheers, Henri
>>>>
>>>> ---
>>>>
>>>> \setuplayout[grid=yes]
>>>> \showgrid
>>>>
>>>> \starttext
>>>>
>>>> \input knuth
>>>> \startformula
>>>>   \vrule % make lineheight and depth visible
>>>>   \startmathmatrix
>>>>     \NC A \NR
>>>>     \NC B \NR
>>>>     \NC C \NR
>>>>   \stopmathmatrix
>>>> \stopformula
>>>> \input tufte
>>>>
>>>> \stoptext
>>>>
>>>
>>
> 

___________________________________________________________________________________
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-01-24 10:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-22 13:18 Henri Menke
2016-11-27 18:45 ` Henri Menke
2016-12-10  9:37   ` Henri Menke
2017-01-06  9:33     ` Henri Menke
2017-01-24 10:57       ` Henri Menke [this message]
2017-04-01 21:12         ` Henri Menke
2017-06-01  7:33           ` Henri Menke
2017-06-01  7:39             ` Henri Menke

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=b51b16fc-d576-784b-d16c-f6af4f38d975@gmail.com \
    --to=henrimenke@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).