IPython (Jupyter) notebook producing ghost line in all equations

 ̄綄美尐妖づ 提交于 2019-11-27 02:06:01

问题


I installed IPython / Jupyter using pip on a new machine (Macbook Air with El Capitan). In a fairly simple notebook of mine (created with the same version of the whole stack) all equations, inline or not, suddenly have a vertical line on the right hand side; same height as the embedded image.

This is the case even for a single inline symbol such as $x$. I have no complicated macros or any weird LaTeX hacking going on.

Does anybody know this?

Here's a picture.


回答1:


This is a change in Chrome, affecting MathJax 2.5, which ships with Jupyter Notebook 4.1. Notebook 4.2 will bundle MathJax 2.6, which will fix this problem. In the meantime, you can tell the notebook to use latest MathJax from the CDN, by adding to ~/.jupyter/jupyter_notebook_config.py:

c.NotebookApp.mathjax_url = "https://cdn.mathjax.org/mathjax/latest/MathJax.js"

Other browsers do not appear to be affected.



来源:https://stackoverflow.com/questions/35171714/ipython-jupyter-notebook-producing-ghost-line-in-all-equations

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!