ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Florian Leupold <fleupold@posteo.net>
To: ConTeXt List <ntg-context@ntg.nl>
Subject: Side effect of leftmargin for formulas on \inright
Date: Wed, 19 Oct 2016 13:40:18 +0200	[thread overview]
Message-ID: <15D83FE2-6F05-47B7-BE03-9038F3FE9EF0@posteo.net> (raw)


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

Dear list,

I have noticed that the key leftmargin for formulas has a side effect on \inright, see MWE below.

Assuming that is unwanted behavior, is there a way to circumvent the horizontal misplacement of the margin note?

Thanks and best regards,
Florian


MWE:

\setupformulas[align=right]
\starttext

\inright{Text}
Text

\inright{0em}
\placeformula[-]\startformula a^2+b^2=c^2 \stopformula

\setupformulas[leftmargin=2em]
\inright{2em}
\placeformula[-]\startformula a^2+b^2=c^2 \stopformula

\setupformulas[leftmargin=4em]
\inright{4em}
\placeformula[-]\startformula a^2+b^2=c^2 \stopformula

\stoptext

[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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:[~2016-10-19 11:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=15D83FE2-6F05-47B7-BE03-9038F3FE9EF0@posteo.net \
    --to=fleupold@posteo.net \
    --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).