ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Flushleft formula
Date: Thu, 16 Jun 2016 18:18:58 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.20.1606161816100.12043@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <5550d56f-1b2d-6d0a-90b6-659b76e6b2f4@wxs.nl>

On Thu, 16 Jun 2016, Hans Hagen wrote:

> On 6/16/2016 6:58 PM, Aditya Mahajan wrote:
>>  Hi,
>>
>>  Something has changed with respect to the align=flushleft option for
>>  formulas. Earlier (tested with 2016.05.08), align=flushleft did not
>>  remove the leftskip, but now it does.
>
> it doesn't but somehow it's not effective
>
> (indeed spacing was updated, some more - future - possibilities and bester 
> handling in boxes and such)

And some stage, it will be nice to discuss the possiblility of adding 
background to formulas, especially aligned formulas. Similar to some of 
the examples in 
http://texdoc.net/texmf-dist/doc/latex/mathtools/empheq.pdf

>>  Consider the following example:
>>
>>  \showframe
>>  \setupitemize[margin=6em]
>>  \setupformula[align=flushleft]
>>
>>  \starttext
>>  \startitemize
>>    \item An equation inside an itemize
>>      \startformula
>>        E = mc^2
>>      \stopformula
>>  \stopitemize
>>  \stoptext
>>
>>  The output of 2016.05.06 is attached as test-old.pdf; that of 2016.06.16
>>  is attached as test-new.pdf
>>
>>  Is it possible to revert to the old behavior?
>
> can you test with
>
>   \hskip\d_strc_formulas_display_margin_left % was kern but that doesn't 
> indent
>
> line 1153 in math-ali.mkiv

I guess you already added it to the new beta. It works correctly.

Thanks,
Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-06-16 22:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-16 16:58 Aditya Mahajan
2016-06-16 20:46 ` Hans Hagen
2016-06-16 22:18   ` Aditya Mahajan [this message]
2016-06-17  4:24     ` Alan BRASLAU
2016-06-17  5:48       ` Aditya Mahajan
2016-06-18 14:42         ` Hans Hagen
2016-06-17  7:40     ` 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=alpine.LNX.2.20.1606161816100.12043@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --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).