0

I need to write a url including a character which seems a command , $

the entire command is :

\item URL - this is set as "\nolinkurl{http://localhost:9200/\$*/pcap/}"; 

but this produce:

URL - this is set as " http://localhost:9200/\protect\T1\ textdollar*/pcap/ "

how can I avoid part "\protected\T1\textdollar" ?

  • 1
    Use \usepackage{url,hyperref} \urldef\myURL\nolinkurl{http://localhost:9200/$*/pcap/} which allows you to place \myURL where you need it. – Werner Oct 31 '15 at 20:18
  • 4
    Isn't just $ instead of \$ what you want? Special characters in URLs need not being escaped (if the \url command, or \nolinkurl, is in normal running text). – egreg Oct 31 '15 at 20:33

0 Answers0