diff --git a/README.md b/README.md index 2b0a052..d1a8cac 100644 --- a/README.md +++ b/README.md @@ -213,6 +213,10 @@ This template defines some new variables to control the appearance of the result LaTeX command to change the font size for code blocks. The available values are `\tiny`, `\scriptsize`, `\footnotesize`, `\small`, `\normalsize`, `\large`, `\Large`, `\LARGE`, `\huge` and `\Huge`. This option will change the font size for default code blocks using the verbatim environment and for code blocks generated with listings. + - `draft` (defaults to none) + + Displays the text provided as watermak on each page. Useful to express that a document is work in progress, a draft. + ## Required LaTeX Packages LaTeX manages addons and additional functionality in so called packages. You diff --git a/eisvogel.tex b/eisvogel.tex index 742b0f5..a1df5d9 100644 --- a/eisvogel.tex +++ b/eisvogel.tex @@ -963,6 +963,15 @@ $endif$ $endif$ $endif$ +% +% Define draft watermark +% +$if(draft)$ +\usepackage{draftwatermark} +\SetWatermarkText{$draft$} +\SetWatermarkScale{.5} +$endif$ + %% %% end added %%