Interactive equation editor