Add text formatting snippets

Adds text formatting snippets for tex