I have a single figure*
graphic in a separate file (let's just call this x.tex
). This file is shared across several latex documents and is inserted with input
for each document.
Unfortunately, when I try to insert this in a Beamer slide document with \input{x}
, Beamer chokes and says Environment figure* undefined
.
I've tried fooling around with newenvironment
but I don't know enough about it to create a new definition for figure*
.
What's the simplest way to insert this file in a Beamer document without having to modify the file being inserted?
Best Answer
Since
beamer
doesn't define afigure*
environment, you should be able to create one yourself:This simply says to create an environment
figure*
which is identical to thefigure
environment.