How can I make the tilde appear in the url in the following document? I know that this has been asked many times before but googling has -not- helped me in my case. The following document does not show the tilde in the url.





  • 2
    Have you tried something like see url \url{https://www.university.edu/~person/index.html}? – Kurt Nov 1 '18 at 2:23
  • What about this (code)? – Werner Nov 1 '18 at 3:19

One solution is just to use \(\sim \), another is \textasciitilde


\href{http://www.university.edu/~person/index.html}{http://www.university.edu/\(\sim \)person/index.html}

\href{http://www.university.edu/~person/index.html}{http://www.university.edu/\textasciitilde person/index.html}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.