Add latex support.
Merge pull request #25 from calfzhou/latex

Add latex support.