New shortcut for putting text in white.
This commit is contained in:
parent
97bf350c08
commit
b6901418ba
@ -45,15 +45,15 @@
|
|||||||
\newcommand\createColor[1]{%
|
\newcommand\createColor[1]{%
|
||||||
\expandafter\newcommand\csname #1\endcsname{\color{#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 some colors.
|
% Put text in some colors.
|
||||||
\createColor{red}
|
\createColor{red}
|
||||||
\createColor{white}
|
\createColor{white}
|
||||||
|
|
||||||
|
% Another shortcut for white text.
|
||||||
|
\NewDocumentCommand \ghost { } {%
|
||||||
|
\white
|
||||||
|
}
|
||||||
|
|
||||||
%-- Texte
|
%-- Texte
|
||||||
% c'est-à-dire
|
% c'est-à-dire
|
||||||
\NewDocumentCommand \cad { } {
|
\NewDocumentCommand \cad { } {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user