str2LaTeX

pyoof.str2LaTeX(python_string)[source] [edit on github]

Function that solves the underscore problem in a python string to \(\LaTeX\) string.

Parameters:

python_string : str

String that needs to be changed.

Returns:

LaTeX_string : str

String with the new underscore symbol.