changed latex mode in visualizer