Skip to content

Commit

Permalink
Merge pull request #312 from jjhursey/fix-watermark
Browse files Browse the repository at this point in the history
Fix watermark generation on newer latex installs
  • Loading branch information
jjhursey authored Dec 14, 2020
2 parents 953dec1 + f1b90f7 commit 1379696
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 1379696

Please sign in to comment.