I want to get the current location of my text
my mwe follow as:
\documentclass{article}
\usepackage{tikz}
\makeatletter
\def\getx{\tikz[remember picture]\node{\the\pgf@x};}
\makeatother
\begin{document}
one \getx two
one \getx two
\end{document}
but the result is all 0.0pt, what should I do?
\pgfpictureidI guess. E.g. https://tex.stackexchange.com/a/56510/250119 – user202729 Jul 23 '22 at 08:13