55

In short, \only<>{} does not render the braced material at all except on the named slides, while \onslide<> renders the material until the next \onslide, sort of like an \item, but, on the off slides, covers it (according to the preference given in \setbeamercovered; i.e. transparent or invisible). There are other alternatives, for example, \...


50

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 ...


48

The simplest way is to use the onimage package from the From Answers to Packages project, which implements the answer given in Drawing on an image with TikZ. To use the package: Download the file onimage.dtx from bazaar.launchpad.net/~tex-sx/tex-sx/development/files, run pdflatex on it, and move the resulting .sty file to your working directory. Then you ...


37

Since you have an untagged environment, you can use \documentclass{beamer} \begin{document} \begin{frame} \begin{align*} \onslide<1->{a &= b \\} \onslide<2->{b &= c \\} \onslide<3>{\Rightarrow \quad a &= c} \end{align*} \end{frame} \end{document} For a tagged environment additional work has to be done, as ...


36

Just to add another useful package that does it: \usepackage[showframe]{geometry} (as many people load geometry anyways, it is a nice gadget)


36

\begin{minipage}[t][10cm][t]{\textwidth} will make a top aligned minipage that is 10cm tall.


34

Use \layout form the layout package. This produces: and prints the layout details on the bottom: \documentclass{article} \usepackage{layout} \begin{document}\layout \end{document}


33

beamer provides \pause that provides this functionality. You can add that anywhere in the slide and it will "pause" the output there, produce an additional slide for post-pause display. Additionally, many commands typical to LaTeX have been modified in beamer to provide a so-called overlay specification. As an example, the following list show each item only ...


28

It's a sync problem; if you add \thebeamerpauses in some places (to get the value of the beamerpauses counter), you can see what's going on: \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{default} \begin{document} \begin{frame} \begin{itemize}[<+->] \item A\thebeamerpauses \item B\thebeamerpauses \item C\thebeamerpauses \end{itemize}\...


27

If you just want the boundaries overlaid on the actual pages, independently of other packages, \usepackage{showframe}


26

\rlap and \llap can be used to print a symbol without a width. Similar, the mathtools package provides commands \mathrlap, \mathclap, \mathllap. These commands offer a quick way for overlapping symbols. Example, overlapping \vee, \wedge and Q like desired in your question: \documentclass{article} \usepackage{mathtools} \begin{document} $\mathrlap{\vee}\...


26

Simply write \pause before the itemize environment. This will achieve the effect you want.


25

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<...


24

As you already mentioned, enumitem "disturbs" beamer. This is because the document class (beamer in this case) defines (or redefines) all the necessary commands/macros and environments to it's liking. Then, each loaded package does the same sequentially. As such, since enumitem follows the document class, it redefines the itemize (and other) environments, ...


22

Here's a possible way to reference overlays by name: \makeatletter \DeclareRobustCommand*{\savepause}[1]{\only<1>{\immediate\write\@auxout{\string\pauseentry{\the\c@framenumber}{#1}{\the\c@beamerpauses}}}} \newcommand*{\usepause}[1]{\@ifundefined{pauses@\the\c@framenumber @#1}{1}{\@nameuse{pauses@\the\c@framenumber @#1}}} \newcommand*{\pauseentry}[3]{\...


21

You may be looking for the internal counter \beamer@slideinframe as defined in beamerbasedecode.sty: It is the value beamer consults when encountering something like \only<1,3-5>{...} to check whether to display or to hide the content. A small demonstration on how to access this value: \documentclass{beamer} \makeatletter \newcommand*{\...


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

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 ...


20

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-] ...


19

You can use the \only notation and the ulem package for strike through. The code would look like this: \documentclass{beamer} \usepackage{ulem} \begin{document} \begin{frame} \begin{itemize} \item\only<1>{World peace}\only<2->{\sout{World peace}} \item<2-> Peace in our neighbourhood \end{itemize} \end{frame} \end{...


19

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 ...


19

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 ...


18

I can provide you a very basic solution: it is not perfect, but actually does what you wonder. Initially I defined two tikzstyles to characterize whether the block is alerted or not: \tikzset{visib/.style={rectangle,color=blue,fill=blue!10,text=black,draw,text opacity=0.4, text width=#1,align=flush center}} \tikzset{invisib/.style={rectangle,color=gray,...


18

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.


17

Using atbegshi guarantees that the text block will not be modified in any way, as it acts by "overlaying", so to speak. \documentclass[a4paper]{article} \usepackage{atbegshi,picture} \usepackage{lipsum} \AtBeginShipout{\AtBeginShipoutUpperLeft{% \put(\dimexpr\paperwidth-1cm\relax,-1.5cm){\makebox[0pt][r]{\framebox{Copyright DTV}}}% }} \begin{document} \...


17

The second \Alt command in Martin Scharrer's answer is excellent; however, it can cause problems when used with Beamer's incremental overlay specifications (e.g., <+>). This is because Martin's implementation invokes the underlying \alt command using \mathpalette. \mathpalette internally uses \mathchoice, which actually typesets the contents given for ...


17

You can put \pause before the \begin{itemize} line.


17

Three ways (depending on how you want them to appear, there might be other possibilities): \documentclass{beamer} \begin{document} \begin{frame} \onslide<+->{\begin{block}{block 1} block 1 \end{block}} \onslide<+->{\begin{block}{block 2} block 2 \end{block}} \onslide<+->{\begin{block}{block 3} block 3 \end{block}} \end{frame} \...


17

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 & ...


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