Questions tagged [overlays]

{overlays} is a term used by the {beamer} document class to describe the layering of slides.

Filter by
Sorted by
Tagged with
63
votes
2answers
22k views

How to make beamer overlays with Tikz node

I have a diagram of 4 nodes in my beamer slide. \begin{figure}[h] \begin{centering} \begin{tikzpicture}[system/.style={draw,rectangle,rounded corners=3,minimum width=2cm,text width=1.8cm,text ...
67
votes
6answers
20k views

Avoiding jumping frames in beamer

Sometimes I want an element on a frame to change in steps. I do this by \only<2>{ ... } \only<3>{ ... } etc. But this causes the frame to jump due to different sizes of the ...
22
votes
2answers
6k views

Highlighting in Beamer using TikZ nodes

This question led to a new package: aobs-tikz Is it possible to alter the code in the following MWE to the effect that “ABCD” is visible on both slides but only on the second it has the red node as ...
40
votes
3answers
14k views

Trouble combining enumitem and beamer

I have trouble combining two things for a set of slides: Adjust item separation globally Use default overlays of lists locally (parameter [<+->]) I use enumitem for 1. but it seems to disturb ...
35
votes
3answers
13k views

Overlay symbol with another

Is it possible to overlay a symbol with another? I want to write an equal sign with a question mark overlayed (or the other way around). Note I don't want \stackrel{?}{=} I want the question mark ...
32
votes
1answer
7k views

Relative overlay specification in beamer?

Reading the following quote from the beamer manual, I was left a bit confused: When you write <.->, a similar thing as in <+-> happens except that the counter beamerpauses is not ...
31
votes
1answer
16k views

Simplest way to overlay a text + rectangle label an image?

For my figures thus far I've been using LaTeX's straightforward figure code, i.e.: \begin{figure} \centering \includegraphics[width=6.5in]{figure.png} \caption[Stuff here]{(A) More stuff ...
16
votes
1answer
1k views

reference overlay numbers with names

I have two-column slides where there is a tikz figure on the left, and itemization on the right. There is >10 overlays due to pauses in the itemization, and some pieces of the tikz picture are added/...
33
votes
3answers
12k views

Displaying page construction guides

Is there any way to overlay some lines and dimensions on the document so that one can see where the margins end and more easily examine the overall layout and ratios of elements on the page? See for ...
16
votes
1answer
2k views

Beamer overlays, tikz external and custom file name

This is a follow-up question from Use tikz external feature with beamer \only . Andrew's answer there is excellent, and does the job (almost) perfectly. The rough edge I have found was when I tried ...
19
votes
3answers
30k views

Beamer vs. TikZ: uncover nodes step-by-step

I'm trying to uncover a TikZ image piece-by-piece like so: \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{frame}{Linearity} \begin{center} \begin{...
22
votes
1answer
7k views

How can I distribute beamer overlayareas in handout mode across multiple frames?

I have a beamer frame with an overlayarea environment. Inside that environment are some bits marked \only<n> so that they appear on consecutive slides. \begin{frame} \begin{theorem} ...
6
votes
1answer
7k views

Beamer: problematic use of \visible and \only in combination with TikZ to draw a graph

I have a problem with my graph and my background environment to highlight the edges in the "last" of my slides. First I tried this: \begin{frame} \frametitle{Graphmodell Beispiel} \tikzstyle{vertex}...
13
votes
2answers
797 views

Successively reveal tree bottom up

I am trying build a tree bottom up in a beamer document, i.e. to draw it on screen starting from the most deeply embedded leaves. I've found a lot of Q&As and discussions on how to have trees ...
10
votes
1answer
653 views

“negative” font overlayed with a photo

I would like to write some text in latex, then replace the black of the letters by a transparent layer, and overlay on top of a PDF photo. I could do it by exporting to photoshop, but I would like a ...
5
votes
1answer
4k views

Beamer: vertically center picture inside overlayarea

Is there an easy way to vertically center a picture inside an overlayarea environment? Here is a MWE of a small animation: \documentclass{beamer} \begin{document} \begin{frame} \begin{columns} \...
30
votes
5answers
3k views

How can I make a perfect page grid that fits my page for measuring purposes in TikZ?

Question How can I get my grid lines to line up perfectly such that they correspond to the physical millimeters on the page. Situation I have a sheet of A4 paper. I want to draw grid lines on it ...
32
votes
1answer
18k views

Uncover lines of an align environment with beamer

Is there any way to uncover equation-lines of an align* environment line per line in a frame conveniently? somethink like \begin{align*}[<+->] a &= b \\ b &= c \\ \...
7
votes
3answers
896 views

Is it possible to use beamer's overlay specifications in other documentclasses?

I'm writing an article that involves a lot of diagrammatic calculus, that is, there is a big TikZ picture with nodes and lines and that picture gets modified slightly in each step of the calculation. ...
7
votes
3answers
603 views

How to arrange a large picture on the side on the current page?

I have a decorative picture that I want to display on the right side current page. The picture should fill the whole vertical length of the text body (maybe even 1cm larger). The picture is long and ...
8
votes
2answers
3k views

Get a includegraphic to stick in the same place for several beamer slides

I am working with a presentation where I want a sequence of slides with a figure that changes slightly for each slide. I want the figure to to stay in the same place for many slides and I want to ...
9
votes
1answer
5k views

Using beamer \visible command inside a table, without adding vertical space

When using the beamer \visible command inside a tabular environment, beamer adds an extra vertical space before the text. For example, in the following code, beamer adds an empty line before the word ...
33
votes
3answers
23k views

In a beamer slide highlight a region of an image with a rectangle overlay

I have a slide with a figure in it. I want to draw a rounded corner rectangle overtop part of a figure to highlight that section. Bonus points if you can draw two rounded rectangles as overlays ...
31
votes
5answers
22k views

Beamer alt command like visible instead of like only

The beamer command \alt<*overlay specification*>{foo}{bar} will insert foo if the current slide is within the given overlay specification, and bar otherwise. It's equivalent to \only<*...
29
votes
2answers
15k views

How do you superimpose two symbols over each other?

I want to superimpose two symbols, e.g. I want to superimpose \vee and \wedge and > and < symbols over each other (not above each other as in stackrel) and Q with a horizontal strike through ...
9
votes
1answer
3k views

Step-by-step revealing of tikz-tree using opacity trick and overlays in beamer

I am using the very elegant method from user Daniel described here to try and reveal my tikz-tree gradually. The brief idea is that the tree is always fully drawn to avoid "jumpy" nodes and make their ...
17
votes
1answer
2k views

Accessing the current overlay number in beamer

For some beamer related code in one of my packages I need to access the current overlay number. I mean the internal number used for things like \only<1>{..}. \only<1>{ Some internal ...
10
votes
2answers
14k views

Beamer overlay box around text - the correct way?

I have something that "works," but I'm wondering if there's a more elegant solution. I want to box some text after an itemize in beamer, so this is what I'm doing: \documentclass{beamer} \begin{...
23
votes
1answer
39k views

Tikz: overlay png or pdf image over another pdf figure

I am newbie in Tikz. I would like to place a png or pdf image on another pdf figure using Tikz overlay.Unfortunately i don't have any Tikz code for both the figures. I have looked at this answer ...
17
votes
2answers
10k views

Installing background and foreground page layers with TikZ

Several times I discovered the need to draw TikZ material behind and on top of the page text (How to draw text-anchored tikz line below text instead of above?, Test if a paragraph has a page break in ...
11
votes
1answer
1k views

Using tikz overlay / remember picture option with forest trees

I want to connect two forest trees with an arrow, in a similar way it is discussed here for plain tikz trees. However, it seems to be impossible to add options to the forest environment in a similar ...
9
votes
1answer
8k views

Beamer: highlighting aligned math with overlay

This question led to a new package: hf-tikz Minimal working example: \documentclass{beamer} \usepackage{amsmath} \begin{document} \begin{frame} \begin{align} a_i + b_j = 10 & \forall i\...
9
votes
1answer
1k views

Repeat scaled version of slide, \savebox and \usebox in multi-slide frame?

I have a frame where I uncover a tikz-diagram in 12 slides. In the next frame, I want to repeat a scaled-down version of the full diagram (slide 12). I've tried to use a combination of \savebox, \...
6
votes
3answers
2k views

Is there a way to uncover arrows in an xymatrix?

Is there a way to uncover arrows in an xymatrix? Usually when I have problems with \uncover I use multiple frames, but I would like to be able to do this on a single frame. Here is a sample: I would ...
27
votes
2answers
2k views

Clever beamer animation? Writing a script that changes a tikz picture in beamer?

Here is a start of an answer to this "challenge": \documentstyle[beamer] \usepackage{tikz} \begin{document} \begin{frame} \tikzset{click/.style={draw}} \begin{tikzpicture}[start chain=going right, ...
31
votes
1answer
14k views

Differences and best practices: \onslide vs. \uncover, \onslide+ vs. \visible, \onslide* vs. \only?

Page 81 of the Beamer v3.20 user guide describes the behavior of the \onslide command. In particular, there are three forms when the optional text argument is given: \onslide⟨overlay specification⟩{⟨...
24
votes
2answers
59k views

Show a frame step by step

I have seen people showing one slide progressively by pressing Enter. Could anyone tell me how to realize that in Beamer?
14
votes
3answers
21k views

How can I add text in the top right corner of a page _without_ using fancyhdr

I want to put a block of text into the top right corner of my document (which uses the article class). The specifications of the document's formatting are very detailed, and it has taken me about 2 ...
7
votes
1answer
20k views

Beamer: uncover, overlay, pause not working

I am trying to do a Beamer presentation with some uncover features, but it turns out that uncover, overlay and pause are not working. Just the only command works. If I compile the following example, ...
14
votes
1answer
952 views

Create Two PDF versions of Classroom slides from Single LaTeX file: Teacher and Student

Is there a way to create a single document that will process a LaTeX file in two different ways (different preambles) and produce two different outputs. Specifically, I want to produce a set of ...
9
votes
2answers
673 views

Presenting a {forest} tree from bottom to top in beamer

I would like to present a tree with forestin beamer, but parts after parts, starting from the bottom, and then ascent to the top. So let's consider a simple tree like the following : \documentclass{...
12
votes
2answers
2k views

Footnotes disappear when using overlays in beamer

I use footnotes for citations in combination with the beamer package. I adapted the code from this question and everything works quice nicely - except when using overlays. Then the footnotes only show ...
9
votes
3answers
5k views

verbatim and overlays

I am trying to display a verbatim environment in an overlay. I have the following code but it is giving errors: \only<2->{ \begin{verbatim} Select T3.Subject From T as T1, T as T2, T as T3 ...
14
votes
1answer
1k views

Counters incremented too many times in a beamer presentation with overlays

It seems that a frame with overlays in Beamer needs to be processed multiple times. The problem is that a counter that should only be incremented once is incremented more than expected. How to avoid ...
11
votes
2answers
3k views

How to overlay tikz matrix in beamer?

Background: I encounter some unexpected situations while overlaying a tikz matrix in Beamer. The latex code is given at the end (note: you can also read and copy it at ShareLatex:TikzMatrixOverlay). ...
6
votes
1answer
519 views

How to modify Forest nodes in Beamer overlays?

I would like to change a property, say the color, of a forest node between overlays in beamer. It is proposed elsewhere to use PGF's keys for this in the general case. However, this approach doesn't ...
4
votes
1answer
2k views

Beamer keeping line position constant on itemize

I want to have a slide in beamer with itemize exposing new line on each click while at the bottom part of the slide there are some equations. This is my attempt \begin{frame} \begin{overprint}{\...
14
votes
1answer
6k views

How to handle only overlays while printing a latex beamer notes

Using overlays and showing multiple graphs in the same slides and even text is really great but I am really wondering how can we show each piece of overlay while printing the slides or notes ? It ...
17
votes
3answers
16k views

Overlay images and block in beamer

I found this slides on Internet with a very nice style. http://www.eecs.harvard.edu/~tov/pubs/alms/alms-popl2011-slides.pdf How can I overlay blocks and image as in this slides? Specially this ...
15
votes
2answers
10k views

How can I make textpos respect beamer overlays?

I'm using textpos to position text blocks in a beamer frame. However, the textblock environment does not seem to respect overlay commands. In the following example, I want "some more text" to be ...