ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mikael P. Sundqvist" <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: rightaligned formulas stick out in the margin
Date: Tue, 27 Sep 2016 15:10:39 +0200	[thread overview]
Message-ID: <CAHy-LL9rjKF6v3BhvGmU4qLNb1zKivocfOhaq-fBJudYojC+gw@mail.gmail.com> (raw)

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

             reply	other threads:[~2016-09-27 13:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-27 13:10 Mikael P. Sundqvist [this message]
2016-09-27 13:14 ` Henri Menke
2016-09-27 15:12   ` Mikael P. Sundqvist

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=CAHy-LL9rjKF6v3BhvGmU4qLNb1zKivocfOhaq-fBJudYojC+gw@mail.gmail.com \
    --to=mickep@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).