Ipython 笔记本 - Latex inside markdown table

Ipython Notebook - Latex inside markdown table

我正在尝试创建一个带有内联乳胶的降价 table(例如 $$ 1+2 = 3 $$)。 到目前为止,这是我的示例代码:

| A | B | C | $$(A \implies B)$$ | $$\vee$$ |  $$(B \implies \neg A)$$
| :- | :- | :- | :- | :- | :-
| 1 | 2 | 3 | 4 | 5 | 6

但是结果比较奇怪:

关于如何防止此行中断的任何想法?

好吧,我的错,没有对此进行足够的详细研究..通过进一步的研究我自己找到了答案。

我注意到每个等式末尾的 | 并研究了这个并找到了答案 :

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"

另一种解决方法是,将降价单元格数学渲染器设置为“快速 HTML”,正如 Richard Ambler 在对上面链接的同一问题的评论中提到的那样。