Skip to content

Commit dac2b75

Browse files
author
Clément
committed
Improved watermark.
1 parent eb96917 commit dac2b75

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

md_version/main.pdf

981 Bytes
Binary file not shown.

md_version/templates/head_b.tex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,10 @@
280280
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
281281

282282
\ifdefined\yourmention
283+
\usepackage{accsupp} % We make it impossible to select the mention
284+
% cf. https://tex.stackexchange.com/a/309878
283285
\usepackage{draftwatermark}
284-
\SetWatermarkText{\yourmention}
285-
\SetWatermarkScale{2.27}
286+
\SetWatermarkText{\BeginAccSupp{method=escape,ActualText={}}\yourmention\EndAccSupp{}}
287+
\SetWatermarkScale{2}
286288
\SetWatermarkColor{augustagrey!20}
287289
\fi

0 commit comments

Comments
 (0)