LaTex为字母添加圆圈 | 您所在的位置:网站首页 › 圈字母 › LaTex为字母添加圆圈 |
对于有为数字或字母添加圆圈需求的可以采用如下代码,已经验证,非常Nice,有效: \documentclass{article} \usepackage{tikz} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ \node[shape=circle,draw,inner sep=2pt] (char) {#1};}} \begin{document} Numbers aligned with the text: \circled{1} \circled{2} \circled{3} end. \end{document}运行结果如下: \circled{A},\circled{B},\circled{C}将生成带圈的字母A,B,C: 其大小可以通过下方命令中的sep参数进行调整: \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ \node[shape=circle,draw,inner sep=2pt] (char) {#1};}}具体详情参考链接: Good way to make \textcircled numbers? 关于在Visio中或Word中插入带圈的26个字母请参考如下链接: 1. 26个带圈字母 2. 特殊符号大全 (九蛙工具箱特殊符号大全,为你提供超全超丰富的特殊符号) |
今日新闻 |
推荐新闻 |
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 |