moderncvstyleoldstyle.sty 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. %% start of file `moderncvstyleoldstyle.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{moderncvstyleoldstyle}[2015/07/28 v2.0.0 modern curriculum vitae and letter style scheme: oldstyle]
  12. \DeclareOption*{}% avoid choking on unknown options
  13. \ExecuteOptions{}
  14. \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
  15. %-------------------------------------------------------------------------------
  16. % fonts & icons
  17. %-------------------------------------------------------------------------------
  18. % Kurier font
  19. %\ifxetexorluatex
  20. % \setmainfont[Numbers={OldStyle,Proportional}, BoldFont={Kurier Bold}, ItalicFont={Kurier Light Italic}, BoldItalicFont={Kurier Bold Italic}]{Kurier Light}
  21. % \setsansfont[Numbers={OldStyle,Proportional}, BoldFont={Kurier Bold}, ItalicFont={Kurier Light Italic}, BoldItalicFont={Kurier Bold Italic}]{Kurier Light}
  22. % \setmathfont{Kurier Light}
  23. % \setmathfont[range=\mathit,\mathsfit]{Kurier Light Italic}
  24. % \setmathfont[range=\mathbfup,\mathbfsfup]{Kurier Bold}
  25. % \setmathfont[range=\mathbfit,\mathbfsfit]{Kurier Bold Italic}
  26. %\else
  27. \IfFileExists{kurier.sty}%
  28. {\RequirePackage[light,math]{kurier}}%
  29. {}
  30. %\fi
  31. % symbols
  32. \moderncvicons{letters}
  33. %-------------------------------------------------------------------------------
  34. % header, body & footer
  35. %-------------------------------------------------------------------------------
  36. \moderncvhead{4}
  37. \moderncvbody{4}
  38. \endinput
  39. %% end of file `moderncvstyleoldstyle.sty'.