在LaTeX編輯的PDF文檔中加水印的代碼為:
\usepackage{draftwatermark}
\SetWatermarkText{Initial Draft} % the Text
\SetWatermarkLightness{0.9} % the lightness from 0 to 1, default 0.8
\SetWatermarkScale{1.0} % the scale, default 1.2
SetWatermarkText:關(guān)鍵字
SetWatermarkLightness:關(guān)鍵字的亮度
SetWatermarkScale:關(guān)鍵字的大小