1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
<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
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
range of languages (though you can choose your own word, too).
<p>More elaborate watermarks may be achieved using the <i>eso-pic</i>
package, which in turn uses the package <i>everyshi</i>, part of
Martin Schröder's <i>ms</i> bundle. <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
to do what you like.
<p>The <i>wallpaper</i> package builds, as above, on
<i>eso-pic</i>. Apart from the single-image backdrops described
above ("wallpapers", of course, to this package), the package
provides facilities for tiling images. All its commands come in
pairs: on for "general" use, and one applying to the current page only.
<dl>
<dt><tt><i>draftcopy.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/draftcopy.zip">macros/latex/contrib/draftcopy</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/draftcopy.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/draftcopy/">browse</a>)
<dt><tt><i>eso-pic.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/eso-pic.zip">macros/latex/contrib/eso-pic</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/eso-pic.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/eso-pic/">browse</a>)
<dt><tt><i>everyshi.sty</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/ms.zip">macros/latex/contrib/ms</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/ms.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ms/">browse</a>)
<dt><tt><i>wallpaper.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/wallpaper.zip">macros/latex/contrib/wallpaper</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/wallpaper.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/wallpaper/">browse</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>
</body>
|