LaTeX editor for inputting mathematical notation