Add support for Latex

Close #36