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
1 vote
1 answer
85 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? ...
user avatar
  • 157
1 vote
1 answer
81 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 ...
user avatar
  • 2,353
0 votes
0 answers
27 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 ...
user avatar
  • 167
0 votes
0 answers
88 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 ...
user avatar
  • 11
2 votes
2 answers
69 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 ...
user avatar
  • 1,870
2 votes
2 answers
71 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 ...
user avatar
2 votes
1 answer
55 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 ...
user avatar
  • 1,870
0 votes
0 answers
46 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,...
user avatar
7 votes
2 answers
2k 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 \...
user avatar
1 vote
1 answer
106 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 ...
user avatar
  • 3,222
0 votes
1 answer
201 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 ...
user avatar
2 votes
1 answer
385 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 \...
user avatar
2 votes
1 answer
209 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 ...
user avatar
  • 1,304
1 vote
1 answer
190 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 ...
user avatar
  • 3,222
0 votes
2 answers
323 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 ...
user avatar
  • 1,870
0 votes
0 answers
72 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 ...
user avatar
2 votes
1 answer
719 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 ...
user avatar
  • 1,215
2 votes
1 answer
107 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 ...
user avatar
  • 23
3 votes
0 answers
759 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{...
user avatar
1 vote
0 answers
196 views

LaTeX xwatermark package error

\documentclass{article} \usepackage{kotex} \usepackage{array} \usepackage{lipsum} \usepackage{xcolor} \usepackage{graphicx} \usepackage{romannum} \usepackage{fancyhdr} \usepackage{titlesec} \...
user avatar
1 vote
1 answer
511 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 ...
user avatar
  • 13
0 votes
1 answer
193 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} \...
user avatar
  • 1,870
3 votes
1 answer
863 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 ...
user avatar
  • 33
8 votes
1 answer
259 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 ...
user avatar
  • 1,093
0 votes
0 answers
82 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 ...
user avatar
  • 1,405
0 votes
1 answer
573 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 ...
user avatar
  • 267
0 votes
1 answer
324 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.
user avatar
5 votes
1 answer
213 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 ...
user avatar
  • 818
2 votes
1 answer
2k 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 ...
user avatar
  • 630
1 vote
1 answer
146 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} \...
user avatar
1 vote
1 answer
706 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!...
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 ...
user avatar
  • 1,102
2 votes
1 answer
1k 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 ...
user avatar
  • 143
1 vote
2 answers
553 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 ...
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 ...
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=...
user avatar
  • 355
3 votes
1 answer
865 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 ...
user avatar
1 vote
1 answer
215 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. \...
user avatar
6 votes
2 answers
2k 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 ...
user avatar
  • 15.5k
6 votes
2 answers
302 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 ...
user avatar
  • 1,490
6 votes
1 answer
3k 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]{...
user avatar
  • 1,490
1 vote
0 answers
899 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 ...
user avatar
  • 351
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;...
user avatar
6 votes
1 answer
1k 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 ...
user avatar
4 votes
1 answer
334 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!...
user avatar
  • 251
6 votes
1 answer
245 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. ...
user avatar
  • 233
41 votes
2 answers
25k views

Transparent foreground watermark

As a follow-up to Add watermark that overlays the images, I'd like to have a transparent foreground watermark that doesn't render the underlying content, i.e. text and images, illegible. Is that ...
user avatar
  • 797
2 votes
0 answers
874 views

xwatermark allpages does not work on Ubuntu [closed]

I have a document that typesets fine with MikTeX on Windows. I have tried the same source on Ubuntu but I am getting an error: ! Package xwatermark Error: No page specifier for watermark: ||{\...
user avatar
  • 2,289
2 votes
2 answers
3k views

xwatermark package: help using small caps and putting watermark on top of text

Hi in the linked question I asked how best to use AtBegShi to put titles on to of a page as a title. I'm using these as the equivalent of an MS Word textbox at the top of each page that carries the ...
user avatar