summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-07-01 20:49:42 +0000
committerKarl Berry <karl@freefriends.org>2020-07-01 20:49:42 +0000
commit217f4d072b9ff774eb8b4399999744824cac8d9a (patch)
treec3b3b19e0004382589a3bd89c36c905ad951e3b2 /Master/texmf-dist/tex/latex
parent73d530d669ad7c5bb3f94f2e102866f26572531a (diff)
draftwatermark (1jul20)
git-svn-id: svn://tug.org/texlive/trunk@55719 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/draftwatermark/draftwatermark.sty5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/draftwatermark/draftwatermark.sty b/Master/texmf-dist/tex/latex/draftwatermark/draftwatermark.sty
index 3829e8251a7..7c865c2d3fb 100644
--- a/Master/texmf-dist/tex/latex/draftwatermark/draftwatermark.sty
+++ b/Master/texmf-dist/tex/latex/draftwatermark/draftwatermark.sty
@@ -31,7 +31,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{draftwatermark}%
- [2020/05/11 2.1 Put a gray textual watermark on document pages]
+ [2020/06/29 2.2 Put a gray textual watermark on document pages]
\RequirePackage{kvoptions}
\RequirePackage{everypage}[2007/06/20]
@@ -54,6 +54,7 @@
\DeclareStringOption[0.8]{colorspec}
\DeclareStringOption[c]{hanchor}
\DeclareStringOption[m]{vanchor}
+\DeclareStringOption[c]{alignment}
\DeclareStringOption[\DraftwatermarkStdMark]{markcmd}
\define@key{draftwatermark}{pos}{%
\draftwatermark@processpos #1\@nil}
@@ -134,7 +135,7 @@
\fi
\setlength{\@tempdima}{\draftwatermark@fontsize}%
\fontsize{\@tempdima}{1.2\@tempdima}\selectfont
- \draftwatermark@text
+ \shortstack[\draftwatermark@alignment]{\draftwatermark@text}%
\endgroup}}}
\newcommand\draftwatermark@printwm[1]{%