Made sure that XeLaTeX or LuaLaTeX is in use before loading the awesome icon set
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
version 1.5.1 (29 Apr 2013)
|
||||||
|
- made sure that XeLaTeX or LuaLaTeX is in use before loading the awesome icon
|
||||||
|
set and if not, revert to the marvosym icon set.
|
||||||
|
|
||||||
version 1.5.0 (23 Apr 2013)
|
version 1.5.0 (23 Apr 2013)
|
||||||
- added a command to showcase social accounts in one's personal information:
|
- added a command to showcase social accounts in one's personal information:
|
||||||
\social. The command currently handles automatically LinkedIn, Twitter and
|
\social. The command currently handles automatically LinkedIn, Twitter and
|
||||||
|
|||||||
Binary file not shown.
@ -23,13 +23,12 @@
|
|||||||
%\setlength{\hintscolumnwidth}{3cm} % si desea cambiar el ando de la columna para las fechas
|
%\setlength{\hintscolumnwidth}{3cm} % si desea cambiar el ando de la columna para las fechas
|
||||||
|
|
||||||
% datos personales
|
% datos personales
|
||||||
\firstname{John}
|
\name{John}{Doe}
|
||||||
\familyname{Doe}
|
|
||||||
\title{T\'itulo del CV (opcional)} % dato opcional, elimine la linea si no desea el dato
|
\title{T\'itulo del CV (opcional)} % dato opcional, elimine la linea si no desea el dato
|
||||||
\address{calle y n\'umero}{c\'odigo postal y ciudad} % dato opcional, elimine la linea si no desea el dato
|
\address{calle y n\'umero}{c\'odigo postal y ciudad} % dato opcional, elimine la linea si no desea el dato
|
||||||
\mobile{+1~(234)~567~890} % dato opcional, elimine la linea si no desea el dato
|
\phone[mobile]{+1~(234)~567~890} % dato opcional, elimine la linea si no desea el dato
|
||||||
\phone{+2~(345)~678~901} % dato opcional, elimine la linea si no desea el dato
|
\phone[fixed]{+2~(345)~678~901} % dato opcional, elimine la linea si no desea el dato
|
||||||
\fax{+3~(456)~789~012} % dato opcional, elimine la linea si no desea el dato
|
\phone[fax]{+3~(456)~789~012} % dato opcional, elimine la linea si no desea el dato
|
||||||
\email{john@doe.org} % dato opcional, elimine la linea si no desea el dato
|
\email{john@doe.org} % dato opcional, elimine la linea si no desea el dato
|
||||||
\homepage{www.johndoe.com} % dato opcional, elimine la linea si no desea el dato
|
\homepage{www.johndoe.com} % dato opcional, elimine la linea si no desea el dato
|
||||||
\extrainfo{informacion adicional} % dato opcional, elimine la linea si no desea el dato
|
\extrainfo{informacion adicional} % dato opcional, elimine la linea si no desea el dato
|
||||||
|
|||||||
Binary file not shown.
@ -22,18 +22,17 @@
|
|||||||
%\setlength{\hintscolumnwidth}{3cm} % 如果你希望改变日期栏的宽度
|
%\setlength{\hintscolumnwidth}{3cm} % 如果你希望改变日期栏的宽度
|
||||||
|
|
||||||
% 个人信息
|
% 个人信息
|
||||||
\firstname{小龙}
|
\name{小龙}{李}
|
||||||
\familyname{李}
|
\title{简历题目 (可选项)} % 可选项、如不需要可删除本行
|
||||||
\title{简历题目 (可选项)} % 可选项、如不需要可删除本行
|
\address{街道及门牌号}{邮编及城市} % 可选项、如不需要可删除本行
|
||||||
\address{街道及门牌号}{邮编及城市} % 可选项、如不需要可删除本行
|
\phone[mobile]{+1~(234)~567~890} % 可选项、如不需要可删除本行
|
||||||
\mobile{+1~(234)~567~890} % 可选项、如不需要可删除本行
|
\phone[fixed]{+2~(345)~678~901} % 可选项、如不需要可删除本行
|
||||||
\phone{+2~(345)~678~901} % 可选项、如不需要可删除本行
|
\phone[fax]{+3~(456)~789~012} % 可选项、如不需要可删除本行
|
||||||
\fax{+3~(456)~789~012} % 可选项、如不需要可删除本行
|
|
||||||
\email{xiaolong@li.com.cn} % 可选项、如不需要可删除本行
|
\email{xiaolong@li.com.cn} % 可选项、如不需要可删除本行
|
||||||
\homepage{www.xialongli.com} % 可选项、如不需要可删除本行
|
\homepage{www.xialongli.com} % 可选项、如不需要可删除本行
|
||||||
\extrainfo{附加信息 (可选项)} % 可选项、如不需要可删除本行
|
\extrainfo{附加信息 (可选项)} % 可选项、如不需要可删除本行
|
||||||
\photo[64pt][0.4pt]{picture} % ‘64pt’是图片必须压缩至的高度、‘0.4pt‘是图片边框的宽度 (如不需要可调节至0pt)、’picture‘ 是图片文件的名字;可选项、如不需要可删除本行
|
\photo[64pt][0.4pt]{picture} % ‘64pt’是图片必须压缩至的高度、‘0.4pt‘是图片边框的宽度 (如不需要可调节至0pt)、’picture‘ 是图片文件的名字;可选项、如不需要可删除本行
|
||||||
\quote{引言(可选项)} % 可选项、如不需要可删除本行
|
\quote{引言(可选项)} % 可选项、如不需要可删除本行
|
||||||
|
|
||||||
% 显示索引号;仅用于在简历中使用了引言
|
% 显示索引号;仅用于在简历中使用了引言
|
||||||
%\makeatletter
|
%\makeatletter
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
22
moderncv.cls
22
moderncv.cls
@ -84,17 +84,17 @@
|
|||||||
\RequirePackage{xcolor}
|
\RequirePackage{xcolor}
|
||||||
|
|
||||||
% font loading
|
% font loading
|
||||||
%\RequirePackage{ifxetex,ifluatex}
|
\RequirePackage{ifxetex,ifluatex}
|
||||||
%\newif\ifxetexorluatex
|
\newif\ifxetexorluatex
|
||||||
%\ifxetex
|
\ifxetex
|
||||||
% \xetexorluatextrue
|
\xetexorluatextrue
|
||||||
%\else
|
\else
|
||||||
% \ifluatex
|
\ifluatex
|
||||||
% \xetexorluatextrue
|
\xetexorluatextrue
|
||||||
% \else
|
\else
|
||||||
% \xetexorluatexfalse
|
\xetexorluatexfalse
|
||||||
% \fi
|
\fi
|
||||||
%\fi
|
\fi
|
||||||
% automatic loading of latin modern fonts
|
% automatic loading of latin modern fonts
|
||||||
%\ifxetexorluatex
|
%\ifxetexorluatex
|
||||||
% \RequirePackage{fontspec}
|
% \RequirePackage{fontspec}
|
||||||
|
|||||||
@ -11,7 +11,8 @@
|
|||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesPackage{moderncviconsawesome}[2013/04/23 v1.5.0 modern curriculum vitae and letter icons: awesome]
|
\ProvidesPackage{moderncviconsawesome}[2013/04/23 v1.5.0 modern curriculum vitae and letter icons: awesome]
|
||||||
|
% XeTeX or LuaTeX is needed to be able to use fontspec and fontawesome
|
||||||
|
\ifxetexorluatex
|
||||||
|
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
% required packages
|
% required packages
|
||||||
@ -39,6 +40,11 @@
|
|||||||
\renewcommand*{\githubsocialsymbol} {\faGithub~}
|
\renewcommand*{\githubsocialsymbol} {\faGithub~}
|
||||||
|
|
||||||
|
|
||||||
|
% if XeTeX or LuaTeX is not used, load the marvosym icon set instead
|
||||||
|
\else
|
||||||
|
\typeout{WARNING: to use the awesome icon set, please use XeTeX or LuaTeX to compile your document; switching to the marvosym icon set.}
|
||||||
|
\RequirePackage{moderncviconsmarvosym}
|
||||||
|
\fi
|
||||||
\endinput
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user