I have trouble with \url and \footnote



my text \footnote{\url{https://webbook.nist.gov/cgi/cbook.cgi?ID=C69727&Type=HCOMBS#HCOMBS}}


this is the error message:

! Illegal parameter number in definition of \Hy@tempa.H ...gi/cbook.cgi?ID=C69727&Type=HCOMBS#HCOMBS}}

Without the &Type=HCOMBS#HCOMBS link portion the code works fine, so I guess the problem lies in & character. Any suggestion?

Thank you in advance


If you have an url with special chars you should define it (and the main problem is the # here):


my text \footnote{\myurl}

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.