Skip to main content

A Python library for creating LaTeX files and snippets

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyLaTeX-1.4.0.tar.gz (84.6 kB view details)

Uploaded Source

File details

Details for the file PyLaTeX-1.4.0.tar.gz.

File metadata

  • Download URL: PyLaTeX-1.4.0.tar.gz
  • Upload date:
  • Size: 84.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9

File hashes

Hashes for PyLaTeX-1.4.0.tar.gz
Algorithm Hash digest
SHA256 25d68aa0c7c10b1d6d95092933ffa3efeb84a57d614f68e12935985fbcdae85e
MD5 ebb4b9a9a6fce3f53e40d836d23a80e0
BLAKE2b-256 72eef99a2f3dab29e16bd893e1120a39e08a2b3fff95f897f4fe3c73c76c5844

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page