I would like to have my DOIs underlined using the RSC package, if possible just the DOI, e.g. tweaking the DOI function rather than the hyperlink. The solution suggested here "underline the doi entry with natbib and abbrvnat style" does work for the RSC package even though it load natbib. Any idea ?
Nb: I have loaded every package and options related to bibliography I am using, even those redondants.
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{filecontents}
\usepackage[linktoc=all,hidelinks,bookmarksnumbered,pagebackref,xetex]{hyperref}
\PassOptionsToPackage{sort&compress,square,numbers}{natbib}
\usepackage[usedoi,linkdoi,super=false]{rsc}
% \usepackage[normalem]{ulem}% \uline
% \newcommand{\doi}[1]{doi: \uline{#1}}
\begin{filecontents}{biblio_test.bib}
@Article{hung2010practical,
Title = {On the practical aspects of recording wideline QCPMG NMR spectra},
Author = {Hung, Ivan and Gan, Zhehong},
Journal = {J. Magn. Reson.},
Year = {2010},
Number = {2},
Pages = {256--265},
Volume = {204},
Doi = {10.1016/j.jmr.2010.03.001},
File = {:Publications\\1-s2.0-S1090780710000571-main.pdf:PDF},
Owner = {Henri},
Publisher = {Elsevier},
Timestamp = {2015.09.03}
}
\end{filecontents}
\begin{document}
Some text.\cite{hung2010practical}
\bibliographystyle{rsc}
\bibliography{biblio_test}
\end{document}

urlpackage's command and the underlining commands don't like each other, I'm not sure if there is a good solution – moewe Oct 09 '15 at 13:16\urlcommand and keeping the line-breaking abilities, if you want; it would then be a good idea to make the question as general as possible, so don't focus on the bibliography too much there. But I did some searches and this question has come up once or twice already and didn't really have a satisfying solution. See here, here, here, here. – moewe Oct 10 '15 at 11:46