更改 Moderncv{Casual} Coverletter 模板中的图标

更改 Moderncv{Casual} Coverletter 模板中的图标

我正在使用Modercv{Casual}模板制作求职信,但想将页脚中的手机、电子邮件、网址、github 和 linkedIn 图标更改为“Font Awesome”类型,以使其与简历标题更兼容。我似乎发现很难,在我添加包后,它不接受 Fa 命令,fontawesome因为它说要放在\begin{document}命令后面。如果我把它放在开始命令中,位置就不对了,因为它显然会转到文档的顶部。

当我添加 Font Awesome 命令时,它会将其放在文档顶部

想要将此页脚图标更改为 Font Awesome

%% start of file `template.tex'. %% Copyright 2006-2013 Xavier Danaux ([email protected]). % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License version 1.3c, % available at http://www.latex-project.org/lppl/.

\documentclass[12pt,a4paper,roman, colorlinks, linkcolor= cyan]{moderncv} 
%\documentclass[11pt,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')

% moderncv themes 
\moderncvstyle{casual}                             % style options are 'casual' (default), 'classic', 'oldstyle' and 'banking' 
\moderncvcolor{blue}                               % color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black' 
%\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
%\nopagenumbers{}                                  % uncomment to suppress automatic page numbering for CVs longer than one page

% character encoding 
\usepackage[utf8]{inputenc}                       % if you are not using xelatex ou lualatex, replace by the encoding you are using 
%\usepackage{CJKutf8}                              % if you need to use CJK to typeset your resume in Chinese, Japanese or Korean

\setlength{\tabcolsep}{12pt} %Horizontal distance between links to linkedin, website, email and phone number

\usepackage[utf8]{inputenc} 
\usepackage{fontawesome}
\usepackage{tabularx} 
\usepackage{xcolor} 
\usepackage{ragged2e}

% adjust the page margins 
\usepackage[scale=0.8]{geometry}
%\setlength{\hintscolumnwidth}{3cm}                % if you want to change the width of the column with the dates
%\setlength{\makecvtitlenamewidth}{10cm}           % for the 'classic' style, if you want to force the width allocated to your name and avoid line breaks. be careful though, the length is normally calculated to avoid any overlap with your personal info; use this at your own typographical risks...

% personal data 
\name{JOSEPH,}{FERNANDO}

\title{Resumé title}                               % optional, remove / comment the line if not wanted 
%\address{street and number}{postcode city}{country}% optional, remove / comment the line if not wanted; the "postcode city" and and "country" arguments can be omitted or provided empty

\phone[fixed]{+2~(345)~678~901}                    % optional, remove / comment the line if not wanted 
\faMobile\enspace+3~(456)~789~012    
\email{[email protected]}                               % optional, remove / comment the line if not wanted 
\homepage{www.johndoe.com}            % optional, remove / comment the line if not wanted
%\extrainfo{additional information}                 % optional, remove / comment the line if not wanted 
%\photo[64pt][0.4pt]{picture}         % optional, remove / comment the line if not wanted; '64pt' is the height the picture must be resized to, 0.4pt is the thickness of the frame around it (put it to 0pt for no frame) and 'picture' is the name of the picture file 
%\quote{Some quote}                                % optional, remove / comment the line if not wanted

%---------------------------------------------------------------------------------- %            content
%---------------------------------------------------------------------------------- 
\begin{document}


\hypersetup{urlcolor= blue} % Adds blue color to the links 
%-----      letter       ---------------------------------------------------------
% recipient data 
\recipient{ABB}{1250 Brown Rd\\Auburn Hills\\Michigan 48326} 
\date{\today} 
\opening{Dear Mr. ,} 
\closing{Yours sincerely,}
\enclosure[Attached]{curriculum vit\ae{}}          % use an optional argument to use a string other than "Enclosure", or redefine \enclname
\faLinkedin\enspace\href{https://www.linkedin.com/in/jOSEPH/}{JOSEPH}
\makelettertitle

Opening Paragraph: What is your intent in writing this letter? What
position are you applying for and how did you learn about it? Briefly
introduce yourself, your major, and the degree anticipated. If you are
aware of a specific opening, refer to it. If you are not aware of a
specific position, state your area of interest. This  paragraph can
also be used to refer to the individual who  recommended that you
contact the organization, or other factors that prompted you to write.
If possible, convey why you are  interested in the organization and
anything you know about their product or service.

Second Paragraph: What are your qualifications? Why do you want to
work for this organization? What would you enjoy doing for them? Sell
yourself and be brief. Whet the employer’s appetite so that he/she
will want to read your resume and schedule an interview. Describe
highlights from your background that would be of greatest interest to
the organization. Focus on skills, activities, accomplishments, and
past experience you can contribute to the organization and its work.
If possible, demonstrate that you know something about the
organization and industry/field. Use action verbs that describe
relevant skills and expertise you can contribute. Mention specific
knowledge you may have such as computer applications, foreign
languages, lab techniques, writing and editing capabilities. You are
attempting to create a match or “notion of fit” between the employer’s
hiring needs and your  interests, experience, and skills

Third Paragraph: What is your plan of action? Do you want to follow up
with a phone call or do you want them to contact you? Close your
letter by stating that you would like to discuss employment
opportunities or other information with the individual and that you
will call to follow up on your letter. This demonstrates your
initiative and follow-through and will help you maintain some control
of your efforts.

Other points that can be made in the last paragraph: • Express your
willingness to provide additional information • State a specific time
when you will follow up by phone or email • Let them know if and when
you are going to visit their area • Thank the person receiving your
letter for their time and interest Most importantly, remember to
address the cover letter to a person. If you do not have a name, call
the department or human resources to find out to whom your letter
should be addressed. As a last resort, address your letter to the
personnel manager, hiring manager, or recruiting representative.

\makeletterclosing

\end{document}


%% end of file `template.tex'.

答案1

嗯,您的代码中有几个问题:

  1. 有特殊命令可以将手机\phone[mobile]{+3~(456)~789~012}或 LinkedIn\social[linkedin]{john.doe}信息添加到您的简历/求职信中。请参阅下面更改后的 MWE。
  2. 使用页脚的附加信息(个人信息)在编译后看到警告,并\footskip使用以下命令将其更改为所需值:

    \setlength{\footskip}{66pt}
    
  3. 通常名字后面没有逗号。所以我建议改为\name{JOSEPH,}{FERNANDO}...\name{JOSEPH}{FERNANDO}重新考虑一下你是否真的需要名字的首字母...
  4. 在我看来,您使用的是该求职信的旧版本,已过时。因此缺少新命令\social。请更新到当前版本 2.0.0moderncv以便能够编译以下 MWE。否则,您将收到有关未定义命令\social等的错误消息。

使用当前的 MiKTeX 2.9 和当前的moderncv2.0.0 版本,我可以根据您的代码编译以下 MWE(请参阅标有 ​​的重要代码更改<====):

%% Copyright 2006-2013 Xavier Danaux ([email protected]). 
\documentclass[12pt,a4paper,roman, colorlinks, linkcolor=cyan]{moderncv} %\documentclass[11pt,a4paper,sans]{moderncv} 

% moderncv themes 
\moderncvstyle{casual} 
\moderncvcolor{blue} 

\setlength{\tabcolsep}{12pt} %Horizontal distance between links to linkedin, website, email and phone number

\usepackage[utf8]{inputenc} 
\usepackage{fontawesome}
\usepackage{tabularx} 
\usepackage{xcolor} 
\usepackage{ragged2e}

\usepackage[scale=0.8]{geometry}

% personal data 
\name{JOSEPH,}{FERNANDO}

\title{Resumé title}

\phone[fixed]{+2~(345)~678~901}
\phone[mobile]{+3~(456)~789~012} % <====================================
\email{[email protected]}
\homepage{www.johndoe.com}
\social[linkedin]{john.doe} % <========== \faLinkedin\enspace\href{https://www.linkedin.com/in/jOSEPH/}{JOSEPH}

\setlength{\footskip}{66pt} % <=========================================


\begin{document}

\hypersetup{urlcolor= blue} % Adds blue color to the links 

\recipient{ABB}{1250 Brown Rd\\Auburn Hills\\Michigan 48326} 
\date{\today} 
\opening{Dear Mr. ,} 
\closing{Yours sincerely,}
\enclosure[Attached]{curriculum vit\ae{}}

\makelettertitle

Opening Paragraph: What is your intent in writing this letter? What
position are you applying for and how did you learn about it? Briefly
introduce yourself, your major, and the degree anticipated. If you are
aware of a specific opening, refer to it. If you are not aware of a
specific position, state your area of interest. This  paragraph can
also be used to refer to the individual who  recommended that you
contact the organization, or other factors that prompted you to write.
If possible, convey why you are  interested in the organization and
anything you know about their product or service.

Second Paragraph: What are your qualifications? Why do you want to
work for this organization? What would you enjoy doing for them? Sell
yourself and be brief. Whet the employer’s appetite so that he/she
will want to read your resume and schedule an interview. Describe
highlights from your background that would be of greatest interest to
the organization. Focus on skills, activities, accomplishments, and
past experience you can contribute to the organization and its work.
If possible, demonstrate that you know something about the
organization and industry/field. Use action verbs that describe
relevant skills and expertise you can contribute. Mention specific
knowledge you may have such as computer applications, foreign
languages, lab techniques, writing and editing capabilities. You are
attempting to create a match or “notion of fit” between the employer’s
hiring needs and your  interests, experience, and skills

Third Paragraph: What is your plan of action? Do you want to follow up
with a phone call or do you want them to contact you? Close your
letter by stating that you would like to discuss employment
opportunities or other information with the individual and that you
will call to follow up on your letter. This demonstrates your
initiative and follow-through and will help you maintain some control
of your efforts.

Other points that can be made in the last paragraph: • Express your
willingness to provide additional information • State a specific time
when you will follow up by phone or email • Let them know if and when
you are going to visit their area • Thank the person receiving your
letter for their time and interest Most importantly, remember to
address the cover letter to a person. If you do not have a name, call
the department or human resources to find out to whom your letter
should be addressed. As a last resort, address your letter to the
personnel manager, hiring manager, or recruiting representative.

\makeletterclosing

\end{document}

没有错误,只有三个警告(由已知的错误导致moderncv),针对以下求职信:

生成的字母

相关内容