jupyter笔记本无法正确渲染LaTeX

时间:2018-01-08 12:39:36

标签: python rendering jupyter-notebook mathjax

我开始在jupyter笔记本中使用python,我非常喜欢降价功能。唯一的问题(更美观)是打印不像标准的LaTeX / Mathjax渲染。

这是我的第一个单元格

import sympy as sm
import numpy as np

这是我的第二个单元格(来自documentation的示例代码)

%%latex
\begin{align}
\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\
\nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\
\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\
\nabla \cdot \vec{\mathbf{B}} & = 0
\end{align}

笔记本中的结果如下图所示

enter image description here

将其与标准Mathjax渲染进行比较

enter image description here

明确表示标准的Mathjax看起来更精致,因此数学眼睛更加愉悦:D。

  

问题:如何,我可以强制我的笔记本渲染如同   第二张照片?

0 个答案:

没有答案