私はbackground
パッケージを使用して、ドキュメントの背景に透かしスタイルを含めます。ただし、背景は特定のページにのみ含めたいのですが、すべてのページに含める必要はありません。パッケージにはそのためのオプションがあるはずです: pages=some
。しかし、このオプションは効果がないようです。背景は引き続きすべてのページに追加されます。
MWE は次のとおりです。
\documentclass{article}
\usepackage{background}
\backgroundsetup{
pages=some,
scale=1,
opacity=0.4,
angle=90,
nodeanchor=south east,
position=current page.north east,
contents=\includegraphics{example-image-a},
}
\begin{document}
test1
\BgThispage
\newpage
test2
\end{document}
答え1
pages=some
パッケージ オプションとして直接渡された場合に機能します。
\documentclass{article}
\usepackage[pages=some]{background}
\backgroundsetup{
scale=1,
opacity=0.4,
angle=90,
nodeanchor=south east,
position=current page.north east,
contents=\includegraphics{example-image-a},
}
\begin{document}
test1
\BgThispage
\newpage
test2
\end{document}
これはバグのようです。