beamer add tag
samcarter
Elements that are larger than a beamer frame will protrude into the note page with the `show notes on second screen` option. Normally one does not see this because the note page has a coloured background by default, but I'm using a very simple note page instead of the default one.

How can I crop the beamer frame to avoid this problem?


```
\documentclass{beamer}

\setbeamertemplate{note page}{\insertnote}
\setbeameroption{show notes on second screen}

\begin{document}

\begin{frame}
\includegraphics[width=1.5\textwidth]{example-image-duck}
\note{note text}
\end{frame}

\end{document}
```

![document.png](/image?hash=ecb130678ebe224c8e8ea28832af2f344388ce96f5aab260872077c0861e965f)
Top Answer
samcarter
One can create a new pgfpages layout that uses the `corner width=0pt` option. This will ensure that the page is clipped to the desired size:

```
\documentclass{beamer}

\setbeamertemplate{note page}{\insertnote}

\setbeameroption{show notes on second screen}
\pgfpagesdeclarelayout{my two screens with optional second}{%
}{
  \pgfpagesphysicalpageoptions{%
    logical pages=2,%
    physical height=\pgfpageoptiontwoheight,%
    physical width=\pgfpageoptiontwowidth,%
    last logical shipout=1%
  }
  \pgfpageslogicalpageoptions{1}{%
    center=\pgfpageoptionfirstcenter,%
    corner width=0pt,
  }%
  \pgfpageslogicalpageoptions{2}{%
    center=\pgfpageoptionsecondcenter,%
    copy from=2%
  }%
}
\pgfpagesuselayout{my two screens with optional second}


\begin{document}

\begin{frame}
\includegraphics[width=1.5\textwidth]{example-image-duck}
\note{note text}
\end{frame}

\end{document}
```

![document.png](/image?hash=d51cb0339671c12515605d488cc4ead6c17f099a610c782b1b23890cef9db0c2)

This room is for discussion about this question.

Once logged in you can direct comments to any contributor here.

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.