diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-watermark.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-watermark.html | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-watermark.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-watermark.html index b15be120a2e..1532fa3f50d 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-watermark.html +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-watermark.html @@ -1,42 +1,52 @@ <head> <title>UK TeX FAQ -- question label watermark</title> </head><body> -<h3>‘Watermarks’ on every page</h3> -<p/>It’s often useful to place some text (such as ‘DRAFT’) in the +<h3>‘Watermarks’ on every page</h3> +<p/>It’s often useful to place some text (such as ‘DRAFT’) in the background of every page of a document. For LaTeX users, this can be achieved with the <i>draftcopy</i> package. This can deal with many types of DVI processors (in the same way that the graphics -package does) and knows translations for the word ‘DRAFT’ into a wide +package does) and knows translations for the word ‘DRAFT’ into a wide range of languages (though you can choose your own word, too). Unfortunately, however, the package relies on PostScript specials, and will therefore fail if you are viewing your document with <i>xdvi</i>, -and won’t even compile if you’re using PDFLaTeX. (PDFLaTeX +and won’t even compile if you’re using PDFLaTeX. (PDFLaTeX users need one of the other solutions below.) <p/>The <i>wallpaper</i> package builds on <i>eso-pic</i> (see below). Apart from the single-image backdrops described above -(“wallpapers”, of course, to this package), the package provides +(“wallpapers”, of course, to this package), the package provides facilities for tiling images. All its commands come in pairs: one for -“general” use, and one applying to the current page only. -<p/>The <i>draftwatermark</i> package uses the same author’s +“general” use, and one applying to the current page only. +<p/>The <i>draftwatermark</i> package uses the same author’s <i>everypage</i> package to provide a simple interface for adding -textual (‘DRAFT’-like) watermarks. +textual (‘DRAFT’-like) watermarks. <p/>More elaborate watermarks may be achieved using the <i>eso-pic</i> package, which in turn uses the package <i>everyshi</i>, or by using <i>everypage</i>. <i>Eso-pic</i> attaches a <code>picture</code> environment to every page as it is shipped out; you can put things into that environment. The package provides -commands for placing things at certain useful points (like “text -upper left” or “text centre”) in the picture, but you’re at liberty +commands for placing things at certain useful points (like “text +upper left” or “text centre”) in the picture, but you’re at liberty to do what you like. -<p/><i>Everypage</i> allows you to add “something” to every page, or +<p/><i>Eso-pic</i> is, in turn, built upon the package +<i>atbegshi</i>. That package has the capability to produce +watermarks <em>on top of</em> the other material on the page; this +doesn’t sound very “watermark-like”, but can be useful on pages +where the watermark would otherwise be hidden by graphics or the +like. The <i>atbegshi</i> command that <i>eso-pic</i> uses is +<code>\</code><code>AtBeginShipoutUpperLeft</code>; <code>\</code><code>AtBeginShipoutUpperLeftForeground</code> +is what’s needed instead to place the material on top of the rest of +the content of the page. +<p/><i>Everypage</i> allows you to add “something” to every page, or to a particular page; you therefore need to construct your own apparatus for anything complicated. <dl> +<dt><tt><i>atbegshi.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek.zip">macros/latex/contrib/oberdiek</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/atbegshi.html">catalogue entry</a> <dt><tt><i>draftcopy.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/draftcopy.zip">macros/latex/contrib/draftcopy</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/draftcopy/">browse the directory</a>) <dt><tt><i>draftwatermark.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/draftwatermark.zip">macros/latex/contrib/draftwatermark</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/draftwatermark/">browse the directory</a>) <dt><tt><i>eso-pic.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/eso-pic.zip">macros/latex/contrib/eso-pic</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/eso-pic/">browse the directory</a>) <dt><tt><i>everypage.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/everypage.zip">macros/latex/contrib/everypage</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/everypage/">browse the directory</a>) -<dt><tt><i>everyshi.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ms.zip">macros/latex/contrib/ms</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ms/">browse the directory</a>) +<dt><tt><i>everyshi.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ms.zip">macros/latex/contrib/ms</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ms/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/everyshi.html">catalogue entry</a> <dt><tt><i>wallpaper.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/wallpaper.zip">macros/latex/contrib/wallpaper</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/wallpaper/">browse the directory</a>) </dl> <p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=watermark">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=watermark</a> |