Is it possible to have a draft watermark only in a \section
?
EDIT:
I have in a document more then one \section
, and I need the draftwatermark
just in some \section
. Unfortunately the section with and without the draftwatermark
share the page. For example I want the draftwatermark
under the text of just one of these sections A,B,C
\documentclass{article}
\usepackage{kantlipsum} % supply mock text
\begin{document}
\section{A}
\kant[2]
\section{B}
\kant[2-4]
\section{C}
\kant[2]
\end{document}
Best Answer
One option would be to use the
background
package; to have the watermark appear on some pages, you can say something likeThe background material (which can be almost anything you want (image, text) with control over the attributes (placement, color, scale, opacity, etc.) and, by default, "Draft" written diagonally, in red and in a large size) will appear on all the pages between
\SetBgContents{Draft}
and the following\SetBgContenst{}
.To have the watermark to appear only on selected pages, you can use the
pages=some
package option and then use\BgThispage
on the page(s) you want the watermark to appear:If the most recent version of the package is not available in your system, the line
has to be replaced with
Here's an example that manually places the "Draft" mark only for section two: