Latexcode for the pattern