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.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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.