in2lambda.katex_convert.katex_convert.latex_to_katexΒΆ

in2lambda.katex_convert.katex_convert.latex_to_katex(latex_string: str) str[source]ΒΆ

Replace incompatible LaTeX functions with KaTeX compatible equivalents.

Parameters:

latex_string – A LaTeX string to be converted into valid KaTeX.

Returns:

Hopefully, a valid KaTeX expression that’s similar to the LaTeX expression.

Examples

>>>