Fix typos in tex file

Some magic methods were missing an underscore in their names.