From b6901418ba95335c86cbd27ad796670396691331 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sat, 18 Mar 2017 22:41:47 +0100 Subject: [PATCH] New shortcut for putting text in white. --- shortcuts/shortcuts.sty | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shortcuts/shortcuts.sty b/shortcuts/shortcuts.sty index 5326c32..d6c087c 100644 --- a/shortcuts/shortcuts.sty +++ b/shortcuts/shortcuts.sty @@ -45,15 +45,15 @@ \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 some colors. \createColor{red} \createColor{white} +% Another shortcut for white text. +\NewDocumentCommand \ghost { } {% + \white +} + %-- Texte % c'est-à-dire \NewDocumentCommand \cad { } {