Skip to main content

Functional LaTeX generators for tables and images.

Project description

erofdmit-latex-functional-gen

Small functional library for LaTeX code generation.

Features

  • generate_table_latex(rows) - builds a tabular block from a 2D list
  • generate_image_latex(image_path, width=..., caption=..., label=...) - builds a figure block with \includegraphics

Quick start

from latex_functional import generate_table_latex, generate_image_latex

table = generate_table_latex([
    ["Name", "Score"],
    ["Alice", 95],
    ["Bob", 88],
])

image = generate_image_latex(
    "images/sample.png",
    caption="Sample image",
    label="fig:sample",
)

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

erofdmit_latex_functional_gen-0.1.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file erofdmit_latex_functional_gen-0.1.1.tar.gz.

File metadata

File hashes

Hashes for erofdmit_latex_functional_gen-0.1.1.tar.gz
Algorithm Hash digest
SHA256 242664a1807dd9fe8a5c24c29e79d309255d4d49181c385e05255988c70a63a6
MD5 56b563d3853f3dc3f72819c86c43f5e1
BLAKE2b-256 26bd04302966f7727a7dcc83f187aaa05fe6e1c99dae83bed9f5e842ec608ff0

See more details on using hashes here.

File details

Details for the file erofdmit_latex_functional_gen-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for erofdmit_latex_functional_gen-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d29e78178d7dc621966280d8469a9caaf2524345631d3bf1f5b294c2c1ca7a92
MD5 e59984af1a40ce69e12b08dde4a24ceb
BLAKE2b-256 809eefafbfa3c28fbe8895244e4bd83cabea2acf1e1a3ec4e5c48071c36df92f

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