{beamer} is a document class for creating presentations and slides. For general questions about presentations or slides, independent of the document class, use {presentations} tag instead.

learn more… | top users | synonyms

11
votes
2answers
10k views

How do I alternate graphics in LaTeX beamer

I'm trying to alternate graphics on a slide: \frame{ \frametitle{Verkette Liste Beispiel} \begin{figure} \includegraphics<1>[scale=0.7]{pics/List-0.pdf} ...
11
votes
2answers
355 views

A letter in the same space as another

I have, in different overlying slides in a Beamer presentation, the letter y, in equation mode, being changed by \alert{z}. To create the overly I am using \only<1>{} and \only<2>{}, so ...
11
votes
1answer
12k views

Where to place custom beamer themes

I've created a custom theme for beamer that I plan to use for multiple presentations. So while I currently have the .sty file (just one at this point, as I load an inner theme and color theme, then ...
10
votes
3answers
6k views

Two logos in opposite side on beamer

I am making a presentation in beamer. Because I am affiliated in two organisations, I want to have two logos, one on bottom left corner and the other one on the top right corner. How can I do that? ...
10
votes
3answers
9k views

columns/alignment with itemize

I'm trying to make alignment points in a list environment. The following code gives me an error, but it almost compiles to what I want, just missing the bullet points. I must be misunderstanding ...
9
votes
1answer
66 views

Randomly assign background colour for each frame

How can a randomly picketed background colour be chosen for each beamer frame? Note: This question is asked to round out the question Randomly assign color to background in the PDF whenever page is ...
8
votes
1answer
122 views

Numbering slides within a frame

In trying to answer this question, I encounter the following problem. Consider the example below. I have three slides in Frame 1 which I want to print consecutively on three pages in a handout, and ...
8
votes
1answer
555 views

“Dynamic” picture in beamer presentation

Is there a way in beamer to have some kind of dynamic picture that will change if the mouse is moved over it or if the button is clicked?
7
votes
1answer
2k views

Proofs in Beamer

I'm writing a presentation in Beamer, where I present proofs which are longer than one frame. How to make Beamer to break it automatically to another frame? If it is not possible how am I supposed to ...
7
votes
1answer
2k views

Create a list of beamer slides

How can I create a list of all beamer slides (by their frame-title) like the table of contents in a regular latex document? I just need it as a bird's eye view of my presentation, thus it must not be ...
7
votes
1answer
1k views

Beamer: how to make each frame appear in the PDF toc?

I would like to have a beamer presentation in which every frame appears in the PDF table of contents (i.e. has a bookmark). My specific presentation only has sections, so all of the frames can appear ...
6
votes
1answer
3k views

Using align in beamer with overlays

How can I get the align environment to play nicely with beamer overlays? As a simple example I would like \begin{align*} a = \frac{bc}{c} \end{align*} on the first overlay and then ...
5
votes
1answer
3k views

Modify Beamer's outer theme smoothbars [duplicate]

I am making a beamer presentation with XeTeX, in which I am using Ilmenau theme. This theme has by default smoothbars as an outer theme. My problem that in a section's subsection, there are a lot of ...
5
votes
1answer
388 views

Header and Footer in handout using pgfpages

I am trying to print out page number/total number of pages in the handout that I get from this code: This is my MWE: \documentclass[11 pt, handout,xcolor=pdftex,x11names,table]{beamer} ...
4
votes
1answer
128 views

Minimization of the time it takes to preview a large beamertex file

I have a very large beamer tex file which requires a long time to texify. I want to make very minor changes and want to visualize these changes quickly. Is there a way to texify only the changes ...
3
votes
1answer
286 views

Background images for code listings in beamer

I asked this question originally in attempt to get background images behind my code listings. Background images for code listings What I did not mention is that I am using the beamer package for ...
3
votes
1answer
2k views

What's the best tutorial for beamer, sweave and ggplot2 combined?

I'm looking for the best example presentation publicly available on the Internet that uses beamer, sweave and ggplot2 all at the same time. Ideally it would be the actual example .Rnw file, along with ...
26
votes
4answers
1k views

Why are Beamer subsubsections evil?

The Beamer manual claims, under "Guidelines for Creating Presentations": Do not use subsubsections, they are evil. Why? There's no further explanation. Is it simply because subsubsections are ...
18
votes
2answers
472 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, ...
18
votes
2answers
11k views

Beamer - undefined control sequence

I have been using beamer for some time now with TexnicCenter. Recently I updated operating system to Windows 7, TexnicCenter and also MikTeX (I try to run the code with both MikTex 2.8 and MikTeX ...
17
votes
1answer
595 views

How to write overlay-specification–aware macros that work w/o the beamer class

The LaTeX beamer class provides with \newcommand<> and \newenvironment<> an interface to define own commands that can deal with beamer's overlay specifications. Internally, commands ...
12
votes
3answers
2k views

Drop shadow for text in PGF/Beamer

I want to really put an emphasis on some central piece of text I'm using in a Beamer slide. I'm using tikz and overlay to put it, enlarged, on the center of the page, using the following code: ...
11
votes
1answer
3k views

Beamer \pause with TikZ

Is there a way to introduce parts of a tikzpicture with \pause or similar in Beamer without resorting to incrementally redrawing the tikzpicture over multiple frames? Intercalating TikZ draw commands ...
10
votes
2answers
344 views

Anchors badly positioned

I am trying to overlay some transparent boxes over a picture using TikZ within a Beamer frame. The code I use is the following: \documentclass{beamer} \usepackage[spanish]{babel} ...
10
votes
1answer
8k views

Changing font style using beamer

I want to change font style in my presentation. I prefere Liberation Serif font. This is TrueType font so use XeLaTeX program. I tried to set this font using \usepackage{fontspec} and ...
9
votes
2answers
161 views

Beamer: highlighting text with colored background through which surrounding text can be seen

On some slides I'd like to highlight some text by using a colored background, like so: I've exaggerated the width of the border around the text in this example to indicate the effect I want. I ...
9
votes
1answer
2k views

Spanning multiple beamer columns

How does one have something (say a figure) span multiple columns when using the beamer columns environment? Nathaniel Johnston's beamer poster template does this by nesting two columns environments, ...
9
votes
2answers
9k views

Fonts in beamer

I've searched these forums like crazy, and I can't find an answer. I'm trying to create a beamer presentation, and I simply can't set the math fonts to be the regular latex math fonts. I used ...
9
votes
1answer
4k views

Beamer-Button which opens a browser with an URL

is it possible to use a beamerbutton for presentations which would open a browser and a given URL?
8
votes
2answers
547 views

Reusing slides from Beamer presentations

I give a good number of talks and find that I can share some slides but not others based on audience, topic, etc. Powerpoint and Keynote make it pretty easy to pull slides from a deck into another ...
8
votes
3answers
1k views

Can I declare a different overlay specification in different beamer modes?

I have a beamer frame with about 150 slides on it. I want article and handout mode to only show frame 92. Reading section 8.6.2 of the beamer manual it seems like I should be able to do something ...
8
votes
5answers
1k views

How to get correct dimensions for a ggplot2 plot in beamer

I have a beamer presentation made with Sweave that I'm preparing and was wanting to place some ggplot2 graphs in but the aspect ratio does not seem to come out correct. This is what is in my Rnw ...
7
votes
1answer
552 views

How to create step by step annotated programming tutorial in LaTeX?

(question inspired by How to create a crossword puzzle in LaTeX? and provided solutions) How to make in most comfortable way in LaTeX (I use pdfLaTeX, but I am open for LuaTeX solutions) annotated, ...
7
votes
2answers
2k views

How can I add vertical space to a beamercolorbox to make it align with another one?

I'm doing beamer slides in the 16:9 aspect ratio, so I want to use a more horizontal flow than I was when I had 4:3 slides. For example, I'd like to place a theorem and its proof side-to-side rather ...
7
votes
1answer
2k views

How to define a new environment with a fancy box (tikz) around sample source-code (listings)?

This is what I want to do: \documentclass{beamer} \begin{document} \begin{frame}[fragile]{Frame 1} Some \structure{Python} code here: % I want to define a new "pythoncode" environment, so ...
7
votes
2answers
4k views

Using Beamer to step through an algorithm written in pseudocode.

I am trying to create a beamer presentation in which I would step through an algorithm, highlighting the current line in the algorithm on each slide. I know it is possible to do with the semiverbatim ...
7
votes
1answer
990 views

How do I add custom beamer actions that change an argument?

The beamer manual says: You can easily add your own actions: An action specification like ⟨action⟩@⟨slide numbers⟩ simply inserts an environment called ⟨action⟩env around the \item or ...
7
votes
3answers
12k views

How to Center a BeamerColorBox

The question is, how to horizontally center a beamercolorbox on the page? I put it in the center environment, but that doesn't work. \setbeamercolor{bgcolor}{fg=black,bg=blue} \begin{center} ...
6
votes
1answer
299 views

Drawing multiple iterations of cellular automatons inline, possibly with TikZ

I want to illustrate the iterations of a cellular automaton picture-by-picture in some slides. For those not familiar with the topic, imagine a two-dimensional grid of square cells where each square ...
6
votes
2answers
1k views

How to determine the height of a beamer block?

To keep content from jumping between slides in a beamer presentation, I would like to use an overlayarea environment. By trial and error, one can determine the appropriate amount of space to reserve. ...
6
votes
1answer
578 views

framed frame in beamer?

Below is an example of the layout I am trying to make for a beamer presentation: just a simple rounded black frame in which I could insert some contents (e.g. text or images). I have looked at ...
6
votes
2answers
4k views

Put variable text at a fixed location on every beamer slide.

Is there an option that I can use within \begin{frame}... \end{frame} so that the enclosed text always appears at same location on different beamer slides? Ideally, I want something like this: ...
6
votes
3answers
3k views

LaTeX beamer: Code listings in notes

How can I add a code listing to a beamer note slide? I tried the following which doesn't work: \note{{\tiny{This is a note \begin{lstlisting} foo bar \end{lstlisting}}} Any ...
6
votes
1answer
914 views

slidestop for a single slide in beamer

Is it possible to align text at the top of the slide for only a single slide? Alternatively is there a simple way to absolute align anything in a beamer slide.
5
votes
2answers
156 views

tikz: table with mathmode and drawing

I made the following table in LaTex with the following code: \documentclass{article} \begin{document} \begin{table}[ph] \protect\caption{Genotype-by-Environment Means} \centering{}% ...
5
votes
2answers
282 views

Text below equation with hf-tikz

I would like to put explanation below math after boxing the pieces with hf-tikz. The solution I could find is using \underbrace but it does not look good. I am looking for an underbrace-like alignment ...
5
votes
1answer
1k views

Minipage - space between two columns and aligning

Here is the deal. I want both of them starting from the very same line and perhaps increase the distance between them. I really cannot remember wheater s.th. chaged after adding ...
5
votes
1answer
553 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 ...
5
votes
2answers
349 views

uncover chemfig molecule (in beamer)

I teach chemistry and wish to demonstrate drawing and naming of chemical structures I use chemfig to draw my molecules and I can do that fine. However, in for example the molecule ...
5
votes
2answers
393 views

Change in the header for the handout

I am running into a weird problem. When I run my code in beamer mode, the logo that I use in each slide (in the right top corner) stays there and does not move. When I try to make handouts, the logo ...