|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Uncovering figuresHi everyone!
I am somehow newbie into the Beamer, so maybe the question is naive, but... I've tried to google quite hard, looked up previous posts and got through the Manual... Is there any environment for figures that would be overlay-specification aware? I just want to get the following: on the first overlay text + reserved place for a figure on the next overlay: text + visible figure. I've tried to work with commands like \onslide, \pause, etc. but none of the worked... Thanks for any help, Chris |
|
|
Re: Uncovering figuresDear Chris,
Welcome to beamer. I think you can get what you want like this: \begin{frame} Text goes here \uncover<2>{\includegraphics{figure} % figure goes here} \end{frame} You can put anything inside the uncover argument. But \pause in place of the \uncover<2>{...} should work the same way, too. Hope that helps! --Matthew Leingang On Jan 13, 2008, at 9:17 AM, kmalysiak wrote: > > Hi everyone! > > I am somehow newbie into the Beamer, so maybe the question is > naive, but... > I've tried to google quite hard, looked up previous posts and got > through > the Manual... > Is there any environment for figures that would be overlay- > specification > aware? > I just want to get the following: on the first overlay text + > reserved place > for a figure > on the next overlay: text + visible figure. > > I've tried to work with commands like \onslide, \pause, etc. but > none of the > worked... > > Thanks for any help, > Chris > -- > View this message in context: http://www.nabble.com/Uncovering- > figures-tp14785368p14785368.html > Sent from the latex-beamer-users mailing list archive at Nabble.com. > > > ---------------------------------------------------------------------- > --- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ > marketplace > _______________________________________________ > Latex-beamer-users mailing list > Latex-beamer-users@... > https://lists.sourceforge.net/lists/listinfo/latex-beamer-users -- Matthew Leingang Preceptor in Mathematics Harvard University http://www.math.harvard.edu/~leingang/vCard.vcf ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Latex-beamer-users mailing list Latex-beamer-users@... https://lists.sourceforge.net/lists/listinfo/latex-beamer-users |
|
|
Re: Uncovering figuresOn Sun, 13 Jan 2008 10:47:11 -0500
Matthew Leingang <leingang@...> wrote: > Dear Chris, > > Welcome to beamer. I think you can get what you want like this: > > \begin{frame} > Text goes here > > \uncover<2>{\includegraphics{figure} % figure goes here} > \end{frame} To my experience with: \setbeamercovered{transparent} uncover on figures does not work because uncovers working mechanisms seems to change text color. That *might* work on some (eps) images which are not setting color internally. But png/jpg will not "cover". If you want the transparency, You can use \only<1>{\includegraphics[]{...}} that will not reserve the space and you would have to improvise with sabe boxes. or you can set \setbeamercovered{invisible} just around the frame with the image. Then uncover works on all image types. HTH, K.-H. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Latex-beamer-users mailing list Latex-beamer-users@... https://lists.sourceforge.net/lists/listinfo/latex-beamer-users |
|
|
Re: Uncovering figuresOn Jan 13, 2008 3:17 PM, kmalysiak <kmalysiak@...> wrote:
> > Hi everyone! > > I am somehow newbie into the Beamer, so maybe the question is naive, but... > I've tried to google quite hard, looked up previous posts and got through > the Manual... > Is there any environment for figures that would be overlay-specification > aware? > I just want to get the following: on the first overlay text + reserved place > for a figure > on the next overlay: text + visible figure. > > I've tried to work with commands like \onslide, \pause, etc. but none of the > worked... > Matthew and Karl-Heinz have given you a few alternatives. I'll add one more: ------ \documentclass{beamer} \begin{document} \begin{frame} This is some text visible on all frames. \begin{figure} % Load figure on frame one but don't show it. Just reserve the space \phantom{\includegraphics<1>{testimg}} % From frame 2 show the figure \includegraphics<2->{testimg} \end{figure} Some more text. \end{frame} \end{document} ---- The above code will first load the figure inside a \phantom. This command creates an empty box with the same size as its content. Very useful when you want to reserve some space. From the next frame we can show the figure as normal. I'm not sure how smart the \includegraphics command. It may be that the image is loaded twice. If this is a problem there are workarounds. You can write the above pattern in a macro if you want: ------- \documentclass{beamer} \begin{document} % Include a graphics, reserve space for it but % show it on the next frame. % Parameters: % #1 Options to \includegraphics (optional) % #2 Name of graphic \newcommand{\reserveandshow}[2][]{% \phantom{\includegraphics<+>[#1]{#2}}% \includegraphics<+->[#1]{#2}% } \begin{frame} This is some text visible on all frames. \begin{figure} \reserveandshow[width=6cm]{testimg} \end{figure} Some more text. \end{frame} \end{document} -------- Hope this helps. - Kjell Magne Fauske ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Latex-beamer-users mailing list Latex-beamer-users@... https://lists.sourceforge.net/lists/listinfo/latex-beamer-users |
|
|
Re: Uncovering figuresDear all,
yet another alternative (which works also in conjunction with \setbeamercovered{transparent}): \onslide<1-2>{ Text shown on slides 1-2.\\ } \invisible<1>{ % The figure only shown on slide 2: \begin{figure} ... \end{figure} } This makes the figure invisible before slide 2, but reserves the space. It is important to use \uncover<1-2> and not \uncover<1->, because this would not produce a second slide. Hope that helps! - Eugen
|
| Free embeddable forum powered by Nabble | Forum Help |