当前位置

网站首页> 程序设计 > 开源项目 > 编程语言 > 浏览文章

LaTeX 的 Python 库 PyLaTeX

作者:小梦 来源: 网络 时间: 2024-08-01 阅读:

阿里百川梦想创业大赛,500万创投寻找最赞的APP

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

相关阅读

热点阅读

网友最爱