Document Classesproblems with \begin{frame} in beamer

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
man2011
Posts: 43
Joined: Tue Jan 11, 2011 4:19 am

problems with \begin{frame} in beamer

Post by man2011 »

Dear All,
I am using breamer to create a presentation, I need to draw matrix by using avm package.. the problem that i have is that I cannot draw the matriz between
\begin{frame} and \end{frame}

this is the sampele

Code: Select all

\documentclass{beamer}
\usetheme{Warsaw}
\useinnertheme{rounded}

\usepackage{lingmacros}
\usepackage{avm}
\avmfont{\sc}
\avmoptions{sorted,active}
\avmvalfont{\rm}
\avmsortfont{\scriptsize\it}

\title{XXX}

\author{XXX}


\institute{\includegraphics[width=0.20\textwidth]{essexlogo} \\ Department of Language and Linguistics}

\date{19/05/2011}

\begin{document}
\def\newblock{\hskip .11em plus .33em minus .07em}

\begin{frame}
\titlepage
\end{frame}

\begin{frame}[c]{Outline}
  \tableofcontents
\end{frame}


\begin{frame}
\begin{avm}
$i$[{}   focus  &  [{} interrog & [{} Qs & x]] \\
     back-inf  &  \{[{}`charlie']\\[{} `eat']\}] 
\end{avm} 
\end{frame}

\bibliography{info}
\end{document}

the problem I got is

Code: Select all

This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)
 restricted \write18 enabled.
entering extended mode
(./test1.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, farsi, finnish, french,
 galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic
, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panja
bi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, lati
n, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portu
guese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedis
h, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.
(/Users/xxxx/Library/texmf/tex/latex/avm/beamer.cls
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasercs.sty)
Document Class: beamer 2010/06/21 development version 3.10 A class for typesett
ing presentations (rcs-revision a6b1a8434d30)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasemodes.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasedecode.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbaseoptions.sty
(/Users/xxxxx/Library/texmf/tex/latex/graphics/keyval.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ifpdf.sty

Package ifpdf Warning: Someone has redefined \pdfoutput.

) (/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2010/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/size11.clo)
(/Users/xxx/Library/texmf/tex/latex/pgf/basiclayer/pgfcore.sty
(/Users/x/Library/texmf/tex/latex/graphics/graphicx.sty
(/Users/x/Library/texmf/tex/latex/graphics/graphics.sty
(/Users/x/Library/texmf/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2010/texmf-dist/tex/xelatex/xetex-def/xetex.def)))
(/Users/x/Library/texmf/tex/latex/pgf/systemlayer/pgfsys.sty
(/Users/x/Library/texmf/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.te
x)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
(/usr/local/texlive/2010/texmf-dist/tex/latex/ms/everyshi.sty))
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex))

(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.c
ode.tex))
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-xetex.de
f
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-p
df.def)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-p
df-via-dvi.def)))
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.
code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.
code.tex)) (/Users/x/Library/texmf/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/color.cfg))
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.
tex
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic
.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigo
nometric.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.rando
m.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.compa
rison.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.
code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round
.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.
code.tex)))
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)
)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.co
de.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconst
ruct.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage
.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.co
de.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicst
ate.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransform
ations.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.cod
e.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.c
ode.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathproce
ssing.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.co
de.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.cod
e.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.cod
e.tex
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.
code.tex))
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.co
de.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretranspare
ncy.code.tex)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.
code.tex)))
(/Users/x/Library/texmf/tex/latex/pgf/utilities/xxcolor.sty)
(/Users/x/Library/texmf/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/hycolor.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty))
(/Users/x/Library/texmf/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/infwarerr.sty))
(/usr/local/texlive/2010/texmf-dist/tex/xelatex/xetexconfig/hyperref.cfg)
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty))
Implicit mode OFF; no redefinition of LaTeX internals
(/usr/local/texlive/2010/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/bitset.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/intcalc.sty)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/bigintcalc.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/atbegshi.sty)
Hyperref stopped early
)
*hyperref using default driver hdvipdfm*
(/Users/x/Library/texmf/tex/latex/hyperref/hdvipdfm.def)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbaserequires.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasecompatibility.st
y) (/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasefont.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsfonts/amsfonts.sty)))
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasetranslator.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/translator/translator.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/translator/translator-lang
uage-mappings.tex)))
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasemisc.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasetitle.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasesection.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbaseframe.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.
sty) (/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasecolor.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasenotes.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasetoc.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasetemplates.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty)))
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.s
ty (/usr/local/texlive/2010/texmf-dist/tex/latex/tools/enumerate.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty
(/Users/x/Library/texmf/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/Users/x/Library/texmf/tex/latex/amsmath/amstext.sty
(/Users/x/Library/texmf/tex/latex/amsmath/amsgen.sty))
(/Users/x/Library/texmf/tex/latex/amsmath/amsbsy.sty)
(/Users/x/Library/texmf/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/amscls/amsthm.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbasethemes.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/themes/theme/beamerthemede
fault.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/themes/font/beamerfontthem
edefault.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/themes/color/beamercolorth
emedefault.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/themes/inner/beamerinnerth
emedefault.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/themes/outer/beamerouterth
emedefault.sty)))
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/themes/theme/beamerthemeWa
rsaw.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/themes/inner/beamerinnerth
emerounded.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/themes/outer/beamerouterth
emeshadow.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/themes/outer/beamerouterth
emesplit.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/themes/color/beamercolorth
emeorchid.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/themes/color/beamercolorth
emewhale.sty))
(/Users/x/Library/texmf/tex/latex/lingmacros/lingmacros.sty)
(/Users/x/Library/texmf/tex/latex/avm/avm.sty) (./test1.aux)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
ABD: EveryShipout initializing macros
(/Users/x/Library/texmf/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/refcount.sty))
(./test1.out) (./test1.out)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-basic-dictionary/translator-basic-dictionary-English.dict)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-bibliography-dictionary/translator-bibliography-dictionary-English.dict)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-environment-dictionary/translator-environment-dictionary-English.dict)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-months-dictionary/translator-months-dictionary-English.dict)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-numbers-dictionary/translator-numbers-dictionary-English.dict)
(/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-theorem-dictionary/translator-theorem-dictionary-English.dict) (./test1.nav)

LaTeX Font Warning: Font shape `OT1/cmss/m/sc' in size <6> not available
(Font)              Font shape `OT1/cmr/m/sc' tried instead on input line 21.


LaTeX Font Warning: Font shape `OT1/cmss/m/sc' in size <10.95> not available
(Font)              Font shape `OT1/cmr/m/sc' tried instead on input line 26.

(/usr/local/texlive/2010/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsfonts/umsb.fd)
<use  "essexlogo.jpg" >

LaTeX Font Warning: Font shape `OT1/cmss/m/sc' in size <9> not available
(Font)              Font shape `OT1/cmr/m/sc' tried instead on input line 26.


LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available
(Font)              size <5> substituted on input line 26.

[1] (./test1.toc) [2]
! Misplaced alignment tab character &.
\beamer@doifinframe ...\begin {avm} $i$[{} focus &
                                                   [{} interrog & [{} Qs & x...
l.38 \end{frame}
                
? 
Last edited by man2011 on Mon May 16, 2011 8:04 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

problems with \begin{frame} in beamer

Post by Stefan Kottwitz »

Hi,

the avm environment in a frame works if you set the fragile option:

Code: Select all

\begin{frame}[fragile]
\begin{avm}
$i$[{}   focus  &  [{} interrog & [{} Qs & x]] \\
     back-inf  &  \{[{}`charlie']\\[{} `eat']\}] 
\end{avm} 
\end{frame}
Stefan
LaTeX.org admin
man2011
Posts: 43
Joined: Tue Jan 11, 2011 4:19 am

problems with \begin{frame} in beamer

Post by man2011 »

thank you Stefan

it is working now.. sorry what does fragile do here?

Also I am unable to use tikzpicture and \alpha command I thought may what you suggest with using fragile will work with these..

sorry this is the firt time I work with beamer :D

Code: Select all

\documentclass{beamer}
\usetheme{Warsaw}
\useinnertheme{rounded}

\usepackage{lingmacros}
\usepackage{avm}
\avmfont{\sc}
\avmoptions{sorted,active}
\avmvalfont{\rm}
\avmsortfont{\scriptsize\it}
\usepackage{tikz}
\tikzstyle{every picture}+=[remember picture]
\usetikzlibrary{shapes,arrows}
\tikzstyle{decision} = [diamond, draw, text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt]
\tikzstyle{block} = [rectangle, draw, text width=5em, text centered, rounded corners, minimum height=4em]
\usetikzlibrary{positioning}
\title{xxx}

\author{xxxx}


\institute{xxx}

\date{19/05/2011}

\begin{document}
\def\newblock{\hskip .11em plus .33em minus .07em}

\begin{frame}
\titlepage
\end{frame}

\begin{frame}[c]{Outline}
  \tableofcontents
\end{frame}


\begin{frame}[fragile]
 \begin{tikzpicture}
\node {IP}
child {node {\shortstack {(\uparrow  \textsc{subj})=\downarrow   \\ NP}}
child {node {Hind}}}
child {node {\shortstack {\uparrow=\downarrow   \\ I$'$}}
child {node {\shortstack {\uparrow=\downarrow   \\ I}}
child {node {{\textraiseglotstop}i\u{s}tar-at}}}
child {node {\shortstack {\uparrow=\downarrow   \\ S}}
child {node {\shortstack {\uparrow=\downarrow   \\ VP}}
child {node {\shortstack {(\uparrow  \textsc{obj})=\downarrow   \\ NP}}
child {node {qalam}}}}
}};
\end{tikzpicture} 
\end{frame}

\begin{frame}[shrink]{ddd}
\justifying 

\begin{block}{Sharing Rule (ddd)}
Let \{$\beta$_{1}, $\beta$$_{2}$, $\dots$ , $\beta$$_{n}$\} be terms in a co\"ordination,[C], such that each $\beta$$_{x}$ is in a parallel position of a different conjunct of [C] ; and let $\alpha$ be a term outside [C]. For any syntactic relation, $\Re$ :  $\Re$ holds of ($\alpha$ \{$\beta$$_{1}$, $\beta$$_{2}$, $\dots$ , $\beta$$_{n}$\}) iff holds of \{($\alpha$ ,$\beta$$_{1}$), (\alpha ,$\beta$$_{2}$), \dots ,($\alpha$ ,$\beta$$_{n}$). 
\end{block}
\pause
\begin{block}{Coordinate Structure Constraint (dd)}
In a coordinate structure, no conjunct may be moved, not may any element contained in a conjunct be moved out of that conjunct. 
\end{block}
\end{frame}

\bibliography{info}
\end{document}
the error I got is

Code: Select all

LaTeX Font Warning: Font shape `OT1/cmss/m/sc' in size <6> not available
(Font)              Font shape `OT1/cmr/m/sc' tried instead on input line 26.


LaTeX Font Warning: Font shape `OT1/cmss/m/sc' in size <10.95> not available
(Font)              Font shape `OT1/cmr/m/sc' tried instead on input line 31.

(/usr/local/texlive/2010/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsfonts/umsb.fd)
<use  "essexlogo.jpg" >

LaTeX Font Warning: Font shape `OT1/cmss/m/sc' in size <9> not available
(Font)              Font shape `OT1/cmr/m/sc' tried instead on input line 31.


LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available
(Font)              size <5> substituted on input line 31.

[1] (./test1.toc) [2] (./test1.vrb
! Missing $ inserted.
<inserted text> 
                $
l.12 }};
        
? 
User avatar
Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Re: problems with \begin{frame} in beamer

Post by Stefan Kottwitz »

The [fragile] option fixes problems caused by special text such as verbatim text and text redefining active characters, such as &. This works here for avm environments.

Regarding the new error, use math mode for math symbols, i.e. write $\uparrow$ and $\downarrow$.

Stefan
LaTeX.org admin
man2011
Posts: 43
Joined: Tue Jan 11, 2011 4:19 am

Re: problems with \begin{frame} in beamer

Post by man2011 »

Thanks Stefan


thank alot
Post Reply