0

I am trying to use the background package to include watermark-style in the background of my document. However, I only want the background in certain, but not all pages. Supposedly, the package has an option for that: pages=some. But this option seems to have no effect. The background is still added to all pages.

Here is an 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 Answer 1

0

It works if pages=some is passed directly as a package option:

\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}

This seems to be a bug.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .