Metadata-Version: 2.1
Name: real2tex
Version: 1.0.1
Summary: Converts a number to a LaTeX string in scientific notation.
Author: Giuseppe Scarlato
Project-URL: Homepage, https://github.com/Giuseppe499/real2tex
Project-URL: Issues, https://github.com/Giuseppe499/real2tex/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.0
Description-Content-Type: text/markdown
License-File: LICENSE

# real2tex

`real2tex` is a Python module that converts a real number
to a string of LaTeX code that represents the number
in scientific notation.

## Installation
```
pip install real2tex
```

## Usage
```python
from real2tex import real2tex

tex = real2tex(1.2345e-6, precision=2)
print(tex) # "1.23 \cdot 10^{\minus 6}"
```
