I want to use an overprint environment inside a tikz-node. I expect the content text of the overprint-sections to be aligned centrally, but it aligns right and even protrudes a little beyond the overprint/nodes border.
Minimal example output:
What am I missing and how can the issue be fixed?
Also I do not want the overprint to wobble, which it does a little bit, but I expect that will automatically be gone with a fix.
Minimal example code:
\documentclass[transparent]{beamer}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{frame}%
\begin{center}
\begin{tikzpicture}[every node/.style={draw}]
\onslide<+->{\node(a){test1};}
\onslide<+->{\node(b)[below=of a,align=center]{
\begin{overprint}[4cm]
\onslide<+>
$a=b$
\onslide<+>
$b=c$
\onslide<+>
$c=d$
\end{overprint}
};}
\node(c)[below=of b]{test2};
\end{tikzpicture}
\end{center}
\end{frame}%
\end{document}
overprint
area (from4cm
to5.9cm
) all goes well.overprint
is implemented and thecenter
environment. At this point, I need to call in the experts (tex.stackexchange.com/q/61112/86)