I have researched and found how to create a watermark in an rmarkdown document.
It works great on basic text, but when you have a plot heavy page, it gets hidden beh
Try using
header-includes:
- \usepackage{eso-pic,graphicx,transparent}
and then on the first page of your document (within the LaTeX part), add
\AddToShipoutPictureFG{
\AtPageCenter{% or \AtTextCenter
\makebox[0pt]{\rotatebox[origin=c]{45}{%
\scalebox{5}{\texttransparent{0.3}{DRAFT}}%
}}
}
}
This should add a rotated DRAFT message (semi-transparent) in the F
oreG
round (over top) of the page.