Added Latex support