Added some more latex support.