in2lambda.katex_convert.katex_convert.delete_functionsΒΆ

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

Helper method of latex_to_katex that deletes any LaTeX expressions with no KaTeX equivalent.

Parameters:

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

Returns:

The same LaTeX string with some commands removed.