From de2ccd0e27a56113e0eaa76c122f7c901fe67f99 Mon Sep 17 00:00:00 2001 From: Xavier Danaux Date: Sat, 30 Mar 2013 10:23:30 -0400 Subject: [PATCH] Added a new icon set: "awesome" --- CHANGELOG | 3 ++ examples/template-es.pdf | Bin 171988 -> 171988 bytes examples/template.tex | 8 +++--- examples/template_banking_red.pdf | Bin 169202 -> 169202 bytes examples/template_casual_orange.pdf | Bin 235052 -> 235052 bytes examples/template_classic_green.pdf | Bin 279262 -> 279262 bytes examples/template_multibib.pdf | Bin 235582 -> 235582 bytes examples/template_oldstyle_grey.pdf | Bin 70692 -> 70692 bytes moderncviconsawesome.sty | 42 ++++++++++++++++++++++++++++ moderncviconsletters.sty | 20 ++++++------- moderncviconsmarvosym.sty | 18 ++++++------ 11 files changed, 68 insertions(+), 23 deletions(-) create mode 100644 moderncviconsawesome.sty diff --git a/CHANGELOG b/CHANGELOG index c7cdb6f..1771256 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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) - deprecated \phone, \mobile and \fax in favour of \phone[], where can be "mobile", "fixed" (default) or "fax". As part of the change, one can now diff --git a/examples/template-es.pdf b/examples/template-es.pdf index 1213d9f97ff84584867e347cc53f8a80ca0a81b6..6f51daff4d8a93d8582afd404d4d175653d60eca 100644 GIT binary patch delta 114 zcmcbzpXe?#MRiu h%-F@!#l_Xs)Xdq;(9Ol%+{jMBhJcdok@J|U83E8!AHe_s diff --git a/examples/template.tex b/examples/template.tex index 30d2426..2ccf60d 100644 --- a/examples/template.tex +++ b/examples/template.tex @@ -26,10 +26,10 @@ % personal data \name{John}{Doe} \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[mobile]{+1~(234)~567~890} % optional, remove / comment the line if not wanted -\phone[fixed]{+2~(345)~678~901} % optional, remove / comment the line if not wanted -\phone[fax]{+3~(456)~789~012} % 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 "country" arguments can be omitted or provided empty +\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} +\phone[fax]{+3~(456)~789~012} \email{john@doe.org} % 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 diff --git a/examples/template_banking_red.pdf b/examples/template_banking_red.pdf index e1ab581231cb0504e8f497f7961f84cb9df0d944..a209bfd2ae7d436a8626d2ce6d5ded76f25463e3 100644 GIT binary patch delta 137 zcmeyglIzn-u7(!IElfOp+QtTk21Y=rYha>oV4$warSF@c;*waBs-WRwWn^GzY+wvi zvfaFoX*G+pi>ZZ?iKUaHfr+W5nYoLjiJ6;|skwo(nYp=IMetnq2z6`6(`mC8-J;E>=bchQ}Gz??(Ak^VPNd$=wf7I lXku*Q>ga4}ZfR;_Z0=~`>S|)@W@)EjLrBSX;VI0LOaKJNA8`Nx delta 118 zcmZ3phHuRpzJ?aY7N#xC+qyZ7EDSA7Obkq?@9SokhV!;R>}Gz??rh-dYU$!?WMN`p lY3^ulYUpC-YHDC)=we`IVQ6V;>|&>2LrBSX;VI0LOaKUZA3*>B diff --git a/examples/template_classic_green.pdf b/examples/template_classic_green.pdf index 1a16df8a3f702c6e2ebffaa13f6ebddb1b547dd1..4b67dfb4b35739a33be982801ebaaa8d0514902b 100644 GIT binary patch delta 119 zcmccDDtNC|u%U&qg{g&k3(FJ>4r2pD149dAlj(CTSft^+?fWfQF0wmWS~{6H8kxJA nxtW_eI=dRXn7SAmn7g_fnwc3mxtTlKDcBHDvi*_+3l9?j!U`V| delta 119 zcmccDDtNC|u%U&qg{g&k3(FJ>4kHUg3lkF)!|8J@Sft^+?fWfQF0wm0Iyo8}IGLE5 nn>slgI2&15nmd_Wy0|!7SQwdES{gdqDcBHDvi*_+3l9?j!e1Wi diff --git a/examples/template_multibib.pdf b/examples/template_multibib.pdf index 6c0655ae99aa190b4dd0d61fe9cc8be5d8d1e121..8b19492ea7a07bb289cbbc3543242762c67b48a0 100644 GIT binary patch delta 116 zcmdnDfp6aizJ?aY7N#xCfj#WT28ISkM#j@4dYENkobA;;%we3)W~P?TE|x}y#!jw= kmd=JIP8M!X#wKo#28L!%#s&uFb_zCxlx!E7#;nBz07MBLPXGV_ delta 116 zcmdnDfp6aizJ?aY7N#xCfj#U-7KRokW+u}kdYENkobA;;%we3)hUPBjZYE|fu5Lzd kriN}NCI)Us2F?b?hR#N21|~*Mb_zCxlx!E7#;nBz08{H7ZvX%Q diff --git a/examples/template_oldstyle_grey.pdf b/examples/template_oldstyle_grey.pdf index 516e8b5ff90e387b7733cc145a90f67e3dbf8381..be32583224373bce6d4f6e49dc2bb6e23cfe5901 100644 GIT binary patch delta 114 zcmZ3of@R4HmWC~iY7KRokriO;o`S=*6;k@mJe2j0IosC^A-HeS5%`FU_4Nc9A hjm*r9oQ<4Kj9pAD4PD%fjqDU`2r1c~D8zV}5da{38nyrc diff --git a/moderncviconsawesome.sty b/moderncviconsawesome.sty new file mode 100644 index 0000000..52bb8be --- /dev/null +++ b/moderncviconsawesome.sty @@ -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'. diff --git a/moderncviconsletters.sty b/moderncviconsletters.sty index 3068eb6..a0da2dd 100644 --- a/moderncviconsletters.sty +++ b/moderncviconsletters.sty @@ -29,19 +29,19 @@ %------------------------------------------------------------------------------- % 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*{\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*{\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*{\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*{\addresssymbol} {} \renewcommand*{\mobilephonesymbol}{\textbf{M}~} -\renewcommand*{\fixedphonesymbol}{\textbf{T}~} -\renewcommand*{\faxphonesymbol}{\textbf{F}~} -\renewcommand*{\emailsymbol}{\textbf{E}~} -\renewcommand*{\homepagesymbol}{} +\renewcommand*{\fixedphonesymbol} {\textbf{T}~} +\renewcommand*{\faxphonesymbol} {\textbf{F}~} +\renewcommand*{\emailsymbol} {\textbf{E}~} +\renewcommand*{\homepagesymbol} {} -\renewcommand*{\listitemsymbol}{\labelitemi~} +\renewcommand*{\listitemsymbol} {\labelitemi~} \endinput diff --git a/moderncviconsmarvosym.sty b/moderncviconsmarvosym.sty index 0421a3f..005b515 100644 --- a/moderncviconsmarvosym.sty +++ b/moderncviconsmarvosym.sty @@ -29,17 +29,17 @@ %------------------------------------------------------------------------------- % 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*{\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*{\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*{\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*{\addresssymbol} {} \renewcommand*{\mobilephonesymbol}{\marvosymbol{72}~} -\renewcommand*{\fixedphonesymbol}{\marvosymbol{84}~} -\renewcommand*{\faxphonesymbol}{\marvosymbol{117}~} -\renewcommand*{\emailsymbol}{\marvosymbol{66}~} -\renewcommand*{\homepagesymbol}{{\Large\marvosymbol{205}}~} +\renewcommand*{\fixedphonesymbol} {\marvosymbol{84}~} +\renewcommand*{\faxphonesymbol} {\marvosymbol{117}~} +\renewcommand*{\emailsymbol} {\marvosymbol{66}~} +\renewcommand*{\homepagesymbol} {{\Large\marvosymbol{205}}~} \endinput