how to use rmarkdown to generate reports with watermarks text logos

Could you please help me to understand how to generate reports with watermarks text logos. could you please provide the steps to achieve the same.

I found this online post. It seems working well. The idea is to utilise a CSS file to format watermarks.

Demonstration page of R Markdown in combination with corporate theming (

I want to use this for word docs

Here is a link with a partial solution, r - Watermark in rmarkdown - Stack Overflow. I say "partial" because it seems to work for pdfs but not Word.

Basically, add

   - \usepackage{draftwatermark}

to the YAML header and then put in


to get the word "DRAFT".

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.