1

New class file:

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{test}[2018/01/09 A test]

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{beamer}}
\ProcessOptions\relax
\LoadClass{beamer} 

LaTeX file using it:

\documentclass[show notes]{test}

\begin{document}
    \frame
    {
        Test
        \note{test}
    }
\end{document}

Does not show notes. Why?


Answer: Different syntax for options and \setbeameroptions. For the first, use show=notes, that is \documentclass[notes=show]{...}, for the second use show notes, that is \setbeameroptions{show notes}.

1 Answer 1

4

Try this (from here):

test.cls:

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{test}[2018/01/09 A test]

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{beamer}}
\ProcessOptions\relax
\LoadClass{beamer}
\RequirePackage{pgfpages}

test.tex:

\documentclass{test}
\setbeameroption{show notes on second screen}

\begin{document}
    \frame
    {
        Test
        \note{test}
    }
\end{document}
1
  • 1
    Thanks. My mistake, the correct syntax for options was notes=show, not show notes.
    – mrupp
    Jan 12, 2018 at 12:58

You must log in to answer this question.

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