Improve nomials latex output