kgoodrick
I'm trying to setup beamer so that it only typesets notes while in the second mode. However, when I try to add `\mode<second>{...}` to the preamble it has no affect. If I change `<second>` to `<beamer>` the notes are typeset, but of course in both beamer and second modes. Is there a way to have this only happen in second mode?
MWE:
```
\documentclass[second]{beamer}
\usepackage{pgfpages}
\mode
<second>
{\setbeameroption{show notes on second screen=right}}
\begin{document}
\begin{frame}
\note{
\begin{itemize}
\item Note 1
\end{itemize}
}
\begin{itemize}
\item Frame Bullet 1
\end{itemize}
\end{frame}
\end{document}
```
Top Answer
samcarter
The problem is that while `second` is one of the predefined modes, it is not a documentclass option like `handout` or `trans`. You can see the effect if you manually create a `second` documentclass option like this:
```
\documentclass[
second
]{beamer}
\usepackage{pgfpages}
\makeatletter
\DeclareOptionBeamer{second}{\gdef\beamer@currentmode{second}}
\ProcessOptionsBeamer
\makeatother
\mode<second>{\setbeameroption{show notes on second screen=right}}
\begin{document}
\begin{frame}
\note{
\begin{itemize}
\item Note 1
\end{itemize}
}
\begin{itemize}
\item Frame Bullet 1
\end{itemize}
\end{frame}
\end{document}
```
However this has the undesired side effect to put the whole document in second mode, instead of using the second mode only for the content of on the second screen (e.g. the notes in your example).
Instead I suggest this approach:
```
\documentclass[
second
]{beamer}
\usepackage{pgfpages}
\DeclareOptionBeamer{second}{\setbeameroption{show notes on second screen=right}}
\ProcessOptionsBeamer
\begin{document}
\begin{frame}
\note{
\begin{itemize}
\item Note 1
\end{itemize}
}
\begin{itemize}
\item Frame Bullet 1
\end{itemize}
\end{frame}
\end{document}
```