Skip to main content

Простой генератор LaTeX

Project description

LaTeX Generator

Простая библиотека для генерации LaTeX кода.

Установка

pip install latex-generator-itmo-kulyaskin

Использование

Генерация таблиц

from latex_generator import generate_table


data = [
    ["Имя", "Возраст", "Город"],
    ["Иван", "25", "Москва"],
    ["Мария", "30", "Санкт-Петербург"]
]


latex_table = generate_table(
    data,
    caption="Пример таблицы с данными пользователей",
    label="tab:users"
)

print(latex_table)

Генерация изображений

from latex_generator import generate_image

latex_image = generate_image(
    "cat.png",
    caption="Котик",
    label="fig:cat",
    width="0.8\\textwidth"
)

print(latex_image)

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

latex_generator_itmo_kulyaskin-0.1.0.tar.gz (3.2 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 latex_generator_itmo_kulyaskin-0.1.0.tar.gz.

File metadata

File hashes

Hashes for latex_generator_itmo_kulyaskin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6fbd16c5e84d3d39c0afdb1806043930e59096baf7b4a2e09e9763d885245235
MD5 48c5fd7b0cdaaefe2ad7fc557a742dbe
BLAKE2b-256 c704243cf2cd2bc9027504909fe0ecfd1eb35d4f6d9f879de72077a871e068a9

See more details on using hashes here.

File details

Details for the file latex_generator_itmo_kulyaskin-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for latex_generator_itmo_kulyaskin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6000b13b9023277cc3fb823b9bffa18a36016cc5386b81e8a4324f20482f6a8
MD5 e2344df953d1ff3434668fcb05293e94
BLAKE2b-256 421cb2987e61208b1004570b24a8b64390c916852b2c230dda679e9b7b9a5ba1

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