latext

For converting LaTeX to spoken text.


Keywords
latex, latex-to-text, text-to-speech, text-to-speech-python3
License
MIT
Install
pip install latext==0.0.7

Documentation

LaTeXt

Python package for converting LaTeX to text which can be read by text to speech programs.

Currently just a pile of substitutions of symbols and things surrounded by $'s. Documation coming eventually.

Installation

Install with pip:

pip install latext

Usage

Example

>>>from latext import latex_to_text
>>>text = '$10^2\pm3$'
>>>print(latex_to_text(text))
10 to the power of 2 plus or minus 3

License

This project is licensed under the MIT License - see the LICENSE.md file for details