Hot answers tagged

6

You can do this using TikZ to control the opacity. For example, \documentclass{beamer} \usepackage{tikz} \begin{document} \newcount\opaqueness \begin{frame} \animate<2-100> \animatevalue<1-100>{\opaqueness}{0}{100} \begin{colormixin}{\the\opaqueness!averagebackgroundcolor} \begin{center} \begin{tikzpicture} \node ...


5

You can't use an enumitem-like interface. You need to set the beamer theme for itemizeed items: \documentclass{beamer} \usetheme{warsaw} \usepackage{pifont} \setbeamertemplate{itemize item}{\ding{118}} \begin{document} \begin{frame}{Frame title} \begin{itemize} \item first item. \item second item. \end{itemize} \end{frame} ...


5

You can use font={\usebeamercolor[fg]{block title}}. The reason for using font here is that \usebeamercolor as I understand it essentially inserts a \color{<color name>}, so you cannot use it as a colour name directly. \documentclass{beamer} \usepackage{tikz} \begin{document} \frame{ \begin{tikzpicture} \draw (0, 5) node (n1) ...


4

You can not have blank lines in equation delete the three blank lines and the error will go.


4

This avoids nesting tikzpictures and uses \setbeamertemplate correctly. It also provides the basis for the desired design. Tweaks and enhancements are left as an exercise for the reader. Note, in particular, that variable width lines are really not TikZ's cup of tea. If these are considered essential, consider an alternative approach. (There are a couple of ...


3

like this? \documentclass{beamer} \usepackage{booktabs} \usepackage{colortbl} \begin{document} \begin{frame} \frametitle{Example} \begin{table} \centering \begin{tabular}{c c c} \toprule H1 & H2 & H3\\ \midrule 1 & \only<2>{\cellcolor{blue!50}}? & 3 \\ 2 & 4 & ?\\ \bottomrule \end{tabular} \end{table} \end{frame} ...


3

I think what I would do is abandon the grammar environment. Aside from requiring fragile and consuming the <> syntax, it also redefines \alt. This is essentially death to overlays in Beamer. Everything uses \alt so the fact that this is redefined to output a vertical bar and a bit of space is fatal. The grammar environment also looks rather odd in a ...


3

As Stefan Braun already pointed out in his answer: your problem is, that you are mixing \only{} and \onslide{}. Some of your commands reserve room, some do not which leads to pages of of different length. This leads to jumping text as the default alignment is centred. But instead of fixing this, you can simply top align the frame with \begin{frame}[t], like ...


3

\only and \onslide are two different commands: \onslide hides the content until the condition is satisfied, \only does not render it. The "jumps" are caused by the \only commands in the last align* environment. However, you should not use \onslide in equations - this leads to horrible results. I would suggest to split the frame at this point, or to bear ...


2

Apparently, the problem arises because of the glossary entry \gls{DPPM} on the second arrow: During the first (invisible) invocation on the arrow, \gls{DPPM} gets rendered as the long Bis"-(di"-phenyl"-phos"-phino)"-methan (DPPM) as defined in the glossary file. This causes a line break and a larger height of the (invisible) bounding box in the first frame, ...


2

There are a few problems here: You have a opening { after \mode<presentation> but no closing brace, so I deleted that. beamer doesn't define a starred table environment. And it doesn't really make sense for it to do so either, columns in beamer are more like two minipages next to each other, text doesn't flow from one column to the other, as in e.g. ...


2

This functionality should appear in textpos v1.8. That's not yet released, because I haven't yet had the time to tidy up the docs, but until it is released and included in distributions, you can have a try with v1.8b1. Any problems, do shout.


2

Instead of textpos, the TikZ-way of absolute positioning could be used via the convenience command \placetextbox as defined in the example below. It is straightforward to be used; the z-level of the typeset material is determined by the order of its usage. \documentclass{beamer} \usepackage{mwe} % example images \usepackage{lipsum} % example text ...


2

The solution is to replace \vfill with \vfil \defbeamertemplate*{frametitle}{}[1][] { \vskip0.1cm% \begin{beamercolorbox}[wd=12cm, leftskip = 0.005cm, sep=8pt, #1] {this color} \usebeamerfont{frametitle}\insertframetitle\par% \end{beamercolorbox}% \vfil% % \vfill replaced } For more details ...


2

You can use \only. For example: 1 & \only<1>{?}\only<2>{somethingelse} & 3 The parameter in <> specify when it will be displayed. You can also use ranges: \only<1-3>{abc}: Display abc for the first 3 steps \only<2->{abc}: Display nothing on the first step, then display abc for each following step


2

I am not sure if I understood your question, but if you want frametitles like on the titlepage: \documentclass{beamer} \usetheme{Warsaw} \title{Beamer Presentation} \author{\LaTeX Enthusiast} \date{today} \makeatletter \setbeamertemplate{frametitle} { \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}% \@tempdima=\textwidth% ...


2

You can use the package fancybox: \documentclass{beamer} \usepackage{fancybox} \setbeamertemplate{itemize item}{$\bullet$} \setbeamertemplate{frametitle}[default][center] \begin{document} \begin{frame}\frametitle{\shadowbox{Motivation}} \begin{itemize} \item bla \item bla \end{itemize} \end{frame} \end{document}


2

The coordinates you're giving are not relative to the beamer-frame, but to the pdf-picture coordinate. That means if you set 〈lower left x〉 = 1cm and 〈lower left y〉 = 2cm, then the point in the bottm left corner of your picture will the the point that has the coordinates {1cm, 2cm} in the referential of you picture. But this picture will be inserter as ...


2

Here's a much shorter example that illustrates the problem: \documentclass{beamer} \usepackage{glossaries} \makeglossaries \newglossaryentry{sample}{name=sample,first={\textit{sample}}, description={an example}} \begin{document} \begin{frame} \gls{sample} \end{frame} \begin{frame} \printglossary \end{frame} \end{document} The problem is that ...


2

You can redefine the elements to use the same colour gradient as the frametitle. Please compare the following redefinition of the footline with the original one from beamerouterthemeinfolines.sty to see the changes. You can use the same approach to modify the headline. One trick: The background of the colours has to be set to empty. ...


2

I think that you just need to add the landscape option to \pgfpagesuselayout. Even better is to surround this command with \mode<handout>{ ... } so that you only get four slides to a page in handout mode. Here is a MWE: \documentclass[handout]{beamer} \usetheme{Madrid} \usepackage{pgfpages} \mode<handout>{ \pgfpagesuselayout{4 on ...


1

A bit ugly, but with three conditionals in the frametitle definition, it gives the desired numbers. \documentclass{beamer} \usepackage{etoolbox} \usepackage{xpatch} \usetheme{Warsaw} \usecolortheme{seahorse} \setbeamertemplate{section in head/foot}{\hfill\insertsectionheadnumber.~\insertsectionhead} \setbeamertemplate{section in head/foot ...


1

\documentclass{beamer} \usetheme{Warsaw} \usecolortheme{dolphin}% from Boadilla \useoutertheme{infolines}% from Boadilla \begin{document} \frame{foo} \end{document}


1

You posted a “solution“ in the comments. I cannot recommend changing beamercolortheme.sty though, because it might be overwritten once you update your system. Also the document is no longer portable. If you edit it on another PC or send it to a friend you'd have to include instructions on which files to edit. Such changes usually go in the preamble of ...


1

I am still not sure what exactly you mean by "\pause to mention that", so I just guess, that you want the circles to appear stepwise. Based on Highlighting table cells \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{fit,shapes.geometric} \newcounter{nodemarkers} \newcommand<>\circletext[1]{% \tikz[overlay,remember picture] \node ...


1

Try this - MWE would have helped \documentclass{beamer} \usetheme{Warsaw} \useoutertheme{infolines} \title{Beamer Presentation} \author{\LaTeX Enthusiast} \date{today} \begin{document} \maketitle \section{First Section} \begin{frame}{Title of the frame \ldots a little longer} Hello World and your text. \end{frame} % ...


1

to remove the red highlighting from the handout, you can use \alert<.(1)|handout:0>{alert} or \action<alert@.(1)>{alert} In case you want to remove content completely from the handout, you can use \only<beamer>{} \documentclass[handout]{beamer} \begin{document} \begin{frame} \frametitle{Sample side} \framesubtitle{with a subtitle} ...


1

\documentclass{beamer} \usefonttheme{professionalfonts} \usepackage[sfmath]{kpfonts} \begin{document} $g$ in math mode g in text mode \end{document}


1

Export the slides as .pdf, than you can include them in your presentation. \documentclass{beamer} \usetheme{Warsaw} \usecolortheme{wolverine} \usepackage{pdfpages} \begin{document} \begin{frame} abc \end{frame} { \setbeamercolor{background canvas}{bg=} \includepdf[pages=1-2]{document.pdf} } ...



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