moderncv 上的 Skype 图标

moderncv 上的 Skype 图标

我正在使用具有经典风格的 moderncv。

我在页面顶部,也就是我照片的左边写了我的个人信息。我需要在同一行写上我的 linkedln 和 skype 账户,以免我的简历占用一页。我如何创建 skype 图标?我如何在同一行写上 linkedln 和 skype 的信息,中间留出一小段空白?

谢谢

编辑由于 OP 无法从评论中添加代码,因此在这个“突出”的案例中,我替他/她做了这件事。(C.Hupfer)

\documentclass[10pt,a4paper,sans]{moderncv} \moderncvstyle{classic}
\moderncvcolor{blue} 
\usepackage{lipsum} 
\usepackage[a4paper, top=1.5cm, bottom=0.5cm, left=1cm, right=1cm,nofoot]{geometry} 
\setlength{\hintscolumnwidth}{3cm} 
\renewcommand*{\namefont}{\fontsize{35}{80}\mdseries\upshape}
\renewcommand*{\titlefont}{\fontsize{15}{80}\mdseries\upshape}
\firstname{V} 
\familyname{M} 
\title{Curriculum Vit\ae{}} 
\address{xxxx}{xxxx} 
\mobile{xxxx} 
\email{xxx}
\social[linkedin]{xxxx} %NOW HERE I WOULD LIKE TO ADD SKYPE ON THE SAME LINE 
 \extrainfo{Born in XXX (XXX), on June XX, XXX \\ Car owner, License Drive A, B} %\photo[60pt][0.4pt]{pictures/Fototessera_3} \begin{document} \vspace*{-15.5mm} 
\makecvtitle \vspace*{-11.7mm} \hrulefill \hspace{2pt} 
\today 

\end{document}

答案1

我的建议是遵循简历模板中是否有 Skype 图标?以获得可行的 S-Logo 符号。然后包括 LinkedInSkype 符号作为内容的一部分\extrainfo,您可以更好地控制事物的放置:

\newsavebox{\skypeicon}
\savebox{\skypeicon}{\includegraphics[height=.8\baselineskip]{example-image}}% https://tex.stackexchange.com/q/172191/5764
\newcommand{\skypesocialsymbol}{\usebox{\skypeicon}}

\extrainfo{\linkedinsocialsymbol~XXXX \quad \skypesocialsymbol~XXXX \\
  Born in XXX (XXX), on June XX, XXX \\ Car owner, License Drive A, B} %

在上面的代码片段中,没有使用\social并且\skypeicon依赖于从链接的帖子中获取图像。

在此处输入图片描述


下面是使用的示例一种tikz方法

在此处输入图片描述

\documentclass[10pt,a4paper,sans]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage{lipsum}
\usepackage[a4paper, top=1.5cm, bottom=0.5cm, left=1cm, right=1cm,nofoot]{geometry}
\setlength{\hintscolumnwidth}{3cm}
\renewcommand*{\namefont}{\fontsize{35}{80}\mdseries\upshape}
\renewcommand*{\titlefont}{\fontsize{15}{80}\mdseries\upshape}

\firstname{V} % Your first name
\familyname{M} % Your last name

\newcommand*{\skypesocialsymbol} {%
  \protect\raisebox{-0.085em}{%
\protect\begin{tikzpicture}[y=0.08em,x=0.08em,xscale=0.022,yscale=-0.022, inner sep=0pt, outer sep=0pt]
\protect\path[fill=color2,even odd rule] (487.6550,288.9690) .. controls (489.0610,278.5690) and
  (489.8700,267.9960) .. (489.8700,257.2330) .. controls (489.8700,128.0770) and
  (384.5990,23.3610) .. (254.7670,23.3610) .. controls (241.8630,23.3610) and
  (229.2120,24.4210) .. (216.9010,26.4410) .. controls (194.8280,12.0570) and
  (168.5590,3.6740) .. (140.2880,3.6740) .. controls (62.7660,3.6740) and
  (0.0000,66.4820) .. (0.0000,143.9800) .. controls (0.0000,172.1780) and
  (8.2990,198.3740) .. (22.5900,220.3690) .. controls (20.6650,232.3860) and
  (19.6810,244.6920) .. (19.6810,257.2290) .. controls (19.6810,386.4050) and
  (124.8980,491.1100) .. (254.7660,491.1100) .. controls (269.4230,491.1100) and
  (283.6930,489.6840) .. (297.5620,487.1780) .. controls (319.1120,500.5470) and
  (344.4960,508.3260) .. (371.7080,508.3260) .. controls (449.2100,508.3260) and
  (512.0010,445.5020) .. (512.0010,368.0120) .. controls (511.9980,338.7190) and
  (503.0410,311.4840) .. (487.6550,288.9690) -- cycle(276.7400,429.5960) ..
  controls (202.0340,433.4870) and (167.0750,416.9590) .. (135.0500,386.9050) ..
  controls (99.2850,353.3370) and (113.6520,315.0500) .. (142.7900,313.1040) ..
  controls (171.9120,311.1590) and (189.3980,346.1160) .. (204.9410,355.8400) ..
  controls (220.4650,365.5280) and (279.5340,387.6000) .. (310.7350,351.9320) ..
  controls (344.7100,313.1040) and (288.1410,293.0120) .. (246.6760,286.9300) ..
  controls (187.4730,278.1640) and (112.7260,246.1370) .. (118.5410,183.0230) ..
  controls (124.3580,119.9490) and (172.1230,87.6090) .. (222.3910,83.0470) ..
  controls (286.4680,77.2300) and (328.1820,92.7540) .. (361.1760,120.9070) ..
  controls (399.3270,153.4360) and (378.6840,189.8010) .. (354.3770,192.7270) ..
  controls (330.1660,195.6360) and (302.9730,139.2230) .. (249.5860,138.3750) ..
  controls (194.5590,137.5110) and (157.3690,195.6360) .. (225.3000,212.1590) ..
  controls (293.2660,228.6640) and (366.0500,235.4450) .. (392.2610,297.5760) ..
  controls (418.4900,359.7130) and (351.5070,425.7010) .. (276.7400,429.5960) --
  cycle;
\protect\end{tikzpicture}}%
  ~}

\title{Curriculum Vit\ae{}}
\address{xxxx}{xxxx}
\mobile{xxxx}
\email{xxx}
\extrainfo{\linkedinsocialsymbol~XXXX \quad \skypesocialsymbol~XXXX \\
  Born in XXX (XXX), on June XX, XXX \\ Car owner, License Drive A, B}
%\photo[60pt][0.4pt]{pictures/Fototessera_3}

\begin{document}
\vspace*{-15.5mm}
\makecvtitle % Print the CV title
\vspace*{-11.7mm}
\hrulefill \hspace{2pt} \today
\end{document}

答案2

如果您想使用 XeLaTeX 或 LuaLaTeX 进行编译,您可以使用该fontawesome软件包。Fontawesome 是一种免费字体,包含许多 Web 符号,该软件包简化了它的使用。不幸的是,当前版本基于字体的第 3 版,而符号Skype出现在第 4 版中。所以我制作了一个宏来访问它,使用命令faSkype?此外,您只需从下载最新版本的字体(4.1.0)这里,提取fontawesome.otf到您本地的 texmf 根目录,./fonts/otf最后运行texhash(TeX Live)或刷新 FNDB(MiKTeX)。

以下是一个代码示例:

\documentclass[a4paper, 12pt]{article}

\usepackage[x11names]{xcolor}

\usepackage{fontspec}
\setmainfont{Minion Pro}
\usepackage{fontawesome}
\def\faSkype{\FA\symbol{"F17E}}

\begin{document}
This is the Skype symbol in the \emph{Fontawesome} font:

\begin{center}\Large
\color{CadetBlue1}\faSkype
\end{center}

\end{document}

在此处输入图片描述

答案3

关于这个论点,我有一个关于安装 fontawesome.otf 文件的更新解决方案(fontawesome.otf 文件下载)。实际上,它需要放在您的本地 texmf 根目录中,位于 ./fonts/opentype/public/fontawesome/ 中,首先您需要从 MikTex 包管理器安装 fontawesome sty 文件(如果您正在使用它)。完成此操作后,您还需要从 MikteX 设置中刷新 FNDB。

此外,一定要记得使用 XeLatex 或 LuaLatex 进行编译。最后,像这样的简单代码应该可以工作:

\documentclass{article}
\usepackage{fontawesome}
\newcommand\faSkype{{\FA\symbol{"F17E}}}
\begin{document}
    \noindent
    \faSkype{} Skype \\
    \faPhone{} Phone \\
    \faFacebookSign{} Facebook
\end{document}

对于符号代码,您可以检查备忘单在 fontawesome 网站上。您将找到图标名称(例如:fa-skype)以及符号的十六进制 unicode 代码(例如:)。从 unicode 代码中,您可以在自定义 \fasymbol 命令中使用最后三个大写数字/字母(17E)。

相关内容