我今天安装了VS Code,并创建了一个非常简单的jupyter笔记本,该笔记本可以正常运行,但即使安装了 LaTex Workshop 扩展程序,也无法在VS Code中呈现LaTex。
当我直接在jupyter中运行同一笔记本时,它可以正常显示。
这是相关的降价单元格中的代码:
### This is another markdown cell with Latex
This equation defines eigenvalues and eigenvectors: $Mx = \lambda x$
another equation:
$\begin{align*}
(a+b)^2 = a^2+2ab+b^2
\end{align*}$
在jupyter中,该单元格如下所示:
在VS Code中,单元格如下所示: