Why does text made by tikz node not align with other text on the same line? That is to say, they are not on the same baseline.
And how to solve this?
Hereafter is the example code:
\documentclass{article}
\usepackage{tikz}
\begin{document}
aa\tikz \node[inner sep=0pt,opacity=1]at (0,0){|by tikz|};aa
\end{document}

tikz baseline textortikz inline baseline: https://tex.stackexchange.com/questions/416226. In addition the manual is full ofbaselineexamples, e. g.$A \mathbin{\tikz[baseline] \draw[-»] (0pt,.5ex) -- (3ex,.5ex);} B$– Dr. Manuel Kuehner May 19 '18 at 09:52