Fix macro color naming.
This commit is contained in:
@@ -16,11 +16,11 @@
|
||||
|
||||
%-- MACROS
|
||||
|
||||
% \newColorCommand{color}
|
||||
% Crée une macro accessible sous le nom "\color".
|
||||
% \newColorCommand{couleur}
|
||||
% Crée une macro accessible sous le nom "\couleurColor".
|
||||
% Cette macro permet de colorer le texte suivant avec la couleur spécifiée.
|
||||
\newcommand\newColorCommand[1]{%
|
||||
\expandafter\newcommand\csname #1\endcsname{\color{#1}}}
|
||||
\expandafter\newcommand\csname #1Color\endcsname{\color{#1}}}
|
||||
|
||||
|
||||
%-- DÉFINITION DES COULEURS
|
||||
|
||||
Reference in New Issue
Block a user