I am trying to draw a simple tree in Beamer using tikz-qtree. To signal that the a branch of the tree I am drawing continues to infinity, I want one of the last node to be \ldots. However, because the other node at the same level is made of text, the edge draws has lines of different length, while I would like the lines to be of the same length. Would you know how to correct that? Many thanks for your help.
Here is a minimal working example:
\documentclass[10pt]{beamer}
\usepackage{tikz}
\usepackage{tikz-qtree}
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\centering
\begin{tikzpicture}
\Tree [.{} 1
[.2 1
[.2 1 {\ldots} ]]]
\end{tikzpicture}
\end{frame}
\end{document}

{\vphantom{1}\ldots}.\vphantom{1}gives no output but takes the same vertical space as if1was there. – Celdor Sep 27 '22 at 09:51