<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 28, 2023, at 18:28, Herbert Schulz via MacOSX-TeX <<a href="mailto:macosx-tex@email.esm.psu.edu" class="">macosx-tex@email.esm.psu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><br class=""><blockquote type="cite" class="">On Apr 28, 2023, at 4:24 PM, Nitecki, Zbigniew H. <<a href="mailto:Zbigniew.Nitecki@tufts.edu" class="">Zbigniew.Nitecki@tufts.edu</a>> wrote:<br class=""><br class="">I have a long (500+ pp) book project that I want to watermark before distributing it locally. None of my standard references (Latex Companion, Latex Grphics Companion, Herbert Voss’s PSTricks) seem to have any information about watermarks. <br class="">Can anyone suggest an effective quick-and-dirty way to accomplish this? My document style is memoire and I use xcolor for colors.<br class=""><br class="">I came across the draftwatermark package and thought it would be the solution to my problem. <br class="">The simple command <br class="">\usepackage{draftwatermark} <br class="">does result in the default: the word “DRAFT” in fairly faint gray tilted 45 degrees in the middle of each page. But it’s a bit too faint and small for me.<br class=""><br class="">I tried this package with options on a small test file (using the documentclass article) involving one page consisting of a paragraph with a labelled quote inside. Of course the bare-bones version works equally well on this test file. <br class=""><br class="">However, if I try to modify it, specifically<br class="">if I write the command as<br class=""> \usepackage[color={[gray](0.5)}, text=PRELIMINARY]{draftwatermark} <br class="">in the same position (as the last of the \usepackage commands) in the small test file,<br class="">instead of printing “PRELIMINARY” as desired, the error message <br class="">“missing \begin{document}” is generated in the console, the labelled quote inside the paragraph gets messed up, and the text is preceded by “,2”.<br class="">If I restrict myself to <br class=""> \usepackage[text=PRELIMINARY]{draftwatermark} <br class="">it doesn’t recognize the option: I get the default behavior but the paragraph is preceded with “text=PRELIMINARY”.<br class="">If I augment the simple \usepackage{draftwatermark} command supplemented with <br class=""> \DraftwatermarkOptions{text=PRELIMINARY} <br class="">either before or after \begin{document} the output is the same, because the command \DraftwatermarkOptions is an undefined command. <br class="">Any ideas how to proceed?<br class=""><br class=""><br class=""><br class=""><br class="">Zbigniew Nitecki<br class="">Department of Mathematics<br class="">Tufts University<br class="">Medford, MA 02155<br class=""><br class="">telephones:<br class="">Dept. (617)627-3234<br class="">Dept. fax (617)627-3966<br class=""><a href="http://www.tufts.edu/~znitecki/" class="">http://www.tufts.edu/~znitecki/</a><br class=""></blockquote><br class="">Howdy,<br class=""><br class="">Hmmm... the following example seems to work (well, the text is too large) and is basically copied from the documentation:<br class=""><br class="">% !TEX program = pdflatex<br class="">\documentclass{article}<br class="">\usepackage[svgnames]{xcolor}<br class="">\usepackage[T1]{fontenc}<br class="">\usepackage[color={[gray]{0.5}},text=PRELIMINARY]{draftwatermark}<br class="">\usepackage{mathptmx}<br class="">\usepackage{lipsum}<br class="">\title{Sample document for the draftwatermark package}<br class="">\author{}<br class="">\begin{document}<br class="">\maketitle<br class="">\section{One}<br class="">\lipsum[1-3]<br class="">\section{Two}<br class="">\lipsum[4-6]<br class="">\section{Three}<br class="">\lipsum[7-9]<br class="">\end{document}<br class=""><br class="">I've got a fully updated TeX Live 2023 originally installed by MacTeX.<br class=""><br class="">Good Luck,<br class=""><br class="">Herb Schulz<br class=""><a href="mailto:herbs2@mac.com" class="">herbs2@mac.com</a><br class=""></div></div></blockquote><div><br class=""></div><div class=""><i class="">Very</i> nice with color={[gray]{0.7}}</div><div class="">Just how do I make it a bit smaller? Here it sticks out of the page.</div>—schremmer<div class="">(My TexShop is version 5.10 under OSX 10.13.6)</div><div class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div class="">----------- Please Consult the Following Before Posting -----------<br class="">TeX FAQ: <a href="https://www.tug.org/mactex/faq/index.html" class="">https://www.tug.org/mactex/faq/index.html</a><br class="">List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/TeX/" class="">https://sites.esm.psu.edu/~gray/TeX/</a><br class="">List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" class="">http://dir.gmane.org/gmane.comp.tex.macosx</a><br class=""> <a href="https://email.esm.psu.edu/pipermail/macosx-tex/" class="">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br class="">TeX on Mac OS X Website: <a href="https://www.tug.org/mactex/index.html" class="">https://www.tug.org/mactex/index.html</a><br class="">List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" class="">https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br class=""></div></div></blockquote></div><br class=""></body></html>