moderncvstyleclassic.sty 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. %% start of file `moderncvstyleclassic.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{moderncvstyleclassic}[2015/07/28 v2.0.0 modern curriculum vitae and letter style scheme: classic]
  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{left}
  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{marvosym}
  34. %-------------------------------------------------------------------------------
  35. % header, body & footer
  36. %-------------------------------------------------------------------------------
  37. \moderncvhead[\moderncvstyleheadoptions]{1}
  38. \moderncvbody{1}
  39. \endinput
  40. %% end of file `moderncvstyleclassic.sty'.