latex generator edited (2)