Cleaned up some comments
This commit is contained in:
11
moderncv.cls
11
moderncv.cls
@ -69,19 +69,17 @@
|
|||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
% required packages
|
% required packages
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
% \AtEndPreamble hook (loading tetoolbox instead of defining the macro, as to avoid incompatibilities with etoolbox (and packages relying on it) defining the macro too)
|
% \AtEndPreamble hook (loading etoolbox instead of defining the macro, as to avoid incompatibilities with etoolbox (and packages relying on it) defining the macro too)
|
||||||
\RequirePackage{etoolbox}
|
\RequirePackage{etoolbox}
|
||||||
%\let\@endpreamblehook\@empty
|
%\let\@endpreamblehook\@empty
|
||||||
%\def\AtEndPreamble{\g@addto@macro\@endpreamblehook}
|
%\def\AtEndPreamble{\g@addto@macro\@endpreamblehook}
|
||||||
%\let\moderncv@document\document
|
%\let\document@original\document
|
||||||
%\def\document{\endgroup\@endpreamblehook\begingroup\moderncv@document}
|
%\def\document{\endgroup\@endpreamblehook\begingroup\document@original}
|
||||||
|
|
||||||
% if... then... else... constructs
|
% if... then... else... constructs
|
||||||
\RequirePackage{ifthen}
|
\RequirePackage{ifthen}
|
||||||
% TODO: move to xifthen and \isempty{<arg>} instead of \equal{<arg>}{}
|
% TODO: move to xifthen and \isempty{<arg>} instead of \equal{<arg>}{}
|
||||||
|
|
||||||
% TODO: replace \newcommand by \NewDocumentCommand (LaTeX 3)
|
|
||||||
|
|
||||||
% color
|
% color
|
||||||
\RequirePackage{xcolor}
|
\RequirePackage{xcolor}
|
||||||
|
|
||||||
@ -171,8 +169,9 @@
|
|||||||
% lengths calculations
|
% lengths calculations
|
||||||
\RequirePackage{calc}
|
\RequirePackage{calc}
|
||||||
|
|
||||||
% advanced command arguments
|
% advanced command arguments (LaTeX 3)
|
||||||
\RequirePackage{xargs}
|
\RequirePackage{xargs}
|
||||||
|
% TODO (?): replace all \newcommand by \NewDocumentCommand
|
||||||
|
|
||||||
% micro-typography (e.g., character protrusion, font expansion, hyphenatable letterspacing)
|
% micro-typography (e.g., character protrusion, font expansion, hyphenatable letterspacing)
|
||||||
\RequirePackage{microtype}
|
\RequirePackage{microtype}
|
||||||
|
|||||||
Reference in New Issue
Block a user