\begin{frame}[fragile] %must have [fragile]
\begin{lstlisting}
Happy
\end{lstlisting}
\end{frame}
Reference:
1. Can’t insert code in my beamer slide
\begin{frame}[fragile] %must have [fragile]
\begin{lstlisting}
Happy
\end{lstlisting}
\end{frame}
0 意見:
張貼留言