moderncvstylecasual.sty 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. %% start of file `moderncvstylecasual.sty'.
  2. %% Copyright 2006-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{moderncvstylecasual}[2015/07/28 v2.0.0 modern curriculum vitae and letter style scheme: casual]
  12. % head section alignment options: "left" (default) or "right"
  13. \@initializecommand{\moderncvstyleheadoptions}{}
  14. \DeclareOption{left} {\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,left}}
  15. \DeclareOption{right}{\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,right}}
  16. \DeclareOption*{}% avoid choking on unknown options
  17. \ExecuteOptions{right}
  18. \ProcessOptions*\relax% \ProcessOptions* processes the options in the order provided (i.e., with the later ones possibly overriding the former ones), while \ProcessOptions processes them in the order of the package
  19. %-------------------------------------------------------------------------------
  20. % fonts & icons
  21. %-------------------------------------------------------------------------------
  22. % Latin Modern fonts
  23. %\ifxetexorluatex
  24. % \setmainfont{Latin Modern Roman}
  25. % \setsansfont{Latin Modern Sans}
  26. % \setmathfont{Latin Modern Math}
  27. %\else
  28. \IfFileExists{lmodern.sty}%
  29. {\RequirePackage{lmodern}}%
  30. {}
  31. %\fi
  32. % symbols
  33. \moderncvicons{awesome}
  34. %-------------------------------------------------------------------------------
  35. % header, body & footer
  36. %-------------------------------------------------------------------------------
  37. \moderncvhead[\moderncvstyleheadoptions]{2}
  38. \moderncvbody{1}
  39. \moderncvfoot{1}
  40. \endinput
  41. %% end of file `moderncvstylecasual.sty'.