fix standard formatting for tex files