Added latex printing method [ci skip]