beamer
beamer copied to clipboard
feature request: support source code in notes
As documented here,
https://tex.stackexchange.com/questions/7083/latex-beamer-code-listings-in-notes
notes cannot handle source code. A workaround is described there for lstlisting
and should also work for verbatim
, but in my experience it does not work for minted
.
Here's a basic MWE (not using the workaround).
\documentclass{beamer}
\setbeameroption{show notes}
\begin{document}
\begin{frame}[fragile]
\begin{verbatim}
Qux
\end{verbatim}\note{hello}
\end{frame}
\begin{frame}[fragile]
second frame
\note{\begin{verbatim}
foo bar
\end{verbatim}}
\end{frame}
\end{document}
https://tex.stackexchange.com/a/450862/4357 contains a work around that works for minted as well! It might be nice to have some way of achieving the effect that "just works" out of the box without all the patchwork.
This is the classic verbatim-in-arguments issue. Other than making notes
an environment, there is no real general fix.
related feature request by @eg9 for minted: https://github.com/gpoore/minted/issues/215