\documentclass{article} % compile with or without the colorlinks option \usepackage{xcolor} \usepackage[colorlinks]{hyperref} \usepackage{aeb_mlink} \definePath{\urlAcroTeXBlog}{http://www.acrotex.net/blog} \definecolor{webgreen}{rgb}{0,.6,0} \parindent0pt \parskip3pt \begin{document} In this demo file we test the \verb~\mlurl~ command. OK, let's see if we still wrap around the line \mlurl{http://www.math.uakron.edu/~dpstory}. Now let's try another link, the following URL \mlurl[\S{U}\W{1}\Color{0 .6 0}\linktxtcolor{webgreen}]{http://www.acrotex.net}, does it wrap? Yes, but did the change in color also change the color of the next link: \setLink[\A{\JS{app.alert("Splendid, you clicked a link, a link to nowhere. The color of the link is as it should be.")}}\Color{1 0 0}]{Go There!} Let's try a footnote.\footnote{OK, lets see if we still wrap around the line, does it work? \mlurl{http://www.math.uakron.edu/~dpstory}.} Here, we reference a \textsf{AeB Pro} articles \mlurl{\urlAcroTeXBlog/?tag=aeb-pro}. If the URL contains spaces, uses URL encoding, see \mlurl{http://www.w3schools.com/tags/ref_urlencode.asp}, for example. In the next example, we use \verb~\%20~ for space, the normal \texttt{\%20} is a problem because \texttt{\%} is still the {\LaTeX} comment character. Try a PDF with search: \mlurl{http://www.math.uakron.edu/~dpstory/acrotex/aeb_man.pdf#page=8% &search=AcroTeX\%20web\%20exerquiz}. The comment character can be used to wrap a long URL to the next line without effecting the address, as is done in the source file. Let's take that long URL and break it across the page. \vspace{23\baselineskip} %\turnSyllbCntOn Try a PDF with search: \mlurl[\mlcrackat{8}]{http://www.math.uakron.edu/~dpstory/acrotex/aeb_man.pdf#page=8% &search=AcroTeX\%20web\%20exerquiz} That's a long URL that has been broken across the page boundary. \end{document}