我是靠谱客的博主 合适方盒,这篇文章主要介绍[latex]PGF and Tikz中文字竖排,现在分享给大家,希望可以做个参考。

[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:$(0text{,}0)$] (A) at
(0,0) {中国人民万岁};
end{tikzpicture}

效果如下:


最后

以上就是合适方盒最近收集整理的关于[latex]PGF and Tikz中文字竖排的全部内容,更多相关[latex]PGF内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(64)

评论列表共有 0 条评论

立即
投稿
返回
顶部