ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Side effect of leftmargin for formulas on \inright
@ 2016-10-19 11:40 Florian Leupold
  0 siblings, 0 replies; only message in thread
From: Florian Leupold @ 2016-10-19 11:40 UTC (permalink / raw)
  To: ConTeXt List


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-19 11:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-19 11:40 Side effect of leftmargin for formulas on \inright Florian Leupold

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