PyLaTeXLaTeX 的 Python 库

联合创作 · 2023-10-02 01:40

PyLaTeX 是一个用来创建和编译 LaTeX 文件的 Python 库。

特性:

  • Document generation and compilation

  • Section, table, math, figure and package classes

  • A matrix class that can compile NumPy ndarrays and matrices to LaTeX

  • Very exstensible base classes that you can use to easily add new features

  • Contextmanager style class hierarchy

  • Functionality to escape special LaTeX characters

  • Bold, italic and verbatim functions

  • Every class has a dump method, which writes the output to a filepointer this way you can use snippets in in normal LaTeX files using \input

依赖:

  • Python 3.x or Python 2.7

  • ordered-set

安装:pip install pylatex

浏览 1
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报