Merge 04e83a5856ea0b3fb70a7ec7e84ac05c878c1ef9 into 24a8c009368843605c212159ad8449476db87d20

This commit is contained in:
Daniel Le Berre 2024-10-22 23:10:08 +02:00 committed by GitHub
commit d35b69f04b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -963,6 +963,15 @@ $endif$
$endif$
$endif$
%
% Define draft watermark
%
$if(draft)$
\usepackage{draftwatermark}
\SetWatermarkText{$draft$}
\SetWatermarkScale{.5}
$endif$
%%
%% end added
%%