简体   繁体   中英

How to use \textcircled in Rmarkdown?

How can I use \\textcircled from the textcomp package in the text of an .rmd document?

I have tried using \\( \\textcircled{r} \\) and \\textcircled{r} . I would like to make html_document

---
title: "my doc"
header-includes: 
  \usepackage{textcomp}
output:
  html_document:
  pdf_document:
    keep_tex: no
---

\( \textcircled{r} \)
\textcircled{r}

对于html_documentknitr::asis_output("\\U24C7")将工作

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM