2011-12-12 01:23:29 +01:00
%% start of file `moderncvstyleclassic.sty'.
2026-01-31 13:06:35 +01:00
%% Copyright 2006-2015 Xavier Danaux (xdanaux@gmail.com), 2020-2026 moderncv maintainers (github.com/moderncv).
2011-12-12 01:23:29 +01:00
%
% 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}
2026-01-31 13:06:35 +01:00
\ProvidesPackage{moderncvstyleclassic}[2026-01-31 v2.5.1 modern curriculum vitae and letter style scheme: classic]
2011-12-12 01:23:29 +01:00
2015-07-29 00:51:44 -07:00
% head section alignment options: "left" (default) or "right"
\@initializecommand{\moderncvstyleheadoptions}{}
\DeclareOption{left} {\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,left}}
\DeclareOption{right}{\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,right}}
2022-12-14 17:03:17 +01:00
\DeclareOption{top}{\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,top}}
2015-07-29 00:51:44 -07:00
2024-05-08 19:48:05 +03:00
\@initializeif{\if@datainhead}\@datainheadtrue
\DeclareOption{details}{\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,details}}
\DeclareOption{nodetails}{\@datainheadfalse\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,nodetails}}
2021-01-26 12:57:04 +01:00
% toggle use of symbol fonts.
\@initializeif{\if@symbols}\@symbolsfalse
\DeclareOption{symbols} {\@symbolstrue}
\DeclareOption{nosymbols} {\@symbolsfalse}
2015-07-29 00:51:44 -07:00
\DeclareOption*{}% avoid choking on unknown options
2024-05-08 19:48:05 +03:00
\ExecuteOptions{left,symbols,details}
2015-07-29 00:51:44 -07:00
\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
2011-12-12 01:23:29 +01:00
%-------------------------------------------------------------------------------
2015-07-29 00:51:44 -07:00
% fonts & icons
2011-12-12 01:23:29 +01:00
%-------------------------------------------------------------------------------
2013-03-25 03:29:27 -04:00
% Latin Modern fonts
2012-07-29 14:11:08 +02:00
%\ifxetexorluatex
% \setmainfont{Latin Modern Roman}
% \setsansfont{Latin Modern Sans}
% \setmathfont{Latin Modern Math}
%\else
2021-01-26 12:57:04 +01:00
% \IfFileExists{lmodern.sty}%
% {\RequirePackage{lmodern}}%
% {}
2012-07-29 14:11:08 +02:00
%\fi
2012-03-25 01:28:58 -04:00
2012-07-29 18:19:18 +02:00
% symbols
2021-01-26 12:57:04 +01:00
\if@symbols
2023-06-04 03:26:38 -07:00
\moderncvicons{symbols} % use symbols
2021-01-03 23:28:32 +01:00
\else
2021-12-13 16:46:54 -03:00
\moderncvicons{letters} % do not use symbols, use letters
2021-01-03 23:28:32 +01:00
\fi
2012-07-29 18:19:18 +02:00
2024-05-04 15:08:51 +03:00
%-------------------------------------------------------------------------------
% Colors
%-------------------------------------------------------------------------------
% head and footer
\colorlet{lastnamecolor}{color2}
\colorlet{namecolor}{lastnamecolor}
\colorlet{headrulecolor}{lastnamecolor!50}
\colorlet{firstnamecolor}{lastnamecolor!50}
\colorlet{titlecolor}{color2}
\colorlet{addresscolor}{color2}
\colorlet{quotecolor}{color1}
\colorlet{pictureframecolor}{color1}
% body
\colorlet{bodyrulecolor}{color1}
\colorlet{sectioncolor}{color1}
\colorlet{subsectioncolor}{color1}
\colorlet{hintstylecolor}{color0}
% letter
\colorlet{letterclosingcolor}{color2}
% skillmatrix
\colorlet{skillmatrixfullcolor}{color1}
\colorlet{skillmatrixemptycolor}{color2!30}
2012-03-25 01:28:58 -04:00
%-------------------------------------------------------------------------------
2015-07-29 00:51:44 -07:00
% header, body & footer
2011-12-12 01:23:29 +01:00
%-------------------------------------------------------------------------------
2015-07-29 00:51:44 -07:00
\moderncvhead[\moderncvstyleheadoptions]{1}
\moderncvbody{1}
2024-05-08 19:48:05 +03:00
% include foot only if nodetails option is active since otherwise we have two times the information
% on the page
\if@datainhead
% if data is shown in head, do not include the footer
\else
\moderncvfoot{1}
\fi
2012-03-25 01:28:58 -04:00
2011-12-12 01:23:29 +01:00
\endinput
%% end of file `moderncvstyleclassic.sty'.