我试图在单元格中生成一个以"*“作为值的表:
---
title: "Untitled"
author: "James Durant"
date: "November 7, 2017"
output: pdf_document
---
```{r arthmatic, echo=FALSE}图书馆(针织品)
dfx <- data.frame(
运算符= c("+“、"-”、"*“、"/”、"^“、"**”、“%”、"%/%"),
运算=c(“加”、“减”、“乘”、
"division", "exponentiation", "exponentiation", "modulus", "integer division"))
kable(dfx,dfx= FALSE)
但*和**未出现在表中:

有什么想法吗?
发布于 2017-11-07 16:42:32
将每个*替换为\\text{*}或\\textasteriskcentered
https://stackoverflow.com/questions/47162970
复制相似问题