The "draftwatermark" package extends LaTeX providing a means to add a textual, light gray watermark on every page or on the first page of a document. Typical usage may consist in writing words such as "DRAFT" or "CONFIDENTIAL" across document pages. The package may remind in some sense "draftcopy" by Dr. Juergen Vollmer, but its implementation is much lighter (as the reduced code footprint shows) and does not rely on postscript specials, making the package fully compatible with pdfLaTeX. The package depends on package "everypage" by the same author.
15
stars
6
forks
source link
Watermark text turns black when luacolor package is used (in TeX Live 2021) #27
If one uses the luacolor package (instead of or in addition to xcolor), the watermark text generated by the draftwatermark package turns black. And using \SetWatermarkColor or \SetWatermarkLightness has no effect; the text is still black.
Here’s an reproducible example. It used to work fine in TeX Live 2020 (the watermark was shown in grey), but doesn’t in TeX Live 2021 (the watermark is shown in black). It must be compiled using lualatex.
\documentclass{article}
\usepackage{xcolor}
\usepackage{luacolor}
\usepackage{draftwatermark}
%\SetWatermarkColor{red}
%\SetWatermarkLightness{.7}
\begin{document}
Test
\end{document}
If one uses the
luacolor
package (instead of or in addition toxcolor
), the watermark text generated by thedraftwatermark
package turns black. And using\SetWatermarkColor
or\SetWatermarkLightness
has no effect; the text is still black.Here’s an reproducible example. It used to work fine in TeX Live 2020 (the watermark was shown in grey), but doesn’t in TeX Live 2021 (the watermark is shown in black). It must be compiled using
lualatex
.