I have the following code with two nodes:
\documentclass[crop,tikz]{standalone}
\begin{document}
\usetikzlibrary{positioning,calc}
\tikzstyle{block} = [draw, rectangle, minimum height=1cm, minimum width=1cm, outer sep=0pt]
\begin{tikzpicture}
\node [block,align=center](A) { \shortstack{double \\ type} };
\node [block,align=center,right=1.5cm of A](B) { \shortstack{single \\ type} };
\end{tikzpicture}
\end{document}
Because the content of node A has no "long" character that ranges below the baseline, the distance between the two lines is closer than in the second node B. There, the "g" character ranges below the baseline and therefore it seems that additional space is used and the two blocks are not aligned.
I could fix that by including a \vphantom{g} into node A. However, that would make the line spacing large in both blocks.
Instead, I want that the line space is small, just as if there were no characters that range below the baseline.
Is it possible to somehow "ignore" these characters?
\shortstack{sin\smash{g}le \\ type}