1

I try to write footnote in my file as

\footnote{http://chasen.org/\~taku/software/yamcha/}

But the tilde is compiled as /∼ in my web browser. So it can not reach the webpage.

I tried using package URL as following, but the same problem occurs.

\footnote{\url{http://chasen.org/\~taku/software/yamcha/}}

Any suggestion ?

ebosi
  • 11,692
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. The great thing with stackexchange, is that a lot of questions have already been asked... and answered. So it is worth to try searching if someone already had the same issue as you have -> you might get a solution even quicker than if you ask it again. This said, for all that, do not hesitate to ask a new question! A tip: You can use backticks ``` to mark your inline code as I did in my edit. – ebosi Jun 20 '16 at 07:24
  • It sounds like a font issue to me. Try to save the tex-file in unicode format, and maybe add \usepackage[utf8]{inputenc} in your code. Url should treat ~ as a letter so \url{http://bla.bla.bla/~home/test} should work. – StefanH Jun 20 '16 at 07:57

1 Answers1

2

With package url use:

\footnote{\url{http://chasen.org/~taku/software/yamcha/}}

and not \~, which is a command for the tilde as accent, eg \~n