Modify latex example