Added a new icon set: "awesome"

This commit is contained in:
Xavier Danaux
2013-03-30 10:23:30 -04:00
parent 09ae552f47
commit de2ccd0e27
11 changed files with 68 additions and 23 deletions

View File

@ -1,3 +1,6 @@
version 1.5.0 (xx MMM 2013)
- added a new icon set: "awesome" (using the icons from the Font Awesome font).
version 1.4.0 (28 Mar 2013) version 1.4.0 (28 Mar 2013)
- deprecated \phone, \mobile and \fax in favour of \phone[<type>], where <type> - deprecated \phone, \mobile and \fax in favour of \phone[<type>], where <type>
can be "mobile", "fixed" (default) or "fax". As part of the change, one can now can be "mobile", "fixed" (default) or "fax". As part of the change, one can now

Binary file not shown.

View File

@ -26,10 +26,10 @@
% personal data % personal data
\name{John}{Doe} \name{John}{Doe}
\title{Resumé title} % optional, remove / comment the line if not wanted \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 \address{street and number}{postcode city}{country}% optional, remove / comment the line if not wanted; the "postcode city" and "country" arguments can be omitted or provided empty
\phone[mobile]{+1~(234)~567~890} % optional, remove / comment the line if not wanted \phone[mobile]{+1~(234)~567~890} % optional, remove / comment the line if not wanted; the optional "type" of the phone can be "mobile" (default), "fixed" or "fax"
\phone[fixed]{+2~(345)~678~901} % optional, remove / comment the line if not wanted \phone[fixed]{+2~(345)~678~901}
\phone[fax]{+3~(456)~789~012} % optional, remove / comment the line if not wanted \phone[fax]{+3~(456)~789~012}
\email{john@doe.org} % optional, remove / comment the line if not wanted \email{john@doe.org} % optional, remove / comment the line if not wanted
\homepage{www.johndoe.com} % 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 \extrainfo{additional information} % optional, remove / comment the line if not wanted

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

42
moderncviconsawesome.sty Normal file
View File

@ -0,0 +1,42 @@
%% start of file `moderncviconsmarvosym.sty'.
%% Copyright 2013-2013 Xavier Danaux (xdanaux@gmail.com).
%
% 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/.
%-------------------------------------------------------------------------------
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{moderncviconsawesome}[2013/03/28 v1.4.0 modern curriculum vitae and letter icons: awesome]
%-------------------------------------------------------------------------------
% required packages
%-------------------------------------------------------------------------------
% Font Awesome font
\RequirePackage{fontawesome}
%-------------------------------------------------------------------------------
% symbols definition
%-------------------------------------------------------------------------------
\renewcommand*{\labelitemi} {\strut\textcolor{color1}{\tiny\faCircleBlank}}
%\renewcommand*{\labelitemii} {\strut\textcolor{color1}{\large\bfseries-}} % no change from default in moderncv.cls
%\renewcommand*{\labelitemiii} {\strut\textcolor{color1}{\rmfamily\textperiodcentered}}% no change from default in moderncv.cls
%\renewcommand*{\labelitemiv} {\labelitemiii} % no change from default in moderncv.cls
\renewcommand*{\addresssymbol} {}
\renewcommand*{\mobilephonesymbol}{{\Large\faMobilePhone}~}
\renewcommand*{\fixedphonesymbol} {\faPhone~}
\renewcommand*{\faxphonesymbol} {\faPrint~} % alternative: \faFileAlt
\renewcommand*{\emailsymbol} {\faEnvelope~} % alternative: \faInbox
\renewcommand*{\homepagesymbol} {\faGlobe~} % alternative: \faHome
\endinput
%% end of file `moderncviconsmarvosym.sty'.

View File

@ -29,19 +29,19 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% symbols definition % symbols definition
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\marvosymbol{123}}}% equivalent to \Neutral from marvosym package; alternative: \fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102} \renewcommand*{\labelitemi} {\strut\textcolor{color1}{\marvosymbol{123}}} % equivalent to \Neutral from marvosym package; alternative: \fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102}
%\renewcommand*{\labelitemii}{\strut\textcolor{color1}{\large\bfseries-}}% no change from default in moderncv.cls %\renewcommand*{\labelitemii} {\strut\textcolor{color1}{\large\bfseries-}} % no change from default in moderncv.cls
%\renewcommand*{\labelitemiii}{\strut\textcolor{color1}{\rmfamily\textperiodcentered}}% no change from default in moderncv.cls %\renewcommand*{\labelitemiii} {\strut\textcolor{color1}{\rmfamily\textperiodcentered}}% no change from default in moderncv.cls
%\renewcommand*{\labelitemiv}{\labelitemiii}% no change from default in moderncv.cls %\renewcommand*{\labelitemiv} {\labelitemiii} % no change from default in moderncv.cls
\renewcommand*{\addresssymbol}{} \renewcommand*{\addresssymbol} {}
\renewcommand*{\mobilephonesymbol}{\textbf{M}~} \renewcommand*{\mobilephonesymbol}{\textbf{M}~}
\renewcommand*{\fixedphonesymbol}{\textbf{T}~} \renewcommand*{\fixedphonesymbol} {\textbf{T}~}
\renewcommand*{\faxphonesymbol}{\textbf{F}~} \renewcommand*{\faxphonesymbol} {\textbf{F}~}
\renewcommand*{\emailsymbol}{\textbf{E}~} \renewcommand*{\emailsymbol} {\textbf{E}~}
\renewcommand*{\homepagesymbol}{} \renewcommand*{\homepagesymbol} {}
\renewcommand*{\listitemsymbol}{\labelitemi~} \renewcommand*{\listitemsymbol} {\labelitemi~}
\endinput \endinput

View File

@ -29,17 +29,17 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% symbols definition % symbols definition
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\marvosymbol{123}}}% equivalent to \Neutral from marvosym package; alternative: \fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102} \renewcommand*{\labelitemi} {\strut\textcolor{color1}{\marvosymbol{123}}} % equivalent to \Neutral from marvosym package; alternative: \fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102}
%\renewcommand*{\labelitemii}{\strut\textcolor{color1}{\large\bfseries-}}% no change from default in moderncv.cls %\renewcommand*{\labelitemii} {\strut\textcolor{color1}{\large\bfseries-}} % no change from default in moderncv.cls
%\renewcommand*{\labelitemiii}{\strut\textcolor{color1}{\rmfamily\textperiodcentered}}% no change from default in moderncv.cls %\renewcommand*{\labelitemiii} {\strut\textcolor{color1}{\rmfamily\textperiodcentered}}% no change from default in moderncv.cls
%\renewcommand*{\labelitemiv}{\labelitemiii}% no change from default in moderncv.cls %\renewcommand*{\labelitemiv} {\labelitemiii} % no change from default in moderncv.cls
\renewcommand*{\addresssymbol}{} \renewcommand*{\addresssymbol} {}
\renewcommand*{\mobilephonesymbol}{\marvosymbol{72}~} \renewcommand*{\mobilephonesymbol}{\marvosymbol{72}~}
\renewcommand*{\fixedphonesymbol}{\marvosymbol{84}~} \renewcommand*{\fixedphonesymbol} {\marvosymbol{84}~}
\renewcommand*{\faxphonesymbol}{\marvosymbol{117}~} \renewcommand*{\faxphonesymbol} {\marvosymbol{117}~}
\renewcommand*{\emailsymbol}{\marvosymbol{66}~} \renewcommand*{\emailsymbol} {\marvosymbol{66}~}
\renewcommand*{\homepagesymbol}{{\Large\marvosymbol{205}}~} \renewcommand*{\homepagesymbol} {{\Large\marvosymbol{205}}~}
\endinput \endinput