答案1
moderncv
将其符号存储在一堆可以重新定义的 makros 中:
\renewcommand*{\addresssymbol}{}
\renewcommand*{\mobilephonesymbol}{}
\renewcommand*{\fixedphonesymbol}{}
\renewcommand*{\faxphonesymbol}{}
\renewcommand*{\emailsymbol}{}
\renewcommand*{\homepagesymbol}{}
\renewcommand*{\linkedinsocialsymbol}{}
\renewcommand*{\twittersocialsymbol}{}
\renewcommand*{\githubsocialsymbol}{}
参见moderncviconsmarvosym.sty
moderncv
CTAN 中的存储库。
选择 twitter 字段后,它看起来会是这样的:
\documentclass[11pt,a4paper,roman]{moderncv}
\usepackage[utf8]{inputenc}
\moderncvstyle{banking}
\moderncvcolor{blue}
\newcommand{\dblp}[1]{\collectionadd[twitter]{socials}{\protect\httplink[#1]{dblp.uni-trier.de/search?q=#1}}}
\renewcommand*{\twittersocialsymbol}{%
\raisebox{-0.08em}{%
\scalebox{0.7}{%
\tikz{\draw node[rectangle, rounded corners, draw=color2, inner sep=1pt] (0,0) {\textsf{dblp}};}~%
}}}
\name{John}{Doe}
\title{Resumé title}
\address{street and number}{postcode city}{country}
\phone[mobile]{+1~(234)~567~890}
\phone[fixed]{+2~(345)~678~901}
\phone[fax]{+3~(456)~789~012}
\email{[email protected]}
\homepage{www.johndoe.com}
\dblp{doe:john}
\begin{document}
\makecvtitle
\end{document}
答案2
只需将以下几行添加到您的序言中(logodblp.png
是徽标图形文件的名称):
\usepackage{etoolbox}
\pretocmd{\makecvtitle}{\leavevmode\vskip-40pt{\includegraphics[scale = 0.33]{logodblp}}\vskip20pt}{}{}
如果您想要将其添加dblp logo
到additional information
项目中,只需在序言中添加以下几行:
\usepackage{etoolbox}
\newcommand*{\extrainfosymbol}{\includegraphics[scale = 0.05]{logodblp}}
\patchcmd{\extrainfo}{#1}{\extrainfosymbol~#1}{}{}