如何将照片纳入 moderncv?

如何将照片纳入 moderncv?

我目前正在使用以下代码行通过 moderncv 显示我的个人信息:

\firstname{x}
\familyname{xx}
\title{xxx}              
\address{xxx}{xxx}    
\email{xxx}
\mobile{+xxx} 
\extrainfo{xxx}
\photo[64pt][0.4pt]{xx.jpg}

\makeatletter
\newcommand\personaltitle{%
  \def\phonesdetails{}%
  \collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
    \protected@edef\phonesdetails{\phonesdetails\protect\makenewline\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}%
 \par\noindent\begin{tabular}{@{}l@{}}
     {\LARGE\textbf{\@firstname\ \@lastname}} \\
     \@addressstreet \\
     \@addresscity  \\
     \@extrainfo \\
     \mobilephonesymbol:\ \collection@phones@item  \\
     \emailsymbol:\ \emaillink{\@email} \\
 \end{tabular}\par%\noindent\rule{\linewidth}{1pt}\par%
}

但添加该\photo...行后,右上角的照片不会显示。我该如何修复它?

相关内容