summaryrefslogtreecommitdiff
path: root/moderncviconsmarvosym.sty
diff options
context:
space:
mode:
authorchris <chris@asuspades>2018-12-15 19:25:00 -0500
committerchris <chris@asuspades>2018-12-15 19:25:00 -0500
commitc6b8d1f6dce63752049cffe9bc42f90087634966 (patch)
treebeca9147567c2008f25d77732930204ea2798189 /moderncviconsmarvosym.sty
downloadcv-c6b8d1f6dce63752049cffe9bc42f90087634966.tar
cv-c6b8d1f6dce63752049cffe9bc42f90087634966.tar.gz
cv-c6b8d1f6dce63752049cffe9bc42f90087634966.tar.bz2
cv-c6b8d1f6dce63752049cffe9bc42f90087634966.tar.lz
cv-c6b8d1f6dce63752049cffe9bc42f90087634966.tar.xz
cv-c6b8d1f6dce63752049cffe9bc42f90087634966.tar.zst
cv-c6b8d1f6dce63752049cffe9bc42f90087634966.zip
first commit
Diffstat (limited to 'moderncviconsmarvosym.sty')
-rw-r--r--moderncviconsmarvosym.sty48
1 files changed, 48 insertions, 0 deletions
diff --git a/moderncviconsmarvosym.sty b/moderncviconsmarvosym.sty
new file mode 100644
index 0000000..eb1b1ec
--- /dev/null
+++ b/moderncviconsmarvosym.sty
@@ -0,0 +1,48 @@
+%% 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{moderncviconsmarvosym}[2013/02/09 v1.3.0 modern curriculum vitae and letter icons: marvosym]
+
+
+%-------------------------------------------------------------------------------
+% required packages
+%-------------------------------------------------------------------------------
+% MarVoSym font
+%\RequirePackage{marvosym}
+\newcommand*{\marvosymbol}[1]{}
+%\ifxetexorluatex
+% \renewcommand*{\marvosymbol}[1]{{\fontspec{MarVoSym}\char#1}}
+%\else
+ \renewcommand*{\marvosymbol}[1]{{\fontfamily{mvs}\fontencoding{U}\fontseries{m}\fontshape{n}\selectfont\char#1}}
+%\fi
+
+
+%-------------------------------------------------------------------------------
+% 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*{\addresssymbol}{}
+\renewcommand*{\mobilephonesymbol}{\marvosymbol{72}~}
+\renewcommand*{\fixedphonesymbol}{\marvosymbol{84}~}
+\renewcommand*{\faxphonesymbol}{\marvosymbol{117}~}
+\renewcommand*{\emailsymbol}{\marvosymbol{66}~}
+\renewcommand*{\homepagesymbol}{{\Large\marvosymbol{205}}~}
+
+
+\endinput
+
+
+%% end of file `moderncviconsmarvosym.sty'.