LaTeX/MathML Conversion
Convert LaTeX equations to accessible MathML with AI-generated ARIA labels. The only tool that properly handles STEM accessibility.
Why This Matters
95-99% of mathematicians use LaTeX. Until now, there was no good solution for making equations accessible. Screen readers can't read LaTeX, and manual conversion is impractical for thousands of equations.
Supported Packages
amsmath
Full support for align, gather, matrix, cases, and all standard environments.
ChemFig / mhchem
Chemistry equations and molecular structures with proper naming.
physics
Bra-ket notation, derivatives, vectors, and physics operators.
TikZ (basic)
Simple diagrams with AI-generated descriptions.
How It Works
Parse LaTeX
Extract equations from .tex files or inline LaTeX in documents.
Convert to MathML
Use latex2mathml for accurate structural conversion.
Generate ARIA Labels
AI generates natural language descriptions for screen readers.
Example
Input (LaTeX)
\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}Output (MathML with ARIA)
<math aria-label="x equals negative b plus or minus the square root of b squared minus 4 a c, all divided by 2 a">
<mfrac>
<mrow>
<mo>-</mo><mi>b</mi>
<mo>±</mo>
<msqrt>
<msup><mi>b</mi><mn>2</mn></msup>
<mo>-</mo><mn>4</mn><mi>a</mi><mi>c</mi>
</msqrt>
</mrow>
<mrow><mn>2</mn><mi>a</mi></mrow>
</mfrac>
</math>API Usage
# Convert a single equation
curl -X POST http://localhost:8000/api/v1/latex/convert \
-H "Content-Type: application/json" \
-d '{"latex": "\\frac{1}{2}"}'
# Process a .tex file
curl -X POST http://localhost:8000/api/v1/scan/document \
-F "[email protected]"