• Stars
    star
    2,118
  • Rank 21,172 (Top 0.5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 10 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Python library for creating LaTeX files

PyLaTeX Actions License PyPi Stable Docs Latest Docs

PyLaTeX is a Python library for creating and compiling LaTeX files or snippets. The goal of this library is being an easy, but extensible interface between Python and LaTeX.

Installation

Simply install using pip:

pip install pylatex

And then install a relevant LaTeX processor and other dependencies. Examples:

Ubuntu

sudo apt-get install texlive-pictures texlive-science texlive-latex-extra latexmk

Documentation

There are two versions of the documentation:

Contributing

Read the How to contribute page for tips and rules when you want to contribute.

Examples

The documentation contains a lot of examples that show the functionality. To give an impression of what can be generated see this picture:

Generated PDF by PyLaTeX

Copyright and License

Copyright 2014 Jelte Fennema, under the MIT license