I want to incorporate a link as a footnote to my latex text that contains a special character. That link is the following one:
http://www.robots.ox.ac.uk/~vgg/research/cross-modal-emotions/
And the special character is ~. I tried to incorporate the symbol in my text using the following: $\~$ however, I got an error that I could not do that. I tried also to use \sim however, with that symbol I could not open the correct url. Any idea how can I add it in my text?
urlorhyperrefpackage (hyperrefloadsurlautomatically, so no need to load both;urlwithouthyperrefwill not link the URL) and write\url{http://www.robots.ox.ac.uk/~vgg/research/cross-modal-emotions/}. – moewe Mar 25 '19 at 16:48~. You can use\urldefif you also want additional text in the footnote (works withurlorhyperref), see https://tex.stackexchange.com/q/12230/35864, or something like\makeatletter \newcommand\fnurl@[1]{\footnote{\url@{#1}}} \DeclareRobustCommand{\fnurl}{\hyper@normalise\fnurl@} \makeatother(works only withhyperref), see https://tex.stackexchange.com/q/12855/35864. – moewe Mar 26 '19 at 11:26