added basic latex generator