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}?
    – Mensch
    Commented Nov 1, 2018 at 2:23
  • What about this (code)?
    – Werner
    Commented Nov 1, 2018 at 3:19

1 Answer 1


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}


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .