1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
\mode <presentation> \begin{frame}{An Example Article -- The produced TOC} \label{example:art:tex:toc} \begin{example} \lstinputlisting[style=beamer-example]{\skbfileroot{examples/example-toc}} \end{example} \end{frame} \mode <article> \resizebox{\textwidth}{!}{\includeslide{example:art:tex:toc}} \bigskip \mode <all>