12
$\begingroup$

The rendering of binomial expressions in MathJax seems a bit off. The spacings are a bit too large in my opinion and it looks a tiny bit asymmetrical.

Inline

Lorem $10+\binom32\times\binom xy$ ipsum.

Displaystyle

$$10+\binom32\times\binom xy$$


Screenshot from my computer (running Chrome on Windows 7):

enter image description here


To be clear, I mean the spacings around the parentheses.

enter image description here

$\endgroup$
8
  • $\begingroup$ It does look asymmetric, the multiplication symbol is closer to the left binom than the right. $\endgroup$
    – Scott H.
    Aug 13, 2014 at 22:53
  • $\begingroup$ The asymmetry is a bit strange. What I also find strange is to use \times to indicate multiplication :-) To each their own I guess. Compare $$10+\binom32\times\binom xy$$ and $$10+\binom32\binom xy$$ and $$10+\binom32\cdot\binom xy$$ and $$(1,-2,3)\times(2,1,4).$$ In a cross product $\times$ seems to be symmetrically placed. Also in a product of two binomials the centered dot is also asymmetrically placed. May be the problem is with the sizing of that imaginary box surrounding that large parens in the binomial? $\endgroup$ Aug 14, 2014 at 6:02
  • 1
    $\begingroup$ The large left parens in particular seems to cause a lof of white space to its left. The plus sign between $10$ and the binomial coefficient is IMVHO not centered either. May be Davide Cervone will see this and can explain things? $\endgroup$ Aug 14, 2014 at 6:14
  • 2
    $\begingroup$ I find one way to reduce the asymmetric white space is surround the middle operator by {}. $$ \begin{array}{c:c} \binom{3}{2}\cdot\binom{x}{y} & \binom{3}{2}\times\binom{x}{y}\\ \binom{3}{2}{\cdot}\binom{x}{y} & \binom{3}{2}{\times}\binom{x}{y}\\ \end{array}$$ \begin{array}{c:c} \binom{3}{2}\cdot\binom{x}{y} & \binom{3}{2}\times\binom{x}{y}\\ \binom{3}{2}{\cdot}\binom{x}{y} & \binom{3}{2}{\times}\binom{x}{y}\\ \end{array} $\endgroup$ Aug 14, 2014 at 14:13
  • 5
    $\begingroup$ It looks like a bug in the HTML-CSS and SVG output jax. The space between the cross and the parenthesis is being inserted twice. I haven't looked into why, but I started an issue tracker for it on the MathJax github site. Thanks for reporting the issue. It appears to only affect situations with \left and \right (or constructs that use stretchy delimiters like this). $\endgroup$ Aug 14, 2014 at 14:43
  • $\begingroup$ @DavideCervone Great, thanks! $\endgroup$
    – Daniel R
    Aug 14, 2014 at 14:56
  • 2
    $\begingroup$ The issue is easily fixed and will be corrected in the next release of MathJax. See the issue tracker linked above. $\endgroup$ Aug 19, 2014 at 19:32
  • $\begingroup$ @DavideCervone It probably does not make much difference (the only I can think of is that this question will not be shown as unanswered), but perhaps you could post your comments as an answer. (The question has been recently bumped anyway.) $\endgroup$ Oct 11, 2016 at 11:56

1 Answer 1

6
$\begingroup$

The issue was fixed in version 2.5 of MathJax. See the issue tracker on the MathJax GitHub site. As you can see, the live examples in the original post are now displayed properly.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .