snippets for tex frame work