Fix macro color naming.

This commit is contained in:
2025-08-31 17:17:23 +00:00
parent cacb090cfd
commit b816669cb3

View File

@@ -16,11 +16,11 @@
%-- MACROS %-- MACROS
% \newColorCommand{color} % \newColorCommand{couleur}
% Crée une macro accessible sous le nom "\color". % Crée une macro accessible sous le nom "\couleurColor".
% Cette macro permet de colorer le texte suivant avec la couleur spécifiée. % Cette macro permet de colorer le texte suivant avec la couleur spécifiée.
\newcommand\newColorCommand[1]{% \newcommand\newColorCommand[1]{%
\expandafter\newcommand\csname #1\endcsname{\color{#1}}} \expandafter\newcommand\csname #1Color\endcsname{\color{#1}}}
%-- DÉFINITION DES COULEURS %-- DÉFINITION DES COULEURS