diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-11 20:42:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-11 20:42:09 +0000 |
commit | 6770f17a2f7fa550295689a526e402c30e1eec23 (patch) | |
tree | 7d40e3d73db84a354b54111cb1950c372d96013b /Master/texmf-dist/doc | |
parent | 84f8b847502b28b3479b816502152a0a627c87ed (diff) |
draftwatermark (11may20)
git-svn-id: svn://tug.org/texlive/trunk@55096 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/draftwatermark/README | 34 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/draftwatermark/README.md | 33 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/draftwatermark/draftwatermark.pdf | bin | 182386 -> 264359 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/draftwatermark/test_draftwatermark4.tex | 24 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/draftwatermark/test_draftwatermark5.tex | 58 |
5 files changed, 101 insertions, 48 deletions
diff --git a/Master/texmf-dist/doc/latex/draftwatermark/README b/Master/texmf-dist/doc/latex/draftwatermark/README deleted file mode 100644 index 9d68bbedc5b..00000000000 --- a/Master/texmf-dist/doc/latex/draftwatermark/README +++ /dev/null @@ -1,34 +0,0 @@ -The "draftwatermark" package extends LaTeX providing a means to add a textual -gray or colored watermark on every page or on the first page of a -document. Typical usage may consist in writing words such as "DRAFT" or -"CONFIDENTIAL" across document pages. The package may remind in some sense -"draftcopy" by Dr. Juergen Vollmer, but its implementation is lighter (as the -reduced code footprint shows) and does not rely on postscript specials, making -the package fully compatible with pdfLaTeX, xelatex and lualatex. The package -depends on package "everypage" by the same author. - -The package focus is on simplicity, for complex layouts please consider -scrlayer.sty in the KOMA script bundle. - -The "draftwatermark" package is copyright 2006, 2012, 2020 by Sergio Callegari -<sergio.callegari@gmail.com> - -It comprises this README file, as well as files -draftwatermark.dtx -draftwatermark.ins - -To install the package, run LaTeX on the installation script -draftwatermark.ins and follow the instructions provided by the script -itself. - -"draftwatermark" may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either version 1.3 of -this licence, or any later version. The latest version of this license -is at http://www.latex-project.org/lppl.txt and version 1.3 is part of -all distributions of LaTeX version 2003/06/01 or later. - -This work has the LPPL maintenance status "author-maintained". - -Development happens on github at - https://github.com/callegar/LaTeX-draftwatermark -Please refer to that site for bug tracking.
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/draftwatermark/README.md b/Master/texmf-dist/doc/latex/draftwatermark/README.md new file mode 100644 index 00000000000..7b22c3a1fc1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/draftwatermark/README.md @@ -0,0 +1,33 @@ +# The `draftwatermark` LaTeX package + +The `draftwatermark` package extends LaTeX providing a means to add a textual +gray or colored watermark on every page or on the first page of a +document. Typical usage may consist in writing words such as "DRAFT" or +"CONFIDENTIAL" across document pages. The package may remind in some sense +`draftcopy` by Dr. Juergen Vollmer, but its implementation is lighter (as the +reduced code footprint shows) and does not rely on postscript specials, making +the package fully compatible with pdfLaTeX, XeLaTeX and LuaLaTeX. The package +depends on `everypage.sty` by the same author. + +The package focus is on simplicity, for complex layouts please consider +`scrlayer.sty` in the KOMA script bundle. + +The `draftwatermark` package is copyright 2006, 2012, 2020 by Sergio Callegari +<sergio.callegari@gmail.com>. + +This work consists of this `README.md` file, as well as files `draftwatermark.dtx`, +`draftwatermark.ins` and the derived file `draftwatermark.sty`. + +To install the package, run LaTeX on the installation script +`draftwatermark.ins` and follow the instructions provided by the script itself. + +This work may be distributed and/or modified under the conditions of the LaTeX +Project Public License version 1.3. This license is available at +<https://www.latex-project.org/lppl/> and it is part of all distributions of +LaTeX version 2005/12/01 or later. + +This work has the LPPL maintenance status "author-maintained". + +Development happens on github at +<https://github.com/callegar/LaTeX-draftwatermark>. Please refer to that site +for bug tracking. diff --git a/Master/texmf-dist/doc/latex/draftwatermark/draftwatermark.pdf b/Master/texmf-dist/doc/latex/draftwatermark/draftwatermark.pdf Binary files differindex 41c67efb515..059d0262dcc 100644 --- a/Master/texmf-dist/doc/latex/draftwatermark/draftwatermark.pdf +++ b/Master/texmf-dist/doc/latex/draftwatermark/draftwatermark.pdf diff --git a/Master/texmf-dist/doc/latex/draftwatermark/test_draftwatermark4.tex b/Master/texmf-dist/doc/latex/draftwatermark/test_draftwatermark4.tex index 8f6c70d486c..1e701f36453 100644 --- a/Master/texmf-dist/doc/latex/draftwatermark/test_draftwatermark4.tex +++ b/Master/texmf-dist/doc/latex/draftwatermark/test_draftwatermark4.tex @@ -4,30 +4,26 @@ %% %% The original source files were: %% -%% draftwatermark.dtx (with options: `samplecode-custom') +%% draftwatermark.dtx (with options: `samplecode-dynamic') %% \documentclass{article} \usepackage[named]{xcolor} \usepackage[T1]{fontenc} -\usepackage{draftwatermark} +\usepackage[color=red, fontsize=32pt]{draftwatermark} \usepackage{mathptmx} -\usepackage[scaled]{helvet} \usepackage{lipsum} \title{Sample document for the draftwatermark package} \author{} -\newsavebox\wmbox -\savebox\wmbox{% - {\color[rgb]{1,0.8,0.8}\sffamily \fbox{DRAFT}}} -\newcommand\MyWM{% - \ifodd\thepage - \hspace*{\dimexpr \paperwidth -\wd\wmbox-10mm}% - \usebox{\wmbox}% - \else - \usebox{\wmbox}% - \fi} +\DraftwatermarkOptions{% + angle=0, + text={\ifodd\thepage ODD\else EVEN\fi}, + hpos={\ifodd\thepage \dimexpr\paperwidth-5mm\else 5mm\fi}, + vpos=5mm, + vanchor=t, + hanchor={\ifodd\thepage r\else l\fi} +} -\DraftwatermarkOptions{anchor=lt, pos={5mm, 5mm}, markcmd=\MyWM} \begin{document} \maketitle diff --git a/Master/texmf-dist/doc/latex/draftwatermark/test_draftwatermark5.tex b/Master/texmf-dist/doc/latex/draftwatermark/test_draftwatermark5.tex new file mode 100644 index 00000000000..3e4b3bbc49b --- /dev/null +++ b/Master/texmf-dist/doc/latex/draftwatermark/test_draftwatermark5.tex @@ -0,0 +1,58 @@ +%% +%% This is file `test_draftwatermark5.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% draftwatermark.dtx (with options: `samplecode-custom') +%% +\documentclass{article} +\usepackage[named]{xcolor} +\usepackage[T1]{fontenc} +\usepackage{draftwatermark} +\usepackage{mathptmx} +\usepackage[scaled]{helvet} +\usepackage{lipsum} +\title{Sample document for the draftwatermark package} +\author{} + +\newsavebox\wmbox +\savebox\wmbox{% + {\color[rgb]{1,0.8,0.8}\sffamily \fbox{DRAFT}}} +\newcommand\MyWM{% + \ifodd\thepage + \hspace*{\dimexpr \paperwidth -\wd\wmbox-10mm}% + \usebox{\wmbox}% + \else + \usebox{\wmbox}% + \fi} + +\DraftwatermarkOptions{anchor=lt, pos={5mm, 5mm}, markcmd=\MyWM} +\begin{document} +\maketitle + +\section{One} +\lipsum[1-3] + +\section{Two} +\lipsum[4-6] + +\end{document} +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\endinput +%% +%% End of file `test_draftwatermark5.tex'. |