add folding anchors for LaTeX snippets