相关疑难解决方法(0)

在Sphinx中创建LaTeX数学宏

我正在用Python编写一些数学代码,并使用Sphinx生成文档.我知道Sphinx可以在Python文档字符串中处理LaTeX代码; 请参阅http://sphinx.pocoo.org/latest/ext/math.html#module-sphinx.ext.mathbase.如何创建LaTeX宏,例如\newcommand{\cG}{\mathcal{G}},在Python文档字符串中使用?

python macros latex python-sphinx

10
推荐指数
2
解决办法
2517
查看次数

标签 统计

latex ×1

macros ×1

python ×1

python-sphinx ×1