Move some code from commun to here.
clean code.
This commit is contained in:
parent
a16d671800
commit
3007ff9262
@ -39,6 +39,22 @@
|
|||||||
% texte gras
|
% texte gras
|
||||||
\newcommand{\tb}[1]{\textbf{#1}}
|
\newcommand{\tb}[1]{\textbf{#1}}
|
||||||
|
|
||||||
|
% \createColor{couleur}
|
||||||
|
% Create a macro which can be accessed with the name \couleur.
|
||||||
|
% This macro make the following text to be colored in couleur.
|
||||||
|
\newcommand\createColor[1]{%
|
||||||
|
\expandafter\newcommand\csname #1\endcsname{\color{#1}}}
|
||||||
|
|
||||||
|
% Put text in white for ghosting text in some docs.
|
||||||
|
\NewDocumentCommand \ghost { } {%
|
||||||
|
\color{white}
|
||||||
|
}
|
||||||
|
|
||||||
|
% Put text in red.
|
||||||
|
\NewDocumentCommand \red { } {%
|
||||||
|
\color{red}
|
||||||
|
}
|
||||||
|
|
||||||
%-- Texte
|
%-- Texte
|
||||||
% c'est-à-dire
|
% c'est-à-dire
|
||||||
\NewDocumentCommand \cad { } {
|
\NewDocumentCommand \cad { } {
|
||||||
@ -139,4 +155,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\makeatother
|
\makeatother
|
||||||
|
Loading…
Reference in New Issue
Block a user