added latex to canvas