我正在使用 moderncv 准备简历,并选择了休闲风格。现在,我想省略电话、电子邮件等图标。我该怎么做?提前谢谢您!
答案1
您只需将几个符号重新定义为空即可。例如,对于地址符号,您可以使用:
\renewcommand*{\addresssymbol}{}
对于所有符号(选择您需要的符号,注释其他符号),请参阅以下 MWE(在个人数据之后,您会发现符号的重新定义):
\documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
\moderncvstyle{casual}
\moderncvcolor{blue}
% character encoding
\usepackage[utf8]{inputenc}
% adjust the page margins
\usepackage[scale=0.75]{geometry}
\setlength{\hintscolumnwidth}{3.5cm}
% personal data
\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}
\social[linkedin]{john.doe}
\social[twitter]{jdoe}
\social[github]{jdoe}
\extrainfo{additional information}
\photo[64pt][0.4pt]{example-image-a}
\quote{Some quote}
\setlength{\footskip}{66pt}
\renewcommand*{\addresssymbol}{} % <=====================================
\renewcommand*{\mobilephonesymbol}{}
\renewcommand*{\fixedphonesymbol}{}
\renewcommand*{\faxphonesymbol}{}
\renewcommand*{\emailsymbol}{}
\renewcommand*{\homepagesymbol}{}
\renewcommand*{\linkedinsocialsymbol}{}
\renewcommand*{\twittersocialsymbol}{}
\renewcommand*{\githubsocialsymbol}{} % <================================
\begin{document}
\makecvtitle
\section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\section{Master thesis}
\cvitem{title}{\emph{Title}}
\cvitem{supervisors}{Supervisors}
\cvitem{description}{Short thesis abstract}
\cvitem{Staatsangehörigkeit}{Deutsch}
\cventry{\textbf{Staats\-angehörigkeit}}{Deutsch}{}{}{}{}
\end{document}
结果: