Text Formatting ⇒ How to make double underline in an url
How to make double underline in an url
I have the problem that in my bibtex I have an url like this:
howpublished = {{http://www.foo.com/double__underlines}}
This throws an error if directly compiled.
double\{__}underlines does not work, \_\_ works but gives a space in between like this _ _.
How can I do this?
Thanks a bunch.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: How to make double underline in an url
howpublished = {\url{http://www.foo.com/double__underlines}},
but frankly, I think \_\_ looks fine too. (No space in the middle, but still a small visible gap in the output.)
If you really want to get rid of the gap, I suppose you could use either \_\negthinspace\_ or \underline{~~}, but again, I think the gap is a good thing.