控制台预览中的 RMarkdown 块输出不显示乳胶选项`\textcolor{}`
RMarkdown chunk output in console preview does not display latex option `\textcolor{}`
在 Rmarkdown 中,我在乳胶代码中使用 \textcolor
选项,写成:
$$
\textcolor{red}{This is Red}
$$
编译后会显示 This is Red
但颜色为红色。但是,"chunk output in console" 预览选项不会加载它。有谁知道快速修复?我附上了它的样子:
在RStudio的Rmd文档中,可以使用在RStudio的Latex方程块中识别的\color
$$
\color{red}{This is Red}
$$
我知道了
它在 pdf 文档中也呈现为红色。
在 Rmarkdown 中,我在乳胶代码中使用 \textcolor
选项,写成:
$$
\textcolor{red}{This is Red}
$$
编译后会显示 This is Red
但颜色为红色。但是,"chunk output in console" 预览选项不会加载它。有谁知道快速修复?我附上了它的样子:
在RStudio的Rmd文档中,可以使用在RStudio的Latex方程块中识别的\color
$$
\color{red}{This is Red}
$$
我知道了
它在 pdf 文档中也呈现为红色。