Promote Your Blog

Saturday, December 22, 2012

How to Put Text Watermark in LaTex


\usepackage {draftwatermark}

Package Options

  • \usepackage [firstpage] {draftwatermark}
  • \usepackage [nostamp] {draftwatermark}

Commands to Modify Watermark Properties

  • \SetWatermarkText {Confidential} % default is DRAFT

  • \SetWatermarkText {\textsc{Confidential}} % For changing text style

  • \SetWatermarkLightness {0.5} % any real number

  • \SetWatermarkScale{4} % Default is 1.2

  • \SetWatermarkFontSize {2cm} % Max is 5 cm

  • \SetWatermarkAngle {30} % Default is 45 deg

  • \SetWatermarkColor [rgb] {0.7,0,0} % Color spec

  • \SetWatermarkColor [red] % package color is required with usenames option

  • \SetWatermarkColor [gray] {0.5} % gray level


1. \SetWatermarkColor is not working in my texlive installation, although its given in official documentation of   draftwatermark package. Somebody suggested to update LaTex installation as colored watermark came in Jan, 2012

2. Notice that Commands begin with capital S like \Set and Watermark is a single word with only W in capital but m small

3. It works for textual watermark. For image watermarks, wait for my next post on same.

Computer Science to Impress Your Valentine in 2013

Here's a trick to impress your Valentine. Just type in this maths equation in the Google searchbar:

"sqrt(cos(x))*cos(300x)+sqrt(abs(x))-0.7)*(4-x*x)^0.01, sqrt(6-x^2), -sqrt(6-x^2) from -4.5 to 4.5"

 and wait for the magic to unfold.