[latex]PGF and Tikz中文字竖排的示例:
主要是设置text widt=1em.
复制代码
1
2
3
4
5
6
7
8
9
10
11%%%%改变行距 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:$(0text{,}0)$] (A) at (0,0) {中国人民万岁}; end{tikzpicture}
效果如下:
最后
以上就是合适方盒最近收集整理的关于[latex]PGF and Tikz中文字竖排的全部内容,更多相关[latex]PGF内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复