Latex添加水印,在图片上面

使用draftwatermark的时候,图片会把水映覆盖,所以换方法。在latex的开头加上

\usepackage{tikz}
\AddToHook{shipout/foreground}{
  \begin{tikzpicture}[remember picture,overlay]
    \node[black,rotate=45,scale=4,opacity=0.1] at (current page.center) {你的水印内容}; 
  \end{tikzpicture}
}

参考文献
https://tex.stackexchange.com/questions/132582/transparent-foreground-watermark

你可能感兴趣的:(Latex)