I am using Beamer to make a presentation. I wish to make the text and its corresponding picture showing up simultaneously.  Currently, I am able to show the pictures in the frame together with the texts with the help of minipage, but they overlap and are always static there from the beginning to the end. Here is my MWE.  \documentclass{beamer}  \begin{document}  \begin{frame} \frametitle{Background}  \begin{minipage}[0.2\textheight]{\textwidth} \begin{columns}[T] \begin{column}{0.8\textwidth} \begin{itemize} \item 1\pause \begin{enumerate}     \item 1\pause     \item 2\pause \end{enumerate} \end{itemize} \end{column} \begin{column}{0.2\textwidth} \rule{50pt}{50pt}% pic corresponding to 1.1 \rule{50pt}{50pt}% pic corresponding to 1.2 \end{column} \end{columns} \end{minipage}   \end{frame} \end{document}​   The desired effect should be...   1 pops up 1.1 pops up together with pic1 1.2 pops up together with pic2   Pic1 can either disappear or remain there, when pic2 comes, as long as pic2 is visible.  How can I make it happen?
121174
I have a beamer slide where I have an image changing along with the text in the next column. For example:  \frame{\frametitle{testing cols} \begin{columns}[t] \column{5cm}  \begin{itemize} \item On the next column you see a pic\pause \item Pic is getting bigger! \pause \item And it got even more big!  \end{itemize}  \column[T]{10cm} \includegraphics&lt;1&gt;[width=20mm]{pic.png} \includegraphics&lt;2&gt;[width=30mm]{pic.png} \includegraphics&lt;3&gt;[width=40mm]{pic.png} \end{columns} }   I don't know if I'm doing it completely wrong, but I want the image to change to the corresponding one each time text in the corresponding column changes. How can I get this to work?    After some attempt,   \documentclass{beamer}  \begin{document}  \frame{\frametitle{testing cols} \begin{columns}[t] \column{5cm}  \begin{itemize} \item On the next column you see a pic\pause \item Pic is getting bigger! \pause \item And it got even more big!  \end{itemize}  \column[T]{10cm} \includegraphics[width=20mm]{pic.png}\pause \llap{\includegraphics[width=30mm]{pic.png}}\pause \llap{\includegraphics[width=40mm]{pic.png}} \end{columns} } end{document}   The image gets overlayed after the text cycle is complete. Can I make them simultaneous?
5586
I have two images that I would like to appear on the same page. Each figure should appear as a separate figure with its own caption.  My problem is that LaTeX sometimes places the figures on separate pages.  I currently have achieved this by putting two \psfragfig commands consecutively within the same figure environment. This seems a simple and succesful approach, but I wonder if I am not using the figure environment correctly by doing this. Should I use the subcaption package instead?
83912
I'm trying to use an image as a background for Beamer presentation according to  post.  However, I do not want the image spanning the entire background. Thus, I'm doing something like:  \usebackgroundtemplate{% \centering \hspace{4.5cm} \includegraphics[width=1.5in]{image.jpeg} }   The \hspace command works, but \vspace does not work. Basically, I'm trying to get the image to be at the center of the page. Any ideas on how this can be done?
31684
According to section 3.10 of the beamer manual, the t option top-aligns either every frame (when used as a class option) or a single frame (when used as optional argument of a frame environment). According to section 12.7, t can also be used to top-align the columns of a columns environment (a multi-column area within a frame). However, I didn't succeed to combine the two tasks, i.e. to top-align columns within a top-aligned frame. Did I miss something? How can the correct alignment be achieved?  Note: For columns, there's also a T option that (quoting section 12.7) should be tried "[i]f strange things seem to happen in conjunction with the t option". Adding T to the second column comes close to the desired result, but doesn't achieve it (the second column is positioned somewhat higher than the first column).  \documentclass{beamer}  \begin{document}  \begin{frame}[t]{Frame title}   \begin{columns}[t]     \begin{column}{0.5\textwidth}       \begin{itemize}       \item First column, first item       \item First column, second item       \end{itemize}     \end{column}     \begin{column}{0.5\textwidth}% Alternative A doesn't work %     \begin{column}[T]{0.5\textwidth}% Alternative B comes close       \begin{itemize}       \item Second column, first item       \end{itemize}     \end{column}   \end{columns} \end{frame}  \end{document}   EDIT: Thanks to Stefan for posting a workaround solution. I'm still interested in why such a workaround is necessary resp. why top-aligned columns work within centered frames by default. Is this a bug in beamer?
83666
In the Beamer class, is it possible to change the height of a page and frame? I'm producing a document for web display and would like it to be on a continuously scrolling format so I would like to have frames with height 4 times taller than the current default height. I tried something like the MWE below but I get "Missing \begin{document} error"...    \documentclass{beamer}   \usepackage[papersize={12cm,30cm}]{geometry}   \begin{document}    \begin{frame}{test}    \end{frame}{test}    \end{frame}   \end{document}
105878
I am creating a beamer that consist of frames using certain layout repeatedly.  To put it simple, let's say my beamer consists of 3 types of frames   A: only a giant word at the dead centre of the frame B: a big pictures with a big (inspirational) word under C: a quotation at left, and picture of that person at right   I wish to make some kind of template so that I can later use \begin{frame}[A] ... \end{frame} so that all the setting (font size, colour) are pre-set once and for all, just like MS powerpoint slide layout function.     Is it possible?
69845
My presentation consist of multiple sections. Some sections consist of subsection and some not. I want beamer to display the TOC before every subsection and before every section which consists of no other subsection.  Currently, i write in the preamble:  \AtBeginSection[] {     \begin{frame}&lt;beamer&gt;     \frametitle{Inhalt} %     \tableofcontents[currentsection]       \end{frame} }  \AtBeginSubsection[] {     \begin{frame}&lt;beamer&gt;     \frametitle{Inhalt} %     \tableofcontents[currentsubsection]       \end{frame} }   As a result, if a section consist of subsecitons beamer displays the TOC twice before the first subsection in a section, one time for the section and one time for the subsection. That is ugly in my opinion. What can i do?
15803
When I create beamer frame, the content is centred in the slide. How do I make the content move to the top of the slide by default?
102978
I'm doing a beamer presentation and for this I'm using a background image on each slide. To have a readable text I put it on a untitled block with background transparency (cf image).    My problem is the overlap between the block's header and the block's body : as you can see, together, the element's transparency is lower because this overlap.  I think I've two solution :   reduce the height of the block's header extend the space between header and body's block   But I don't know how to do this. Can someone explain me how to do this properly ? Or may be existing an other (and simpler) solution…  Thank you  Here is my code :  \documentclass{beamer}  \usepackage{beamerbasethemes} \usepackage{calc} \usepackage{ifthen} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[no-math]{fontspec} \usepackage{ragged2e} \usepackage{graphics} \usepackage[frenchb]{babel} \usepackage{nicefrac} \usepackage{xcolor} \usepackage{calc} \usepackage{tikz}  % link to the backgroundimage % image should be in the same directory as the other files \def\blackboard@backgroundimagefile{bg.jpg} \DeclareOptionBeamer{backgroundimagefile}{\def\blackboard@backgroundimagefile{#1}} \ProcessOptionsBeamer  \mode&lt;presentation&gt;  \pgfdeclareimage[interpolate=true, height=\the\paperheight, width=\the\paperwidth]{backgroundImage}{\blackboard@backgroundimagefile}  % stretch background image over the entire page \setbeamertemplate{background}{     \begin{tikzpicture}         \useasboundingbox (0,0) rectangle (\the\paperwidth, \the\paperheight);          \pgftext[at=\pgfpoint{0cm}{0cm}, left, base]{\pgfuseimage{backgroundImage}};      \end{tikzpicture} }  \setbeamertemplate{blocks}[rounded][shadow=false] \addtobeamertemplate{block begin}{\pgfsetfillopacity{0.75}}{\pgfsetfillopacity{1}}  \begin{document}      \begin{frame}{Projet}{Axe 1 : Petite enfance et découverte}         \begin{block}{}             \begin{itemize}                 \item A deux ans, 90\% de psychomotricité globale et 10\% de jeux et d'activités sur surface élastique                 \item A 3 ans, 80\% de psychomotricité globale et 20\% de jeux et d'activités sur surface élastique                 \item A 4 ans, 65\%  de psychomotricité globale et 35\% d'activités sur surface rebondissante                 \item A 5 ans, 50\% de psychomotricité globale et 50\% d'éducation aérienne.             \end{itemize}             \vfill             En introduisant ainsi les surfaces élastiques, cela nous permettrait également une détection précoce des talents et aptitudes des enfants, pouvant alors à les orienter vers des disciplines plus appropriées une fois l’âge venu.         \end{block}     \end{frame} \end{document}
81468
I'm writing a beamer presentation, and trying (unsuccessfully) to use \pause to step through a numbered array of equations, with the equations appearing in turn, and the corresponding numbers appearing at the correct time (i.e. when the equation first appears).   edit: I have partially solved the problem, using a variant on the \alt trick described , but with some vertical wiggling.  The solution ought to be a little more elegant than the one I've proposed below, given that the end user of the document (not me) is likely to need to make changes, and is not an advanced (La)TeX-user.  \documentclass{beamer} \begin{document}   \begin{frame}     \begin{gather}        1\alt&lt;2-&gt;{\\2\alt&lt;3&gt;{\\3}{}}{}     \end{gather}   \end{frame} \end{document}
91305
I am using Texmaker and MiKTeX on Windows 7. I have the following beamer code,  \documentclass{beamer} \theme{AnnArbor} \begin{document} \begin{frame} \begin{verbatim}     \begin{frame}[&lt;alignment&gt;]    \frametitle{Frame Title Goes Here}    Frame body text and/or LATEX code    \end{frame}  \end{verbatim} \end{frame} \end{document}   I was expecting the following output,         \begin{frame}[&lt;alignment&gt;]        \frametitle{Frame Title Goes Here}        Frame body text and/or LATEX code        \end{frame}   But instead I got the following Error Message,  File ended while scanning use of \@xverbatim.   Can any one please point out the error here. As far as I know verbatim can have anything inside it.  Also when I tried the following code,  \begin{verbatim}  \ begin{frame}[&lt;alignment&gt;]  \frametitle{Frame Title Goes Here}  Frame body text and/or LATEX code  \ end{frame} \end{verbatim}   I got the following output,      \ begin{frame}[&lt;alignment&gt;]      \frametitle{Frame Title Goes Here}      Frame body text and/or LATEX code     \ end{frame}   But I don't want space between \ and begin and \ and end.
107000
I have written a beamer presentation and I would like all the frames to have corresponding PDF bookmarks, much like as in this other question on here:  . However, it seems that the answer given to that question makes every slide get a bookmark, so frames with \pauses which have multiple corresponding slides get duplicate bookmarks.  (My understanding is that in beamer, a frame is the logical concept defined as everything between the \begin{frame} and \end{frame} and may be represented in the output as one or more slides.)   I include a minimum illustrative example, based on the previously referenced answer, which I compile with pdflatex (and my \beamer@version=3.20):  \documentclass{beamer}  \usepackage{bookmark} \usepackage{etoolbox}  \makeatletter \apptocmd{\beamer@@frametitle}{\bookmark[page=\the\c@page,level=3]{#1}}% {\message{** patching of \string\beamer@@frametitle succeeded **}}% {\message{** patching of \string\beamer@@frametitle failed **}}% \makeatother   \begin{document}  \begin{frame}{Title} Hello \pause world \end{frame} \end{document}   Result: a PDF with one frame but two slides, and two bookmarks, one for each slide. Wanted: a PDF with one frame but two slides, and one bookmark, one for each frame.  I am surprised that the example doesn't work, as I would have thought that \frametitle (or rather its \@dblarg helper \beamer@@frametitle) would get called once per frame instead of (as it appears given the result) once per slide. (Is there any implementation documentation for beamer that might help me with this, as so far I've failed to find it?)  Also, as my presentation is already written, I would like to avoid having to replace \begin{frame} with \begin{myframe} everywhere if possible (especially as some of my frames use the \frametitle{Title} syntax and others the \begin{frame}{Title} syntax of setting the frame title), and I'm aware that there will be a few difficulties in this approach.
81269
I'm using the Madrid theme but I would like tu use images instead of colored backgrounds for the frametitle and the footline. This is what I have so far    I want to do the same thing I did for the frametitle in the footline. I've tried many things, the only one that has worked is   \setbeamertemplate{footline}[textline]{ \includegraphics[width=\paperwidth]{image}}   but I can't fill the width of the page nor move the image, and the text is covered by the image. This is an example of what i just described  \documentclass{beamer} \mode&lt;presentation&gt;{   \usetheme{Madrid}   \setbeamercolor{frametitle}{fg=yellow}   \setbeamercolor*{palette primary}{use=structure,fg=red}   \setbeamercolor*{palette secondary}{use=structure,fg=red}   \setbeamercolor*{palette tertiary}{use=structure,fg=red}   \setbeamerfont{frametitle}{size=\huge} } \usepackage{textpos} \usepackage{graphicx} \usepackage{tikz} \usepackage[export]{adjustbox}  \setbeamertemplate{footline}[text line]{ \includegraphics[width=\paperwidth]{foot_image}}  \addtobeamertemplate{frametitle}{ \begin{textblock*}{\paperwidth}(-30pt,0pt) \includegraphics[width=1.1\paperwidth,height=1.3cm]{frametitle_image} \end{textblock*} }  \title[Title]{\textbf{{\huge Big Title}}} \author[email]{Author} \institute[]{Department\\University} \setbeamertemplate{navigation symbols}{}  \begin{document}  \begin{frame}{Frametitle} slide 2 \end{frame} \end{document}   Which produces
74411
I have a table with 7 columns and want to show the first 5 at once, and then  the 6th and 7th on consecutive slides.  This is the code I have for now:  \begin{frame}{Наслов}     \begin{itemize}         \item Ставка.     \end{itemize}         \begin{tabular}{ccccc&lt;{\onslide&lt;2-&gt;}c&lt;{\onslide}c}             $p_1$ &amp; $p_2$ &amp; $\ldots$ &amp; $p_{9}$ &amp; $p_{10}$ &amp; $W$  &amp; $D$\\             $1$   &amp; $1$   &amp; $\ldots$ &amp; $1$      &amp; $1$     &amp; $w_1$&amp; $d_1$\\             $1$   &amp; $1$   &amp; $\ldots$ &amp; $1$      &amp; $0$     &amp; $w_2$&amp; $d_2$\\             $1$   &amp; $1$   &amp; $\ldots$ &amp; $0$      &amp; $1$     &amp; $w_3$&amp; $d_3$\\             $1$   &amp; $1$   &amp; $\ldots$ &amp; $0$      &amp; $0$     &amp; $w_4$&amp; $d_4$\\             $\vdots$ &amp; $\vdots$ &amp; $\vdots$ &amp; $\vdots$ &amp; $\vdots$ &amp; $\vdots$ &amp; $\vdots$\\             $0$   &amp; $0$   &amp; $\ldots$ &amp; $0$      &amp; $1$     &amp; $w_{1023}$&amp; $d_{1023}$\\             $1$   &amp; $1$   &amp; $\ldots$ &amp; $0$      &amp; $0$     &amp; $w_{1024}$&amp; $d_{1024}$         \end{tabular} \end{frame}   This produces 2 slides: the first one with p1, p2, ..., p9, p10 and D columns, and the second with W added, while I want them to appear in the following order:   1st slide: p1, p2, ..., p9, p10  2nd slide: p1, p2, ..., p9, p10, W 3rd slide: p1, p2, ..., p9, p10, W, D   I looked in the manual and found this example:  \begin{frame}     \begin{tabular}{l!{\vrule}c&lt;{\onslide&lt;2-&gt;}c&lt;{\onslide&lt;3-&gt;}c&lt;{\onslide&lt;4-&gt;}c&lt;{\onslide}c}     Class &amp; A &amp; B &amp; C &amp; D \\     217     X &amp; 1 &amp; 2 &amp; 3 &amp; 4 \\     Y &amp; 3 &amp; 4 &amp; 5 &amp; 6 \\     Z &amp; 5 &amp; 6 &amp; 7 &amp; 8     \end{tabular} \end{frame}   which does what is supposed to. However, I don't seem to be able to apply its logic to my problem. :( Is anyone willing to help?   P.S. What are the meanings of &lt; and ! in columns specification?
47717
I want to:   Show an image full width On click, make a small sized image placed at a particular location starting from top left and show another image full width Repeat the process till all four images are shown End with a grid of four images vertically and horizontally centered   The problems I am facing is:   The location of the grid images changes as the third image (bottom-left) in the grid is displayed   Possible improvements I am looking at are:   When I go from full width image to the 'overview' slide, the transition should be like zooming the image to that location Better code than the one I have used?   Below is the MWE.  \documentclass[xcolor=dvipsnames,english,professionalfonts,smaller]{beamer}  \usetheme{Madrid}  \usepackage{graphicx} \usepackage{parskip} \usepackage{mwe} \graphicspath{{.}{./image}}  \begin{document}  \setlength{\parskip}{\bigskipamount}  \begin{frame}{Title Text}      \only &lt;+ | handout:0&gt; {\hfil \fbox{\includegraphics[width={\textwidth}]{example-image-16x9}}}     \only &lt;+ | handout:0&gt; {\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}} \hfill}     \only &lt;. | handout:0&gt; {\phantom{\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}}} \\ \vspace{.09in}}     \only &lt;. | handout:0&gt; {\phantom{\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}}} \hfill}     \only &lt;. | handout:0&gt; {\phantom{\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}}}}     \transduration&lt;.&gt;{.01}     \only &lt;+ | handout:0&gt; {\fbox{\includegraphics[width={\textwidth}]{example-image-16x9}}}     \only &lt;+ | handout:0&gt; {\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}} \hfill}     \only &lt;. | handout:0&gt; {\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}} \\ \vspace{.09in}}     \only &lt;. | handout:0&gt; {\phantom{\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}}} \hfill}     \only &lt;. | handout:0&gt; {\phantom{\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}}}}     \transduration&lt;.&gt;{.01}     \only &lt;+ | handout:0&gt; {\fbox{\includegraphics[width={\textwidth}]{example-image-16x9}}}     \only &lt;+ | handout:0&gt; {\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}} \hfill}     \only &lt;. | handout:0&gt; {\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}} \\ \vspace{.09in}}     \only &lt;. | handout:0&gt; {\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}} \hfill}     \only &lt;. | handout:0&gt; {\phantom{\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}}}}     \transduration&lt;.&gt;{.01}     \only &lt;+ | handout:0&gt; {\fbox{\includegraphics[width={\textwidth}]{example-image-16x9}}}     \only &lt;+ | handout:0&gt; {\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}} \hfill}     \only &lt;. | handout:0&gt; {\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}} \\ \vspace{.09in}}     \only &lt;. | handout:0&gt; {\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}} \hfill}     \only &lt;. | handout:0&gt; {\fbox{\includegraphics[width={.470\textwidth}]{example-image-16x9}}}  \end{frame}  \end{document}
19466
My question is closely related to , but slightly different, so that @samcarter's answer to that question doesn't help.   I want to combine the allowframebreaks option with the &lt;+-&gt; option but using the standard way to combine options doesn't achieve this.   Here's an MWE.  The first frame uses allowframebreaks in the standard way, producing two pages.   The second frame tries to combine the two options, implements the \pause command but ignores the allowframebreaks option.     Reversing the order of the two options generates an error.  \documentclass{beamer} \begin{document} \begin{frame}[allowframebreaks]{Title} This is a test  \pause This is a test  \newpage Page 2 \pause  This is a test  \pause  This is a test \end{frame} \begin{frame}[&lt;+-&gt;,allowframebreaks]{Title} This is a test  \pause This is a test  \newpage Page 2 \pause  This is a test  \pause  This is a test \end{frame} \end{document}
102003
I’m using a feature of beamer that shows notes beside slides, but the page numbers that are coming out are crazy, making it impossible to extract specific slides into other documents with \includegraphics[page=n]{presentation.pdf}.  For example, in this MWE, there are two frames that are each 1 slide, and then one frame that is four slides. The PDF page labels that show up in Acrobat are, as indicated, 2, 3, 3, 3, 3, and 7. It starts at page 2 instead of 1, and then there are four page 3s, but they don’t even all belong to the same frame!  \documentclass{beamer} \usepackage{pgfpages}  \setbeameroption{show notes on second screen=left} \setbeamertemplate{note page}{frame \insertframenumber \\ \insertnote} \def\pg#1{pgfpages says this is page #1 but it is really page \arabic{page}}  \begin{document}  \setcounter{page}{0}  \frame{hi \note{\pg{2}}}  \frame{there \note{\pg{3}}}  \frame{how \pause are \pause you \pause today \note&lt;1-3&gt;{\pg{3}} \note&lt;4&gt;{\pg{7}}}  \end{document}   Here’s what the output looks like:    I know that the manual says, “pgfpages will produce wrong page numbers in the .aux file” and gives a manual workaround. But the page counter still works, so shouldn’t there be some way to pass that through to the PDF? I’d like to fix this, but don’t know where to start. Specifically, when the manual says that “TeX instantiates the page numbers when writing an .aux file only when the physical page is shipped out,” what exactly is it talking about? Where is the source code for that?