在RMarkdown中写复选标记? [英] Write Check Marks in RMarkdown?

查看:37
本文介绍了在RMarkdown中写复选标记?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了LaTeX的一些示例,例如 \ Checkedbox \ CrossedBox * \ HollowBox ,但不幸的是,它们都没有工作.我找到了 $ \ Box $ $ \ checkmark $ .有人知道如何键入复选框吗?

I try some examples from LaTeX, such as \Checkedbox, \CrossedBox*, \HollowBox, but unfortunately, they all do not work. I found $\Box$, $\checkmark$. Anyone know how to type checked box?

推荐答案

您可以创建自己的命令,该命令将 \ checkmark 覆盖在 \ Box 的顶部:

You can create your own command which overlays \checkmark on top of \Box:

\newcommand{\boxedcheckmark}
  {{\ooalign{$\Box$\cr\hidewidth$\checkmark$\hidewidth}}}

I found $\Box$, $\checkmark$. Anyone know how to type checked box?
Check $\boxedcheckmark$ to see if it suits your needs.

这篇关于在RMarkdown中写复选标记?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆