ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* rightaligned formulas stick out in the margin
@ 2016-09-27 13:10 Mikael P. Sundqvist
  2016-09-27 13:14 ` Henri Menke
  0 siblings, 1 reply; 3+ messages in thread
From: Mikael P. Sundqvist @ 2016-09-27 13:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

Hi!

Look at the following example (pdf attached)

\setupformulas[
align=flushleft,
leftmargin=3em,
]

\starttext
\input tufte % Some text to see where the margin is

This looks OK:
\startformula
1+1=2
\stopformula
This does not look OK:
\startformula
1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19
\stopformula
This looks OK again:
\startformula
\startalign
\NC 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19\NR
\stopalign
\stopformula
\stoptext

The result is attached. I would expect the second display math to
behave as the third, i.e. move to the left so that it fits. As a
workaround I can put every problematic formula I have in aligns, but I
have a feeling this might be a bug.

/Mikael

[-- Attachment #2: ctx-example11.pdf --]
[-- Type: application/pdf, Size: 11159 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rightaligned formulas stick out in the margin
  2016-09-27 13:10 rightaligned formulas stick out in the margin Mikael P. Sundqvist
@ 2016-09-27 13:14 ` Henri Menke
  2016-09-27 15:12   ` Mikael P. Sundqvist
  0 siblings, 1 reply; 3+ messages in thread
From: Henri Menke @ 2016-09-27 13:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

No problem with TL 2016.  Are you on beta?

On 09/27/2016 03:10 PM, Mikael P. Sundqvist wrote:
> Hi!
> 
> Look at the following example (pdf attached)
> 
> \setupformulas[
> align=flushleft,
> leftmargin=3em,
> ]
> 
> \starttext
> \input tufte % Some text to see where the margin is
> 
> This looks OK:
> \startformula
> 1+1=2
> \stopformula
> This does not look OK:
> \startformula
> 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19
> \stopformula
> This looks OK again:
> \startformula
> \startalign
> \NC 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19\NR
> \stopalign
> \stopformula
> \stoptext
> 
> The result is attached. I would expect the second display math to
> behave as the third, i.e. move to the left so that it fits. As a
> workaround I can put every problematic formula I have in aligns, but I
> have a feeling this might be a bug.
> 
> /Mikael
> 
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rightaligned formulas stick out in the margin
  2016-09-27 13:14 ` Henri Menke
@ 2016-09-27 15:12   ` Mikael P. Sundqvist
  0 siblings, 0 replies; 3+ messages in thread
From: Mikael P. Sundqvist @ 2016-09-27 15:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Sep 27, 2016 at 3:14 PM, Henri Menke <henrimenke@gmail.com> wrote:
> No problem with TL 2016.  Are you on beta?
>
> On 09/27/2016 03:10 PM, Mikael P. Sundqvist wrote:
>> Hi!
>>
>> Look at the following example (pdf attached)
>>
>> \setupformulas[
>> align=flushleft,
>> leftmargin=3em,
>> ]
>>
>> \starttext
>> \input tufte % Some text to see where the margin is
>>
>> This looks OK:
>> \startformula
>> 1+1=2
>> \stopformula
>> This does not look OK:
>> \startformula
>> 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19
>> \stopformula
>> This looks OK again:
>> \startformula
>> \startalign
>> \NC 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19\NR
>> \stopalign
>> \stopformula
>> \stoptext
>>
>> The result is attached. I would expect the second display math to
>> behave as the third, i.e. move to the left so that it fits. As a
>> workaround I can put every problematic formula I have in aligns, but I
>> have a feeling this might be a bug.
>>
>> /Mikael
>>
>>
>>
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

Yes indeed, I forgot to say. I use a very late standalone. This
problem has been there for some weeks at least.

/Mikael
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-27 15:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-27 13:10 rightaligned formulas stick out in the margin Mikael P. Sundqvist
2016-09-27 13:14 ` Henri Menke
2016-09-27 15:12   ` Mikael P. Sundqvist

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).