Jiaxiang
Jiaxiang

Reputation: 883

Write Check Marks in RMarkdown?

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?

Upvotes: 5

Views: 4030

Answers (1)

Werner
Werner

Reputation: 15065

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

enter image description here

\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.

Upvotes: 4

Related Questions