I'd like to do this:
\homepage{ \textbf{www.adress.com} }
But it doesn't work. How can I do for putting the homepage in bold?
One possibility is to define a bold-faced variation of \httplink
internally used to typeset the homepage; this bold-faced version is then used in patching the \makecvtitle
command; here's an example using the classic
theme:
\documentclass{moderncv}
\moderncvtheme{classic}
\usepackage{etoolbox}
\makeatother
\newcommand*{\bfhttplink}[2][]{%
\ifthenelse{\equal{#1}{}}%
{\href{http://#2}{\bfseries#2}}%
{\href{http://#2}{\bfseries#1}}}
\makeatletter
\AtBeginDocument{
\makeatletter
\patchcmd{\makecvtitle}{\httplink{\@homepage}}{\bfhttplink{\@homepage}}{}{}
\makeatletter
}
\firstname{John}
\familyname{Doe}
\homepage{www.adress.com}
\email{[email protected]}
\begin{document}
\makecvtitle
\end{document}
etoolbox
package which should be already installed in your system.
Commented
Dec 4, 2012 at 4:19