%% start of file `moderncvstylefancy.sty'.
%% Copyright 2015-2015 Xavier Danaux (xdanaux@gmail.com), 2020-2021 moderncv maintainers (github.com/moderncv).
%
% 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{moderncvstylefancy}[2021-07-28 v2.2.0 modern curriculum vitae and letter style scheme: fancy]

% toggle use of symbol fonts.
\@initializeif{\if@symbols}\@symbolsfalse
\DeclareOption{symbols}      {\@symbolstrue}
\DeclareOption{nosymbols}    {\@symbolsfalse}

\DeclareOption*{}% avoid choking on unknown options
\ExecuteOptions{symbols}
\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
%-------------------------------------------------------------------------------
% EB Garamond font
%\ifxetexorluatex
%  \setmainfont{EB Garamond}
%  \setsansfont{EB Garamond}
%  \setmathfont{EB Garamond}
%\else
  \IfFileExists{ebgaramond.sty}%
    {\RequirePackage{ebgaramond}}%
    {}
%\fi


% symbols
\if@symbols
    \ifxetexorluatex
    \moderncvicons{awesome}     % use font-awesome symbols if lualatex or xelatex is used
    \else
    \moderncvicons{marvosym}    % use marvosym symbols pdflatex is used
    \fi
\else
    \moderncvicons{letters}    % do not use symbols, use letters
\fi


%-------------------------------------------------------------------------------
%                header, body & footer
%-------------------------------------------------------------------------------
\moderncvhead{5}
\moderncvbody{5}


\endinput


%% end of file `moderncvstylefancy.sty'.
