Comments (1)
You really have multiple alternatives, depending on your needs:
- If you need to watermark only the 1st page, use
firstpageonly
when loading the package. - If at some point in the text you realize that you need to start watermarking and at some later point you need to stop it, put some
\DraftwatermarkOptions{stamp}
and\DraftwatermarkOptions{nostamp}
in your source at the points where you want to activate and deactivate the stamping of the watermark.- This is best if the need to activate and deactivate the watermark depends on your content (e.g. you have a section "foo" and you want it watermarked, however you do not know in advance from what page number this section will be typeset, e.g., because you still add stuff at the beginning of your document, or you plan changing the font size, etc.)
- If at some specific page numbers you want the watermark and not at others, you can include conditional expressions based on the page number in the watermark text. Namely, you redefine the watermark text using
\DraftwatermarkOptions{text={.....})
and in the watermark text you include a conditional expression. For instance, you may usetext={\ifodd\thepage ODD\else EVEN\fi}
to put the watermark "ODD" on odd pages and the watermark "EVEN" on even pages. Alternatively, for more complex conditionals, you may want to use theifthen
package and then do things liketext={\ifthenelse{\thepage=2}{HERE}{\relax}}
(this will print the watermark only on page 2).
Hope this helps...
from latex-draftwatermark.
Related Issues (20)
- How to use \SetWatermarkHorCenter{⟨length⟩} HOT 1
- automaticly react on "draft" option of the documentclass HOT 1
- ignoring pages HOT 4
- text appears tiny HOT 1
- [feature request] Provide a command to turn off watermarking HOT 2
- Watermark is incorrectly placed on the foreground of included PDFs HOT 8
- Error in documentation HOT 2
- New line (\\) not possible in text HOT 3
- Draftwatermark should get rid of everypage dependency HOT 1
- new line not working in the text option in [] HOT 3
- Example 6.1 in documentation does not work HOT 6
- In TeX Live 2020 version of package, commas in \SetWatermarkText{} create an error HOT 4
- A floating object distorts background watermark HOT 14
- Watermark text turns black when luacolor package is used (in TeX Live 2021) HOT 4
- some formatting lost (not sure it is draftwatermark fault) HOT 3
- Assure that the font used for the watermark is appropriate
- color key errors HOT 3
- Version 3.1 changelog entries missing HOT 1
- Watermark Overlay Issue with `draftwatermark` Package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latex-draftwatermark.