Skip to main content

A simple LaTeX table and image generator

Project description

Python_course

LaTeX Tools LaTeX Tools is a Python package that simplifies the generation of LaTeX documents. It provides functionality to automatically create tables and include images in your LaTeX documents, making it easier to incorporate data and visuals into your LaTeX projects.

Features Generate LaTeX code for tables from Python lists. Include images in your LaTeX documents with simple Python commands. Installation You can install LaTeX Tools directly from PyPI:

sh Copy code pip install latexgen-renzo-fu Replace latexgen-renzo-fu with the actual name of your package on PyPI.

Usage Creating a Table To create a table in your LaTeX document, use the generate_latex_table function:

python Copy code from latex_tools import generate_latex_table

data = [ ["Header 1", "Header 2", "Header 3"], ["Row 1, Cell 1", "Row 1, Cell 2", "Row 1, Cell 3"], ["Row 2, Cell 1", "Row 2, Cell 2", "Row 2, Cell 3"] ]

latex_code = generate_latex_table(data) print(latex_code) Including an Image To include an image in your LaTeX document, use the generate_latex_image function:

python Copy code from latex_tools import generate_latex_image

image_code = generate_latex_image('path/to/your/image.png', 'Caption for the image', 'fig:image_label') print(image_code) Contributing Contributions to LaTeX Tools are welcome! Please fork the repository and submit a pull request with your improvements.

License LaTeX Tools is licensed under the MIT License. See the LICENSE file for more details.

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

latexgen-renzo-fu-0.1.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

latexgen_renzo_fu-0.1.2-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file latexgen-renzo-fu-0.1.2.tar.gz.

File metadata

  • Download URL: latexgen-renzo-fu-0.1.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for latexgen-renzo-fu-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0bf703592da8aadc4fcd9dd397625f72ab523568d234641632585cc026c721b8
MD5 0ab5efed8dec260270c3da2639f1fbcf
BLAKE2b-256 e28d888b1aaa0dd7ff1fcbbf6e11201e2ba104c62a19eb1406374a6b87baa5cc

See more details on using hashes here.

File details

Details for the file latexgen_renzo_fu-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for latexgen_renzo_fu-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff5b9084f4a7e2ed67d2ad3433d70a56b7147e3bc6accd15a051ca2c25685143
MD5 92c2d78fb6205131980b824e0eb315b3
BLAKE2b-256 725bbeff5e305b2d21a1af3bba51f21815912413af66def42226e5c4af9a24b8

See more details on using hashes here.

Supported by

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