escape latex special characters

-escape the following characters: \ & % $ # _ { } ~ ^