Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome rendering MathJax equations with a trailing vertical line

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

like image 551
Niels Avatar asked Dec 14 '15 22:12

Niels


3 Answers

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

like image 71
Peter Krautzberger Avatar answered Nov 02 '22 03:11

Peter Krautzberger


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.

like image 22
张实唯 Avatar answered Nov 02 '22 05:11

张实唯


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.

like image 4
Bravo Yeung Avatar answered Nov 02 '22 03:11

Bravo Yeung