web tech, equation labels Show more
Traditional equation labels are quite intractable in CSS and SVG. They float to a side but don't contribute to the width of the main equation body (which is important for cross-expression alignments).
It's fairly amazing that MathJax v3 will do this in SVG.
@pkra Does KATEX do it too, or do you not know?
@acciomath I'm not sure I understand the question. IIRC the support labels in the same way MathJax's CSS does, by calculating the width of the label and using negative margins to overlap a width:100% container.
@acciomath "they" not "the". Anyway. The problem is to do it without hackery and calculations.
@pkra oh right, sorry. I think I misunderstood your post, oops.
@acciomath ah, sorry for being a bit unclear then.
A Mastodon instance for maths people. The kind of people who make \(\pi z^2 \times a\) jokes.
Use \( and \) for inline LaTeX, and \[ and \] for display mode.