add tex transitions and heading snippets