如何在Rmarkdown中使用\ textcircled?

问题描述 投票:0回答:1

如何在.rmd文档的文本中使用textcomp包中的\textcircled

我尝试使用\( \textcircled{r} \)\textcircled{r}。我想制作html_document

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

\( \textcircled{r} \)
\textcircled{r}
r latex r-markdown
1个回答
0
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.