I want to change the font size of text in a node. Ideally finally I have multiple font sizes in a node. However when trying to change the font size in the node, I get unexpected different line spacings. Here is the code:
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\node[anchor=north east,text width=0.2\textwidth,font=\small] at (0,0) {This text demonstrates how your own text will look when you replace the placeholder with your own text.};
\node[anchor=north west,text width=0.2\textwidth] at (0,0) {\small This text demonstrates how your own text will look when you replace the placeholder with your own text.};
\end{tikzpicture}
\end{document}
As you can clearly see, setting the font size in the node leads to a different line spacing. How can I prevent this? And what is going on there?