New answers tagged

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


4

I am quite certain that this issue arises due to the vertical placement mechanism of the chemfig package. Specifically, the chemfig manual (v1.2d, December 1, 2015, currently latest) specifically states that [...] the vertical placement of the arrival atom depends on the height of the departure atom. [...] ChemFig adds to each arrival atom the \vphantom ...


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


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

You can tweak the corners of the box overlay either with xshift and yshift or with the calc tikzlibrary by adding a coordinate tuple to the corner identifiers (here frame.north west and frame.south west). MWE: \documentclass{article} \usepackage{listings} \usepackage[many]{tcolorbox} \usetikzlibrary{calc} \tcbuselibrary{listings} \newtcblisting[auto ...


2

AFAIK the pgflayers are locally to the current tikzpicture. So I think it is not possible to have the blue edge in the background of the equation. But I would change the path of this edge to not cross the equation. For example \path[blue] (bp-z) ++(0,3ex) edge[thick, ->,out=175,in=150,looseness=2.5] (line-z); results in Code: ...


4

You have a lot of spurious spaces. When I remove them all, it works fine. \documentclass{beamer} \usepackage{tikz} \begin{document} \newcommand{\tikzmark}[1]{\tikz[overlay,remember picture] \node(#1) {};} \frame {% \resizebox{\textwidth}{!} {% $\left(\begin{array}{rrrrrrrrrrrrrrrrrrrrrrrrrr}a & b & c & d & e & f & ...


1

Include \visible with your \items \documentclass{beamer} \begin{document} \setbeamercovered{transparent} \begin{frame} \begin{itemize} \item\visible<1,3>{outside} \begin{itemize} \item\visible<2->{inside} \end{itemize} \item\visible<1,3>{outside} \end{itemize} \end{frame} \end{document} ...


1

Here is a hack that almost accomplishes the intention, but non-ideal because the bullet does not become transparent (and also is a hassle to code) \setbeamercovered{transparent} \begin{frame} \begin{itemize} \item{\temporal<2>{outside}{\color{black!15}{outside}}{outside}} \begin{itemize} \item<->{inside} ...



Top 50 recent answers are included