6

I'm trying to include a verbatim environment in a powerdot slide as follows, but that does not work:

\documentclass{powerdot}

\begin{document}

\begin{slide}{title of the slide}  
\begin{itemize}
\item  \begin{verbatim}
           abcdefghijklmnop...
       \end{verbatim}
\end{itemize}
\end{slide} 

\end{document}

I get the following message in the log :

! Argument of \verbatim@ has an extra }.
lockstep
  • 250,273
Stéphane Laurent
  • 1,022
  • 1
  • 8
  • 15

1 Answers1

8

You need to use method=direct or method=file for slides containing verbatim material (see Section 6.4 Verbatim on slides of the powerdot documentation):

\documentclass{powerdot}

\begin{document}

\begin{slide}[method=direct]{title of the slide}  
\begin{itemize}
\item  \begin{verbatim}
           abcdefghijklmnop...
       \end{verbatim}
\end{itemize}
\end{slide} 

\end{document}
Gonzalo Medina
  • 505,128