Use latex commands for backslash, tilde and caret.