# Underline and color URL in LuaLaTex

I was wondering how I can underline and color URL in LuaLaTex. I was able to add underline but could not change the URL and the underline to blue. Font is Calibri. Thanks!

% code used in LuaLaTex

\documentclass{article}
\usepackage{fancyhdr,graphicx,xcolor,colortbl}
\usepackage{fontspec}

\setmainfont{Calibri}

\begin{document}

Further information can be found online (\underline {http://findsource.org/})

\end{document}

• Please provide a working example of what you've done so far. It's hard to provide specific advice without such information.
– Mico
Sep 25 '13 at 21:24

Try this code

\documentclass{article}
\usepackage{fancyhdr,graphicx,xcolor,colortbl}
\usepackage{fontspec}

\setmainfont{Calibri}

\begin{document}

Further information can be found online {\color{blue}\underline{\href{http://findsource.org/}{http://findsource.org/}}}

\end{document}


It uses hyperref package with options colorlinks and urlcolor=blue.

Another try, this time redefining the \urlcommand:

\documentclass{article}
\usepackage{fancyhdr,graphicx,xcolor,colortbl}
\usepackage{fontspec}
\usepackage{hyperref}

\DeclareUrlCommand{\url}{%