mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Fork moderncvstylecontemporary.sty from the classic style
This commit is contained in:
parent
08371bb3e2
commit
d13f919b8d
3 changed files with 415 additions and 0 deletions
53
moderncvstylecontemporary.sty
Normal file
53
moderncvstylecontemporary.sty
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
%% start of file `moderncvstylecontemporary.sty'.
|
||||
%% Copyright 2006-2015 Xavier Danaux (xdanaux@gmail.com).
|
||||
%% Copyright 2023 Javier Lopez-Gomez (javier.lopez.gomez@proton.me).
|
||||
%
|
||||
% 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{moderncvstylecontemporary}[2023/11/24 v2.0.0 modern curriculum vitae and letter style scheme: contemporary]
|
||||
|
||||
% head section alignment options: "left" (default) or "right"
|
||||
\@initializecommand{\moderncvstyleheadoptions}{}
|
||||
\DeclareOption{left} {\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,left}}
|
||||
\DeclareOption{right}{\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,right}}
|
||||
|
||||
\DeclareOption*{}% avoid choking on unknown options
|
||||
\ExecuteOptions{left}
|
||||
\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
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
% fonts & icons
|
||||
%-------------------------------------------------------------------------------
|
||||
% Latin Modern fonts
|
||||
%\ifxetexorluatex
|
||||
% \setmainfont{Latin Modern Roman}
|
||||
% \setsansfont{Latin Modern Sans}
|
||||
% \setmathfont{Latin Modern Math}
|
||||
%\else
|
||||
\IfFileExists{lmodern.sty}%
|
||||
{\RequirePackage{lmodern}}%
|
||||
{}
|
||||
%\fi
|
||||
|
||||
% symbols
|
||||
\moderncvicons{marvosym}
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
% header, body & footer
|
||||
%-------------------------------------------------------------------------------
|
||||
\moderncvhead[\moderncvstyleheadoptions]{7}
|
||||
\moderncvbody{6}
|
||||
|
||||
|
||||
\endinput
|
||||
|
||||
|
||||
%% end of file `moderncvstylecontemporary.sty'.
|
||||
Loading…
Add table
Add a link
Reference in a new issue