Metadata-Version: 2.4
Name: erofdmit-latex-functional-gen
Version: 0.1.1
Summary: Functional LaTeX generators for tables and images.
Author: erofdmit
Author-email: erofdmit@example.com
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Description-Content-Type: text/markdown

# 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

```python
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",
)
```


