Skip to content

Commit

Permalink
Fix watermark generation on newer latex installs
Browse files Browse the repository at this point in the history
 * Move from `xwatermark` to `draftwatermark`

Signed-off-by: Joshua Hursey <[email protected]>
(cherry picked from commit f1b90f7)
  • Loading branch information
jjhursey committed Dec 14, 2020
1 parent 4a24de5 commit 4e5b29b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pmix-standard.tex
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,13 @@
\input{pmix.sty}

% Watermark for the Unofficial Drafts
% Note: "allpages","evenpages","oddpages" do not work. Likely because of the index.
\ifthenelse{\boolean{is_unofficial_draft}}
{\usepackage[printwatermark]{xwatermark}
\newwatermark[firstpage,color=gray!30,angle=45,scale=3,xpos=-5,ypos=0]{Unofficial Draft}
{\usepackage{draftwatermark}
\SetWatermarkText{\textbf{Unofficial Draft}}
\SetWatermarkColor[gray]{0.85}
\SetWatermarkFontSize{90pt}
\SetWatermarkScale{1}
\SetWatermarkAngle{45}
}{}

%%%%%%%%%%%%%%%%%%% Indices
Expand Down

0 comments on commit 4e5b29b

Please sign in to comment.