Added latex support>