From 4035a423defdc8781c449a8716237baea8834e80 Mon Sep 17 00:00:00 2001 From: Xavier Danaux Date: Mon, 8 Oct 2012 17:35:52 -0400 Subject: [PATCH] Cleaned up some comments --- moderncv.cls | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/moderncv.cls b/moderncv.cls index 844365c..e2b1e88 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -69,19 +69,17 @@ %------------------------------------------------------------------------------- % 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} %\let\@endpreamblehook\@empty %\def\AtEndPreamble{\g@addto@macro\@endpreamblehook} -%\let\moderncv@document\document -%\def\document{\endgroup\@endpreamblehook\begingroup\moderncv@document} +%\let\document@original\document +%\def\document{\endgroup\@endpreamblehook\begingroup\document@original} % if... then... else... constructs \RequirePackage{ifthen} % TODO: move to xifthen and \isempty{} instead of \equal{}{} -% TODO: replace \newcommand by \NewDocumentCommand (LaTeX 3) - % color \RequirePackage{xcolor} @@ -171,10 +169,11 @@ % lengths calculations \RequirePackage{calc} -% advanced command arguments +% advanced command arguments (LaTeX 3) \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} % compatibility package with older versions of moderncv