ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Accent wrecking \mathboxanchored
@ 2022-12-22 14:08 Gavin via ntg-context
  0 siblings, 0 replies; only message in thread
From: Gavin via ntg-context @ 2022-12-22 14:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Gavin

Hi Hans, Mikael and list,

I’ve been testing the connectors, which work great with the latest upload. One problem I found: an accent in the \mathboxanchored causes a "Missing number, treated as zero” error and no output. MWE below.

Thanks for all of the improvements. I’m making all kinds of connections!
Gavin


\starttext

\startboxanchoring[+]
\connectboxanchors[top]    [top]    [distance=1ex,arrow=no] {c1}{c2}
\connectboxanchors[bottom] [bottom] [distance=1ex,arrow=no] {c2}{c3}
\startformula
    \mathboxanchored[nucleus]{c1}{e}^{\dot\alpha}
%    \mathboxanchored[nucleus]{c2}{e}_{\mu}        % <-- This works, without accent
%    \mathboxanchored[nucleus]{c2}{\bar{e}}_{\mu} % <-- This does not work, with accent
    \bar{\mathboxanchored[nucleus]{c2}{e}}_{\mu} % <-- This works, but connector punches through accent
    \mathboxanchored[nucleus]{c3}{e}^{\beta} = \frac{1}{\sqrt{2}}
    \bar\sigma^{\dot\alpha\beta}_{\mu}
\stopformula
\stopboxanchoring

\stoptext

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

only message in thread, other threads:[~2022-12-22 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22 14:08 Accent wrecking \mathboxanchored Gavin via ntg-context

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