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 possible?

I'm especially interested in using that on a couple of beamer slides in which I'd like to put a semi-transparent watermark/banner above a couple of pictures.


Yes, it's possible. You can use TikZ to place the watermark inside a \node and then use the opacity key:






enter image description here

| improve this answer | |
  • Perfect! That's exactly what I was looking for. Thank you very much for that solution! – SFAB Sep 11 '13 at 9:02
  • 1
    Maybe @AhmedMusa could have a look at that, too, and add it as an option within the xwatermark package? – SFAB Sep 15 '13 at 12:49

While I like the simplicity of the tikz solution, here's a pstricks solution. This solution does not allow you to automatically create a watermark for each page. But, it does allow you to place a personalized watermark in the foreground for a given page.

%% called for `scalebox`
%% `pstricks` packages needed.  Also, need `\SpecialCoor` to parse post
%% script commands fed to `\rput` for the angle.
%% Instead of using `\scalebox` as I have below, you could define your
%% own font to be used for the watermark.  But the approach I've taken here
%% is a bit more flexible if you intend to use multiple and different watermarks
%% throughout your document which you may want scaled differently.
%% this is use to adjust where `pstricks` places the absolute coordinates.  
%% In other documentclasses, this is 1in from the top, and 1in from the left edge of the
%% paper.  In beamer, the setting seems to come out differently.
%% #1 -> content of watermark
%% #2 -> magnification for watermark
            {\rput{! \number\paperheight\space \number\paperwidth\space atan }






enter image description here

This is a two step process. When you open the beamer frame you must call \createWatermarkOrigin. This macro creates a coordinate system for the beamer frame. I've had to do a bit of tweaking because the usual reference point is shifted (see comments in the MWE for more details).

After setting up the coordinate system, you may call \addWatermark which takes an optional argument for scaling, and a mandatory argument for the content of the watermark.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.