summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-01-16 00:25:05 +0000
committerKarl Berry <karl@freefriends.org>2010-01-16 00:25:05 +0000
commit2cdccebac3ad373f3ae1657916375f7c2bc964db (patch)
tree87b99d5ed7a520f2e1005963dd026b27bfea7ce9 /Master/texmf-dist/tex/latex
parent7dfb5fe2031be6fd3d904936cda1e43b9670731a (diff)
xwatermark update (15jan10)
git-svn-id: svn://tug.org/texlive/trunk@16734 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/xwatermark/xwatermark.sty10
1 files changed, 3 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/xwatermark/xwatermark.sty b/Master/texmf-dist/tex/latex/xwatermark/xwatermark.sty
index b7973759d62..61b875faeb7 100644
--- a/Master/texmf-dist/tex/latex/xwatermark/xwatermark.sty
+++ b/Master/texmf-dist/tex/latex/xwatermark/xwatermark.sty
@@ -366,15 +366,11 @@ $Id: xwatermark.sty,v 1.4 2010/01/10 09:00:00 Ahmed Musa Exp $
\endgroup
}%
\krsetup{keyfamily=colorbox,macroprefix=cb@}
+\CKVS{align}{center,right,left,justified}
\define@keylist{2,width,\textwidth,;2,textcolor,black,;
2,fillcolor,yellow!55,;2,framecolor,white,;
- 2,text,No text passed.,;2,framesep,3\p@,;2,framerule,0.4\p@,}
-\define@choicekey*+[XWM]{colorbox}{align}[\val\nr]%
-{center,right,left,justified}[center]{%
- \protected@edef\cb@align{\val}%
-}{%
- \xwm@err{Inadmissible value '\string#1' for colorbox's align}%
-}%
+ 2,text,No text passed.,;2,framesep,3\p@,;2,framerule,0.4\p@,;
+ 4,align,center,\protected@edef\cb@align{\val}}
\presetkeys[XWM]{colorbox}{align=center,width,fillcolor,textcolor,text,
framesep,framerule,framecolor}{}
\newcommand\xwcolorbox[1]{%