latex generator edited (3)