Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [xwatermark]

{xwatermark} is for questions related to the xwatermark package. This package can be used to put user-specified watermarks (graphics and arbitrary texts) on select pages of documents.

Filter by
Sorted by
Tagged with
0 votes
1 answer
103 views

Read in multiple-page PDF and apply watermark to all pages

I would like to read in a multi-page pdf and then apply a watermark to all of the pages on it. Here is the LaTeX script I'm using \documentclass[12pt,twoside]{article} \usepackage[printwatermark]{...
NM_'s user avatar
  • 357
0 votes
1 answer
193 views

How to add a different watermark for each page in a document?

I want to add different text watermarks to my document, starting on the second page. The watermarks will be two-lines long, and each page will have a different watermark, as follows: --- Page 2 --- ...
sahin's user avatar
  • 287
5 votes
2 answers
816 views

What's wrong with the xwatermark package?

On a relatively old MacTeX distribution (2015), the following code was compiling fine without any issue. But with the latest MacTeX, it doesn't compile well anymore. I'm getting some mysterious ...
Cham's user avatar
  • 2,316
0 votes
0 answers
49 views

add newwatermark in blankpage

I'm new to latex and I'm having trouble adding a watermark to the last (non-numbered) page of my document. I'm using the xwatermark package, but I can't compile my document. The commands I used are ...
Ulisses 's user avatar
1 vote
1 answer
151 views

How to Put different watermarks on even an odd pages using xwatermark?

I want to get a transparent foreground watermark that will be different for even and odd pages and which does not render the underlying content, such as text and images, is invalid. Is it possible? ...
Sofia's user avatar
  • 167
1 vote
1 answer
221 views

Remove designated waterprints made by eso-pic

I construct four waterprints by \AddToShipoutPictureBG from package eso-pic as the following code shows. Then I want to remove waterpint-1 and waterprint-2 from page 3. I know \ClearShipoutPictureBG ...
lyl's user avatar
  • 2,727
1 vote
0 answers
37 views

Error concerning xwatermark package after updating package list [duplicate]

I have a problem, that came up after updating the whole package list of Miktex, and I am 100% sure it is due to the package xwatermarks. After compiling the text I get the following error, right ...
GiacomoDB's user avatar
  • 177
0 votes
0 answers
174 views

how to control font size in xwatermark \newwallpaper

I'd like to have a tiled text wallpaper covering the whole page. I have found this old post about the \newwallpaper macro in the xwatermark package, which seems to be able to do what I need. I cannot ...
PFB's user avatar
  • 13
2 votes
2 answers
75 views

Keepin key-value pairs in `l3prop` in a way that preserves catcode

This is a follow up to this post. Initially the problem was to store some function's options in some container. Examples of such functions: \includepdf, or \newwatermark. This can be useful if the ...
Erwann's user avatar
  • 2,120
2 votes
2 answers
118 views

abntex2 + xwatermark = already defined command erros

Look at this tiny code: \documentclass{abntex2} \usepackage{xwatermark} \begin{document} Testing 1 2 3 \end{document} It produces the following errors in TexnicCenter 2.02 (64 bits), ran with up to ...
Fausto Ramos's user avatar
2 votes
1 answer
61 views

Two seemingly identical l3seq cause different behavior passed to function

I have two seq's, one constructed from a clist, another from a prop, whose expansion (with , between items) look the same. They are supposed to contain options to \newwatermark. The use of a prop is ...
Erwann's user avatar
  • 2,120
0 votes
0 answers
52 views

xwatermark still error after loading babel before it

I just face the exact same error with this case and just followed the same method just as it suggest, but it still remained error. Here is my MWE : \documentclass[11pt,openany,a4paper,usenames,...
Wilory Lu's user avatar
  • 101
12 votes
2 answers
3k views

Xwatermark throws error

I am using MikTeX with PDFLaTeX and it has worked fine. After an update if MikTeX xwatermark throws an error: ! Extra \endgroup. \document ->\endgroup \let \BeforeStartOfDocument \@firstofone \...
Karl Håkansson's user avatar
1 vote
1 answer
180 views

Error when using imakeidx and xwatermark

I was editing a text that carries a watermark and decided to add an index. Everything was going fine until at some point an error message came out. After debugging I could identify the issue. There is ...
FHZ's user avatar
  • 3,949
0 votes
1 answer
344 views

Package xwatermark and page color

I am trying to compile a document, which has (1) a colored back-ground of its pages and (2) a watermark. However, when I try to use the package xwatermark, it annihilates the colored background of ...
user136555's user avatar
2 votes
1 answer
756 views

Undefined control sequence \color using xwatermark

I'm trying to use the xwatermark package. I have a document like this: \documentclass[]{article} \usepackage[printwatermark]{xwatermark} \begin{document} \newwatermark[allpages]{UNAPPROVED} Foo \...
Jean-Paul Calderone's user avatar
2 votes
1 answer
382 views

Hide watermaks on some pages without using page numbers

I would like to hide a document watermark on some pages, but without specifying page numbers (e.g. with xwatermark pages option). Since counting pages is inconvenient for long documents, I would like ...
antonio's user avatar
  • 1,446
1 vote
1 answer
266 views

Low quality font using xwatermark, TikZ and \newsavebox in combination with [T1]{fontenc} and lmodern

Some time ago at the link Transparent foreground watermark, I learned from Gonzalo Medina's answer how to make transparent water maker with the package xwatermark. And it was awesome. On the other ...
FHZ's user avatar
  • 3,949
0 votes
2 answers
670 views

How to manage already defined commands? Case in point: xwatermark and titleps

I was hoping to find a command in etoolbox that would help resolve this type of error. Is there one? EDIT on 10/14. What I'm looking for is: when two packages' define the same command, resulting in ...
Erwann's user avatar
  • 2,120
0 votes
0 answers
96 views

Randomly placed watermark on page

i want to place on a document randomly a small picture. I use for that the xwatermark and lcg package. The newwatermark within the dokument works fine with the lcg, appart from the fact there is ...
xmarklcg's user avatar
3 votes
1 answer
2k views

Watermark over images with specific font

I follow the suggest solution to place a watermark over images. This works very well. But for my doc I have specified a different main font namely \setmainfont{Liberation Sans} But somehow this is ...
LeO's user avatar
  • 1,471
2 votes
1 answer
193 views

Is there a way to dynamically scale a watermark?

I've done quite a bit of research of trying to scale a watermark based on the text given. The issue is that if I enter a longer string, the text runs off the page. I've tried various packages ...
Aaron's user avatar
  • 23
3 votes
0 answers
1k views

Option clash for textcomp with newtxtext, minted and xwatermark

I am having an option clash for package textcomp, it happens with this code: \documentclass{book} \usepackage{newtxtext} \usepackage{minted} \usepackage{xwatermark} \begin{document} Hi \end{...
kleiver carrasco's user avatar
1 vote
0 answers
252 views

LaTeX xwatermark package error

\documentclass{article} \usepackage{kotex} \usepackage{array} \usepackage{lipsum} \usepackage{xcolor} \usepackage{graphicx} \usepackage{romannum} \usepackage{fancyhdr} \usepackage{titlesec} \...
남윤재's user avatar
1 vote
1 answer
623 views

xwatermark causing issues with \includegraphics options

I'm currently having issues using xwatermark and the clip and trim={} options of \includegraphics for graphics that are completely unrelated to the watermark produced by xwatermark. Here's a MWE that ...
jgriggs's user avatar
  • 13
0 votes
1 answer
251 views

Using xwatermark with pageref

If I specify the option page of \newwatermark using \pageref, I get the following error: Package xwatermark Error: No page specifier for watermark: How to fix that? \documentclass{article} \...
Erwann's user avatar
  • 2,120
2 votes
1 answer
1k views

Error when using xwatermark and babel

I get this error when using xwatermark: ! Package catoptions Error: '\XDeclareOption*' multiply defined in (catoptions) package 'babel'. See the catoptions package ...
Albert0's user avatar
  • 23
9 votes
1 answer
296 views

PDF layers don't show

I'm trying to show the watermark as a background layer so the reader may have the option to either see the background or not. I'm using the LuaLaTeX and the xwatermark package. When I compile the ...
Levy's user avatar
  • 1,167
0 votes
0 answers
98 views

tikz drawing as xwatermark - problem with semicolon

I have a g-brief document which includes an xwatermark in it. By the below error it appears as though xwatermark doesn't like semicolons in the watermarks description: (I can't seem to copy from the ...
Christian's user avatar
  • 1,435
0 votes
1 answer
655 views

xwatermark prints stamp instead of watermark

When using the xwatermark package, I'm getting a watermark that is best described as a stamp, it has no transparency and is situated over everything else instead of being discretely at the back. I'm ...
gone's user avatar
  • 307
0 votes
1 answer
387 views

Vertical strip as watermark in TeX

I want a vertical strip in full length of the page as shown here: If the logo is an image, it would be better. How to achieve this? Thanks in advance.
Abhisek's user avatar
5 votes
1 answer
228 views

Part of main text grabbed by watermark

I am using the solution presented in Q/A 132582 to produce a transparent foreground watermark. With success most of the time. But on some rare occasions, a part of the main text is embedded into the ...
ysalmon's user avatar
  • 1,160
2 votes
1 answer
3k views

Watermark on selected pages or xwatermark and scrlayer-scrpage

maybe it is a duplicated question, but I want to put a watermark on pages I define at the beginning of the document. So far, the only package providing this is xwatermark. But I use scrlayer-scrpage ...
Niklas's user avatar
  • 642
1 vote
1 answer
154 views

Option clash after texlive update

Today I updated my old installation of texlive to, what I assume is the most current, but now one of my documents can no longer compile. MWE: \documentclass[dvips]{memoir} \usepackage{xcolor} \...
natlampen's user avatar
1 vote
1 answer
964 views

Watermark on document image or custom boxes

I have added water mark using \backgroundsetup \backgroundsetup{ angle=45, scale=1,contents={\includegraphics[allpages, ]{water_mark.png}}} \usepackage[most]{tcolorbox}\tcbset{colback=blue!8!...
Muhamed Riyas M's user avatar
4 votes
1 answer
2k views

Set a watermark where the content will be added latter [duplicate]

I'm writing a document but now I'm just in the beginning of it, it's a draft phase. I already know the section names and how many pages each section will spam, i.e. \section{Intro} should have up to 3 ...
KcFnMi's user avatar
  • 1,242
3 votes
1 answer
2k views

Xwatermark prints watermark only on the first page

According to the documentation, the following should produce watermarks on every page, but it only appears on the first page: \newwatermark*[allpages,angle=45]{watermark} It seems xwatermark treated ...
knh190's user avatar
  • 153
1 vote
2 answers
701 views

Can not load biblatex with options

it seems that I cannot load the biblatex package with initial options: \usepackage[ style=alphabetic, backend=biber, date=long, dateabbrev=true ]{biblatex} this gives me the following errors ...
Marcus's user avatar
  • 61
1 vote
2 answers
1k views

Applying a new default sans serif to a watermark

I wish to change the default sans serif to roboto and use it for a water mark. When I pass a value to the fontfamily keyword of the \newwatermark function, the entire document changes font to sans ...
noumenal's user avatar
  • 113
2 votes
1 answer
1k views

Additional 'Draft' watermark using printwatermark and xwatermark packages

I am using the packages printwatermark and xwatermark to add a watermark in background this way: \usepackage[printwatermark]{xwatermark} ... \newwatermark[allpages,color=red!50,angle=45,scale=3,xpos=...
Raoul722's user avatar
  • 365
3 votes
1 answer
1k views

Conflict between xwatermark and exam class

I want to print a watermark in exam class in the following way as I don't want water mark in the foreground and with some opacity. As soon as I uncomment the \usepackage[printwatermark]{xwatermark} it ...
Sankhya Institute's user avatar
1 vote
1 answer
248 views

Using label to indicate which pages should have watermark in xwatermark pages

\newwatermark command in xwatermark package has an option pagex which allows to to insert the watermarks only on selected pages. However, it requires me to put hard-coded page numbers for example. \...
Mitesh J's user avatar
7 votes
2 answers
3k views

Adding a watermark on all pages AFTER a prespecified page

Conference submissions typically limit a document to a certain number of pages, and when I'm editing, I'd like to be able to add a watermark to mark pages that are over the limit. For example, if I ...
Suresh's user avatar
  • 16.6k
6 votes
2 answers
322 views

How can I refer to the page number corresponding to \lastdocpage - 2?

Follow-up question to Hiding watermark for first page?. I have recently learned about \lastdocpage (from the previous question), but is there a way to refer to two pages prior to \lastdocpage? To ...
Clarinetist's user avatar
  • 1,550
6 votes
1 answer
4k views

Hiding watermark for first page?

I haven't seen a question on this website that deals with hiding watermarks with xwatermark. Here's the preamble of the document I'm working on that is relevant: \usepackage[printwatermark]{...
Clarinetist's user avatar
  • 1,550
1 vote
0 answers
999 views

xwatermark and draftmark packages stopped working

I've been using xwatermark and draftmark without problem until today, when LaTeX documents I created using both stopped compiling to PDFs. I'm running Kubuntu 14.04 using TL 2014, which I installed ...
DPLentini's user avatar
  • 371
2 votes
2 answers
2k views

Moving minipage on page to flush right with text

I would like to place a box on every page of my LaTeX document that does not interfere with the typesetting of the rest of the document, and found that the watermark packages are suitable for the task;...
Nico Schlömer's user avatar
6 votes
1 answer
2k views

xwatermark: watermark skipping pages

I'm creating a draft document template (article). I need the draft watermark on every page except the titlepage, but it's skipping the List of Figures. The problem seems to be coming from the second ...
PixPrefect's user avatar
4 votes
1 answer
355 views

xwatermark in xepersian does not work together?

\documentclass{book} \usepackage{hyperref} \usepackage[printwatermark]{xwatermark} \usepackage{xcolor} \usepackage{graphicx} \usepackage{tikz} \usepackage{xepersian} \newwatermark[allpages,color=cyan!...
user50054's user avatar
  • 251
6 votes
1 answer
255 views

Weird list formatting with xwatermark and refstepcounter

I discovered some weird behaviour with xwatermark and \refstepcounter which I cannot explain. I created a list and the indentation of the first item is correct, but all others are too much indented. ...
aXeL-HH's user avatar
  • 233