I have the following frame in beamer:
\begin{frame}{Language}
\begin{block}{}
\begin{align*}
\onslide<1->{
&\text{Types} & T &::= B | T \to T \\
}
\onslide<2->{
&\text{Terms} & E &::= A | E\ E | \ldots |
\tikz[baseline]{
\node (term-mon) [anchor=base,fill=blue!20]
{$\mathsf{mon}^{f, g}_h(E)$};
}
\onslide<3> {
\tikz[baseline]\node [fill=blue!20] (term-mon-expl) at ($(term-mon) + (1,2)$)
{Comments};
}
}
\end{align*}
\end{block}
\end{frame}
Basically, I want to highlight a part of the formula and display an additional node nearby on the next slide. However, for some reason TikZ ignores my 1cm shift towards x-axis and only shifts the term-mon-expl node towards y-axis, placing it right next to the term-mon node. Why?


overlay. You can post it as an answer, so that I could accept it. – Skiminok Feb 27 at 2:10