以下是 MWE:
\documentclass[10pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name
% modern themes
\moderncvstyle{banking} % style options are 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvcolor{black} % color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
% character encoding
\usepackage[utf8]{inputenc}
% personal data
\name{Firstname}{Lastname}
\phone[mobile]{\texttt{+}1 (XXX) XXX-XXXX}
\email{[email protected]}
\social{https://www.linkedin.com/in/X/}
\homepage{X.github.io}
\AtBeginDocument{
\hypersetup{pdfborder = 0 0 1,colorlinks=false,linkbordercolor=blue,urlcolor=blue}
}
%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
\begin{document}
\makecvtitle
\end{document}
您可以看到蓝色轮廓仅围绕着单词,而不围绕着符号。如何将符号包含在 href 中?