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
Using \~{} or \textasciitilde{} in the text display part of \href urls produces a raised tilde, which is acceptable because the tilde is really a diacritic mark, and as such should be used in accenting characters. But this doesn't conform to normal document use of "~" in web documents and unix cmds. The web use of ~ based and the use of ~ the unix cmdl shortcuts is abnormal, but understandable, and you should be able to typeset them.
To fix this for your LaTeX document to look nicer you can try
But this produces a tilde symbol that now looks to low (understandable since it is still supposed to be a diacritic).
So my preferred method of typesetting "~" in url's, or, if you do not want to load this extra package during tex'ing, just define a mid-tilde in your preamble
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