moderncviconsletters.sty 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. %% start of file `moderncviconsletters.sty'.
  2. %% Copyright 2013-2015 Xavier Danaux (xdanaux@gmail.com).
  3. %
  4. % This work may be distributed and/or modified under the
  5. % conditions of the LaTeX Project Public License version 1.3c,
  6. % available at http://www.latex-project.org/lppl/.
  7. %-------------------------------------------------------------------------------
  8. % identification
  9. %-------------------------------------------------------------------------------
  10. \NeedsTeXFormat{LaTeX2e}
  11. \ProvidesPackage{moderncviconsletters}[2015/07/28 v2.0.0 modern curriculum vitae and letter icons: letters]
  12. %-------------------------------------------------------------------------------
  13. % required packages
  14. %-------------------------------------------------------------------------------
  15. % MarVoSym font
  16. %\RequirePackage{marvosym}
  17. \newcommand*{\marvosymbol}[1]{}
  18. %\ifxetexorluatex
  19. % \renewcommand*{\marvosymbol}[1]{{\fontspec{MarVoSym}\char#1}}
  20. %\else
  21. \renewcommand*{\marvosymbol}[1]{{\fontfamily{mvs}\fontencoding{U}\fontseries{m}\fontshape{n}\selectfont\char#1}}
  22. %\fi
  23. %-------------------------------------------------------------------------------
  24. % symbols definition
  25. %-------------------------------------------------------------------------------
  26. \renewcommand*{\labelitemi} {\strut\textcolor{color1}{\marvosymbol{123}}} % equivalent to \Neutral from marvosym package; alternative: \fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102}
  27. %\renewcommand*{\labelitemii} {\strut\textcolor{color1}{\large\bfseries-}} % no change from default in moderncv.cls
  28. %\renewcommand*{\labelitemiii} {\strut\textcolor{color1}{\rmfamily\textperiodcentered}}% no change from default in moderncv.cls
  29. %\renewcommand*{\labelitemiv} {\labelitemiii} % no change from default in moderncv.cls
  30. \renewcommand*{\addresssymbol} {}
  31. \renewcommand*{\mobilephonesymbol} {\textbf{M}~}
  32. \renewcommand*{\fixedphonesymbol} {\textbf{T}~}
  33. \renewcommand*{\faxphonesymbol} {\textbf{F}~}
  34. \renewcommand*{\emailsymbol} {\textbf{E}~}
  35. \renewcommand*{\homepagesymbol} {\textbf{W}~}
  36. \renewcommand*{\linkedinsocialsymbol}{\textbf{in}~}
  37. \renewcommand*{\twittersocialsymbol} {\textbf{tw}~}
  38. \renewcommand*{\githubsocialsymbol} {\textbf{gh}~}
  39. \renewcommand*{\listitemsymbol} {\labelitemi~}
  40. \endinput
  41. %% end of file `moderncviconsletters.sty'.