[powerdot] Re: question about lstlisting

  • From: Christopher Ellison <chris.ellison@xxxxxxxxx>
  • To: powerdot@xxxxxxxxxxxxx
  • Date: Tue, 20 Jun 2006 13:40:41 -0700

Kim Højgaard-Hansen wrote the following on 2006-06-20 13:17:
> Yes, that helped... didn't work in pdsetup, thx :)

It should work in pdsetup, but care must be taken as it applies to
_every_ slide.  The following complies just fine:

\documentclass{powerdot}

\usepackage{listings}

\lstnewenvironment{code}{\lstset{escapeinside=`'}}{}

\pdsetup{method=file}

\begin{document}

\begin{slide}{Slide}
\begin{code}
\textbf{here}`\pause' is an `\pause'\textit{overlay}
\end{code}
\end{slide}
\end{document}

Other related posts: