r - 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}
解决方案
只需在要逐项列出的句子的开头使用 + 或 - 即可,它适用于 Rmarkdown 的 html 和 pdf 输出,例如
使用 '$' 符号之间的语句
$+ 此语句将在 rmd$ 中逐项列出
推荐阅读
- python - MERGESORT 永远不会到达第二个数组/列表
- sql - 如何在其他 INSERT 语句中使用 INSERT 语句的结果?
- android - SettingsClient 的位置请求总是得到 RESULT_CANCELED
- javascript - 基于菜单项单击添加类
- c# - 当有数千个时将字符串转换为双精度
- python - Python如何触发API
- css - 内容填充第一列然后换行到下一列
- php - 如何将每个用户连接到他自己的数据库?
- reactjs - 使用 ref 代替 id 来响应 css
- python - 使用 python 'ipaddress' 以及 _methods 与直接值的目的