Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow watermarking the pages with a specific text #397

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions eisvogel.tex
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,15 @@
$endif$
$endif$
%
% Define draft watermark
%
$if(draft)$
\usepackage{draftwatermark}
\SetWatermarkText{$draft$}
\SetWatermarkScale{.5}
$endif$
%%
%% end added
%%
Expand Down