Chrome 使用尾部垂直线渲染 MathJax 方程

Chrome rendering MathJax equations with a trailing vertical line

我正在使用 Jupyter 的 Octave 内核学习 Andrew Ng 在 Coursera 上的机器学习课程,当然 MathJax 提供方程式渲染。这个细条出现在每个等式的右边,而且只出现在 Chrome 中。关于堆栈中哪里可能出错的想法?​​

这是一个已知问题,由 Chrome 更改其舍入行为引起。它将在下一个版本中修复。参见 https://github.com/mathjax/MathJax/issues/1300

一种快速而肮脏的方法是右键单击其中一个,然后 select Math Setting -> Math Renderer

中的另一个渲染器

另一种方法是创建此 link 的书签:javascript:$('.math>span').css("border-left-color","transparent") 并在使用 mathjax 的页面中单击它。

如果您的 MathJax 不是最新版本,您可以将此添加到 css 样式中:

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

那么这个问题就可以解决了