36

I am working through Andrew Ng's machine learning course on Coursera using the Octave kernel for Jupyter and of course MathJax provides the equation rendering. This thin bar appears on the right side of every equation, and only in Chrome. Any thoughts on where in the stack things might be going wrong?

Screenshot of vertical line in Jupyter equations

3 Answers 3

26

This is a known issue caused by Chrome changing its rounding behavior. It will be fixed in the next release. See https://github.com/mathjax/MathJax/issues/1300

4
11

A quick and dirty method is right click one of them and select another renderer in Math Setting -> Math Renderer

Another method is create a bookmark of this link: javascript:$('.math>span').css("border-left-color","transparent") and click it in pages that use mathjax.

1
  • great, thank you. I am using jupyter via sagemath and this trailing bar was very annoying. now I just add a cell containing %%javascript and your js line and all is nice!
    – lehalle
    Aug 1, 2016 at 9:19
4

If your MathJax is not the latest version, you can add this to the css style:

.MathJax nobr>span.math>span{border-left-width:0 !important};

then this problem can be solved.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.