[latex]PGF and Tikz中文字竖排的示例:
主要是设置text widt=1em.
%%%%改变行距
\renewcommand{\baselinestretch}{0.2}
\linespread{0.2}
\begin{tikzpicture}
%辅助网格
\draw [dashed,step=1,line width =0.5pt](0,0)grid(2,2);
%实现文字竖排,关键是设置每一行为一个汉字text width =1em
\node [above,rectangle,rounded corners=1mm,text width =1em,fill=blue!25,label=below:$(0\text{,}0)$] (A) at
(0,0) {中国人民万岁};
\end{tikzpicture}
效果如下: