首页 > 解决方案 > R Markdown 中的 LaTeX {itemize}

问题描述

如何{itemize}在我的 R Markdown 中包含以下 LaTeX?当我尝试编织 HTML 时,它根本不起作用。

---
title: "Untitled"
author: "March 2019"
output: html_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

\[x = R + E\]
where:
\begin{itemize}
\item[R=] is Racoon
\item[E=] is Elephant
\end{itemize}

标签: rlatexr-markdown

解决方案


只需在要逐项列出的句子的开头使用 + 或 - 即可,它适用于 Rmarkdown 的 html 和 pdf 输出,例如
使用 '$' 符号之间的语句
$+ 此语句将在 rmd$ 中逐项列出


推荐阅读