Trying latex generation