Package: latex-beamer
Version: 3.01-1
Severity: normal

textrm work in article, but do not work in beamer, mathrm work in beamer

$ cat textrm.tex
\documentclass{article}

\begin{document}

C$_\textrm{1}$

\end{document}
$ pdflatex textrm.tex > /dev/null
$ echo $?
0


$ cat textrm2.tex
\documentclass{beamer}

\begin{document}

\begin{frame}

C$_\textrm{1}$
\end{frame}

\end{document}
$ pdflatex textrm2.tex
[snip]
! Missing { inserted.
<to be read again>
                   \def
l.8 \end{frame}

?

$ cat textrm3.tex
\documentclass{beamer}
\begin{document}
\begin{frame}
C$_\mathrm{1}$
\end{frame}
\end{document}
$ pdflatex textrm3.tex > /dev/null; echo $?
0



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)

Versions of packages latex-beamer depends on:
ii  latex-xcolor                  2.00-1     Easy driver-independent TeX class 
ii  pgf                           0.65-1     TeX Portable Graphic Format
hi  tetex-extra                   2.0.2c-8   Additional library files of teTeX

latex-beamer recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to