Logo OS Reviews

Reviewing Freedom.

Start new topic

From: S.B.Phadke
Subject: use of verbatim in beamer :a funny problem
Posted on 2008-05-29 09:02

Reply to this

The following code does not work:
\begin{frame}[fragile]
\frametitle{}
\begin{verbatim}
\begin{frame}
abc
\end{frame}
\end{verbatim}
\end{frame}
Surprisingly if I introduce a space between \ and end{frame} inside the verbatim environment then the code works i.e the following code works:
\begin{frame}[fragile]
\frametitle{}
\begin{verbatim}
\begin{frame}
abc
\ end{frame}
\end{verbatim}
\end{frame}

From: Hendrik Weimer
Subject: Re: use of verbatim in beamer :a funny problem
Posted on 2008-06-02 18:07

Reply to this

S.B.Phadke writes:

The following code does not work:
\begin{frame}[fragile]
\frametitle{}
\begin{verbatim}
\begin{frame}
abc
\end{frame}
\end{verbatim}
\end{frame}

I can confirm this behavior with recent Debian packages. A possible workaround is to use Beamer's semiverbatim environment:

\begin{semiverbatim}
\\begin\{frame\}
abc
\\end\{frame\}
\end{semiverbatim}

From: Resmi
Subject: font distinguishing l and I
Posted on 2009-04-15 14:27

Reply to this

Is there a font which distinguishes between 1, l, I, 0, O (number one, small ell, capital I, number zero, letter O)?

  • Advertisement