
Quiero alinear los centros de los símbolos , \Circle
no los centros de los nodos. ¿Existe una forma sencilla?\CIRCLE
\times
\documentclass[final,t]{beamer}
\mode<presentation>
\usepackage{wasysym}
\usepackage{bm}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}
\centering
\matrix (m) [
matrix of math nodes, row sep=3em, column sep=1.5em, minimum height=4em, %nodes in empty cells , minimum width=3em
nodes={anchor=center}
]
{
\CIRCLE^{\frac{1}{4}} & \Circle^{\frac{1}{4}} & (\Circle^{\frac{1}{4}}\CIRCLE^{\frac{1}{4}}) & \bm{\times} \\
};
\path
(m-1-1) edge (m-1-2)
(m-1-2) edge (m-1-3)
(m-1-3) edge (m-1-4);
\end{tikzpicture}
\end{document}
esto es lo que obtengo
Respuesta1
Puede usarlos \smash{^{\frac{1}{4}}}
para todos los superíndices, entonces no ocuparán ningún espacio vertical y, por lo tanto, no afectarán la alineación.
\documentclass[final,t]{beamer}
\mode<presentation>
\usepackage{wasysym}
\usepackage{bm}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}
\centering
\matrix (m) [
matrix of math nodes, row sep=3em, column sep=1.5em, minimum height=4em, %nodes in empty cells , minimum width=3em
nodes={anchor=center}
]
{
\CIRCLE\smash{^{\frac{1}{4}}} & \Circle\smash{^{\frac{1}{4}}} & (\Circle\smash{^{\frac{1}{4}}}\CIRCLE\smash{^{\frac{1}{4}}}) & \bm{\times} \\
};
\path
(m-1-1) edge (m-1-2)
(m-1-2) edge (m-1-3)
(m-1-3) edge (m-1-4);
\end{tikzpicture}
\end{document}