58

Before looking at how . works, I think it's worth a brief look at how + works as in an overlay specification, and to link that to a 'plain' specification containing only explicit numbers. I'll take the offsets last, as they are more complex. For the simple case of just numbers \begin{itemize} \item<1-> From the first slide \item<2-> From ...


29

Two problems with your first attempt: overlay keyword. Probably you wrote it because you wanted to overlay two figures, but that's not the purpose of this keyword. Inside a single tikzpicture all what you draw is indeed overlayed, by the order in which you draw things. The keyword is used when you want a tikzpicture to be overlayed on the surrounding text ...


27

The simplest way would be to use the \only command instead of \uncover. You could also put the formulas into the same \align block, making the code more compact. And as noted in comments, if the element is to be shown on just a single slide, you can simply use \only<n> instead of \only<n-n>. \begin{align*} \only<1>{E=mc^1} \only<...


22

You can automatically add the overlay number to the file name using the code from Accessing the current overlay number in beamer. If you only want to do this for some pictures, then use like: \tikzsetnextfilename{figure-\overlaynumber} To add it to every picture you could make it part of the prefix: \tikzexternalize[prefix=picture-\overlaynumber-] ...


21

To increase the overlay counter manually (your title), use: \addtocounter{beamerpauses}{X} where X is the number of frames... or \stepcounter{beamerpauses} to increment the counter by 1 For example, you proceed like this: \begin{frame} \stepcounter{beamerpauses} \begin{itemize}[<+->] \item A \item B \end{itemize} \end{frame} Another possibility ...


21

Here's an example of using incremental overlay specifications with offsets. \documentclass{beamer} \begin{document} \begin{frame}[label=integral-of-x]{Example: Integral of $f(x) =x$} \begin{example}<+-> Find $\int_0^3 x\,dx$. \end{example} \begin{solution}<+-> \action<.->{For any $n$ we have $\alert<.(5)>{\Delta x = \frac{3}{n}}$ and ...


21

2nd attempt (Warning: TikZ 3.0 is required!) Additional filled requirements (see 1st attempt below for all other filled requirements): Allow for "decay" via special prev styles. Each named keyword (such as kw) must provide three styles: kw, special kw and special prev kw. The names of "program counter" (\pc) and its previous value (\pcprev) can be chosen ...


20

As Andrew Stacey pointed out beamer provides an own \newcommand<> that deals a little better with overlay specification. It is now possible to use \tikzMe{BCD}<+>. As the overlay-specification argument has the delimiters built-in, so changes need to be made to the beameralert style. I opted for two versions; these styles are equivalent: ...


20

As described by Lionel Mansuy in this duplicate of this question, the following also works: \begin{itemize}[<+(1)->] Note that all <+-> tokens on the same slide also need to be replaced by <+(1)-> for this to work properly.


20

Converting my comments above into an answer: In specifying overlay options, you can add the handout:<number> option. For example, \only<1-3| handout:1>{content-1} will print content-1 that appears in frames 1 to 3 as the first page of the handout; \only<4-5| handout:2>{content-2} prints content-2 which appears in frames 4 and 5 as the ...


20

Add \resetcounteronoverlays{Test} to your preamble \documentclass{beamer} \newcounter{Test} \resetcounteronoverlays{Test} \begin{document} \begin{frame} \begin{itemize} \item Should be 0: \theTest \stepcounter{Test}\pause \item Should be 1: \theTest \stepcounter{Test}\pause \item Should be 2: \theTest \stepcounter{Test}\pause \...


19

I know that this topic is old, but I've tried Roelof Spijker's solution and it has a small drawback. Ideed, the following code: \documentclass{beamer} \usepackage{ulem} \renewcommand<>{\sout}[1]{ \only#2{\beameroriginal{\sout}{#1}} \invisible#2{#1} } \begin{document} \begin{frame} \begin{itemize} \item \sout<2>{World Peace} \...


19

Perhaps the simpler solution in this case is to use \only: \documentclass{beamer} \begin{document} \begin{frame} \begin{table} \caption{Table} \begin{tabular}{l c c c c c c} \hline \hline No. & {Ordinary} & {Blue} & {Pink} & {Yellow} & {Green} & {RCM}\\ \hline \only<1>{ &\multicolumn{6}{c}{$\alpha$=0.05}\\ H=2 & ...


17

This is built into beamer: \documentclass{beamer} \begin{document} \begin{frame} \begin{itemize}[<only@+-+(4)>] \item one \item two \item three \item four \item five \item six \item seven \item eight \item nine \item ten \end{itemize} \end{frame} \end{document} ...


17

It works as expected if you use \only instead of \visible: \documentclass{beamer} \usepackage[overlay,absolute]{textpos} \setlength{\TPHorizModule}{1cm} \setlength{\TPVertModule}{1cm} \begin{document} \begin{frame} Some text \only<2->{ \begin{textblock}{5}(6,6) Some more text \end{textblock} } \end{frame} \...


17

As usual, these problems can be easily solved thanks to the style visible on defined by Daniel (see Mindmap tikzpicture in beamer (reveal step by step)). Moreover, it works without problems with custom environments. Demonstration: \documentclass{beamer} \usepackage{lmodern} \usepackage{tikz} \tikzset{ invisible/.style={opacity=0,text opacity=0}, ...


17

Another option is using the visible on style: \documentclass[10pt]{beamer} \usepackage{pgfplots} \tikzset{ invisible/.style={opacity=0}, visible on/.style={alt={#1{}{invisible}}}, alt/.code args={<#1>#2#3}{% \alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}} % \pgfkeysalso doesn't change the path }, } \begin{document} \...


17

\node (as well as all TikZ paths) is overlay-aware so you can use \node<overlay spec.> [options] {contents}; A complete example: \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \begin{center} \begin{tikzpicture} \node<1> (img1) {\includegraphics[width=.5\linewidth]{example-image-a}}; \node<2> (img2) {\...


16

Use the overlay specification <+(1)-> instead of <+->, to offset the + in the overlay specification by 1: \documentclass{beamer} \begin{document} \begin{frame}{Test} Some text displayed on all slides in the frame. \begin{itemize}[<+(1)->] \item First item, uncovered on second slide \item Second item, uncovered on third slide. ...


16

When you call a \color<overlay>[colorsys]{color} command that changes the color from then on (within the current group) as it takes as argument only the color specification and not the content that needs to be colored. What happens here is that the sub-itemizes are in their own color environment so they are not affected by your command; instead the ...


16

You need another set of braces: \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \begin{tikzpicture}[node distance=2cm] \node[align=center] (a) {test 1 \\ {\uncover<2>{test 12345}}}; %wrapped \uncover into {} \node[align=center,right of=a] (b) {test 2}; \path[->] (a) edge (b); ...


16

In Relative overlay specification in beamer? I covered how to use relative specifications, but there I stuck to the visible/invisible switch. What you want is the 'extended' syntax which also allows things like altering on some slides or (here) applying \only-like effects: \documentclass{beamer} \begin{document} \begin{frame} \begin{itemize} \...


16

Sure you can do it. \hypertarget is overlay aware, so you can say something like \hypertarget<4>{label}{\beamerbutton{I'm on the fourth slide}} to place the target just on the fourth slide of a frame and then elsewhere use \hyperlink{label}{\beamerbutton{I jump to fourth slide of next frame}} to activate a button that will take you to the fourth ...


15

For fans of tikzstyles, here are a bunch of styles that might help in made visible elements as draw, fill and shade upon providing overlay specifications. The code: \documentclass{beamer} \usepackage{lmodern} \usepackage{tikz} \usetikzlibrary{shapes.geometric} \tikzset{ invisible/.style={opacity=0,text opacity=0}, visible on/.style={alt=#1{}{...


15

Note that the line widths may not look even in the posted PNGS. This is an artefact of a small screen/PDF viewer combination and has nothing to do with the actual PDF. It just affects my PNG clippings. I think this solution satisfies the various desiderata: Can be adapted to other paper sizes by adjusting the definitions of the \steps. The north-west ...


15

I would use my favourite \mathcenterto{#1}{#2} construct which allows you to center #1 over #2. One additional \mathclap makes the right-side slash centered and the left-side one adjacent to it. \documentclass{article} \pagestyle{empty} \usepackage{mathtools} \newcommand*\mathcenterto[2]{\mathclap{\phantom{#2}\mathclap{#1}}{#2}} \newcommand*\rpbeta{\...


14

Yes, you can use [<alert@+>] for the inner itemize and something of the form \alert<m-n> for the \items of the outer itemize: \documentclass{beamer} \begin{document} \begin{frame} \begin{itemize} \item\alert<1-3>{Parent 1} \begin{itemize}[<alert@+>] \item1.1 \item1.2 \item1.3 \end{itemize} \item\alert<4-5>{Parent 2} \begin{...


14

Here is a brief description of the different commands you tried to use: Only This is used either \only<x>{}, \only<x-z>{} or \only<x,y>{} and will output what is between {} only on the slide(s) (resp.) x, x to z or x and y. It does not allocate some sort of space for what is between the {} on the other slide so that \begin{frame}{only} ...


14

In this case I would recommend using the onlyenv environment, which is the same as \only. Moreover, use the [t] option to top align the contents to prevent "wobbling". Code \documentclass{beamer} \usetheme{Madrid} \usepackage{mwe} % provides images used in this example \begin{document} \begin{frame}[t] \frametitle{Outils} \begin{block}<1->{Méthode ...


14

I like using tikz too, but in this particular case it may not be necessary :) % arara: pdflatex % !arara: indent: {overwrite: on} \documentclass{beamer} \begin{document} \begin{frame} \begin{center} \includegraphics<1>[width=.5\linewidth]{example-image-a} \includegraphics<2>[width=.5\linewidth]{example-image-b} \...


Only top voted, non community-wiki answers of a minimum length are eligible