When escaping the dollar sign inside a \url{}
command, as shown in my MWE, the following is displayed. (Below is what I am expecting).
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{hyperref}
\begin{document}
\url{test \$ test}
test \$ test
\end{document}
I do not have an idea what is causing this. I am using writeLaTeX to compile this – could that be the culprit?
Could this answer be the answer? How would I go about implementing that solution for a dollar sign?
Best Answer
There is no need to escape a dollar symbol in a url.