如何在经典风格简历中使用 ModernCV 图标

如何在经典风格简历中使用 ModernCV 图标

我非常喜欢这份简历-- 我不确定这个样式是否有名字,但我已经多次见过它了。这是我的 CV 的源代码:

\documentclass[margin,line,pifont,palatino,courier]{res}
\usepackage{pifont}
\usepackage[latin1] { inputenc}
\usepackage{hyperref}

\usepackage [autostyle, english = american]{csquotes}
\MakeOuterQuote{"}

\topmargin .5in
\oddsidemargin -.2in
\evensidemargin -.5in
\textwidth=5.8in
\textheight=9.0in
\itemsep=0in
\parsep=0in
\usepackage{fancyhdr}
\topmargin=-0.2in
\textheight=9in
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\fancyhf{}
\cfoot{\thepage}
\lfoot{}
\rfoot{{\footnotesize Curriculum Vitae \thepage}}


\newenvironment{list1}{
\begin{list}{\ding{113}}{%
  \setlength{\itemsep}{0in}
  \setlength{\parsep}{0in} \setlength{\parskip}{0in}
  \setlength{\topsep}{0in} \setlength{\partopsep}{0in}
  \setlength{\leftmargin}{0.17in}}}{\end{list}}
\newenvironment{list2}{
\begin{list}{$\bullet$}{%
  \setlength{\itemsep}{0in}
  \setlength{\parsep}{0in} \setlength{\parskip}{0in}
  \setlength{\topsep}{0in} \setlength{\partopsep}{0in}
  \setlength{\leftmargin}{0.2in}}}{\end{list}}

\begin{document}


\name{<Name here> \vspace*{.1in} \hspace{3.85in} Curriculum Vitae}

\begin{resume}

\section{\sc Contact Information}

\vspace{.05in}
\begin{tabular}{@{}p{3.75in}p{2in}}
<Address Line 1> & <phone number here> \\
<Name of School> & \texttt{\href{mailto:<email here>}{<email here>}} \\
<City, State, Zip> & \texttt{\href{<website here>}{<website here>}} \\
\end{tabular}

\section{\sc Education}

\section{\sc Teaching}

\section{\sc Employment}

\section{\sc Research}

\section{\sc Last updated} November 15, 2014

\end{resume}
\end{document}

我试图保持所有外观(样式和格式)相同,只需在我的联系信息旁边添加 ModernCV 图标即可。我尝试添加、,\usepackage{fontawesome}然后将电话号码的代码从简单的更改为,但没有成功,并且出现了“未找到文件‘moderncv.sty’。\moderncvicons”之类的错误。我正在运行最新版本的 TexStudio。我的代码有什么问题吗?\usepackage{moderncv}\moderncvicons{awesome}<phone number>\phone{<phone number>}

答案1

我不确定这是否回答了你的问题 - 使用 XeLaTeX 进行编译fontawesome包裹

在此处输入图片描述

\documentclass[margin,line]{res}
\usepackage{fontawesome}
\usepackage{hyperref}

\topmargin=-0.2in
\oddsidemargin=-.2in
\evensidemargin=-.5in
\textwidth=5.8in
\textheight=9.0in
\itemsep=0in
\parsep=0in
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\fancyhf{}
\cfoot{\thepage}
\rfoot{{\footnotesize Curriculum Vitae \thepage}}

\renewcommand{\sectionfont}{\scshape}
\begin{document}


\name{$\langle$Name here$\rangle$ \hspace{3.85in} Curriculum Vitae}

\begin{resume}

\section{Contact Information}

\vspace{.05in}
\begin{tabular}{@{}p{3.75in}p{2in}}
$\langle$Address Line 1$\rangle$ & \faPhone~$\langle$phone number here$\rangle$ \\
$\langle$Name of School$\rangle$ & \faEnvelopeAlt~\texttt{\href{mailto:<email here>}{$\langle$email here$\rangle$}} \\
$\langle$City, State, Zip$\rangle$ & \faLaptop~\texttt{\href{$\langle$website here$\rangle$}{$\langle$website here$\rangle$}} \\
\end{tabular}

\section{Education}

\section{Teaching}

\section{Employment}

\section{Research}

\section{Last updated} November 15, 2014

\end{resume}
\end{document}

对于符号选择,请参阅fontawesome文档


如果您“真的喜欢”该简历,请复制粘贴代码,并进行修改以满足您的需要。

相关内容