correct the latex code in docstrings