[英]List of figures in bookdown to html_document2
是否有可能在我的 Rmd 文档中包含数字列表? 现在我的 yaml-header 看起来像这样,但我不知道如何包含数字列表。 \figureslift
似乎不起作用。
---
title: ""
author: ""
output:
bookdown::html_document2:
#css: styles.css
fig_caption: yes
theme: flatly
toc: yes
toc_depth: 1
bibliography: lib.bib
link-citations: yes
figurelist: yes
---
在正文文件中,我考虑过这样的事情来生成一个数字列表。
{r figure1, fig.cap="Sine Plot", fig.align='center'}
x = seq(1,10, by = 0.1)
y = sin(x)
plot(x, y, main = "title")
见图@ref(fig:figure1)
\数字列表
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.