summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/moderncv/moderncvstyleempty.sty
blob: f41e0680b68e5a7faf3a2e6fa7ef285cc27ff842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
%% start of file `moderncvstyleempty.sty'.
%% Copyright 2006-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{moderncvstyleempty}[2021-07-28 v2.2.0 modern curriculum vitae scheme: empty]

%-------------------------------------------------------------------------------
%                required packages
%-------------------------------------------------------------------------------

%-------------------------------------------------------------------------------
%                package options
%-------------------------------------------------------------------------------
% 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

%-------------------------------------------------------------------------------
%                style definition
%-------------------------------------------------------------------------------

%-------------------------------------------------------------------------------
%                fonts & icons
%-------------------------------------------------------------------------------
% 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

% see moderncv.cls for command declarations that needs to be implemented, e.g. \maketitle, \section, \subsections, \cvline, etc

\endinput


%% end of file `moderncvstyleempty.sty'.