Add snippet for int, sum in tex
Merge branch 'master' into mac