我的问题是如何引用像下面这样的markdown格式的表,因为这里的答案不起作用Referencing a 'hand-made' table using bookdown package我尝试过
---
output: html_document
---
you may refer to this table using \@ref(tab:foo)
Table: (\#tab:foo) Your table caption.
+-----------------------+-----------------------+-----------------------+
| Auteur | Protocole | Résultats |
+=======================+=======================+=======================+
| (Jiayi 2011) | Analyse formantique | Diphtongaison de [e |
+-----------------------+-----------------------+-----------------------+但它并没有起作用。
它会给出"Table:(#tab:foo) Your table caption“。如果我使用@ref(标签:foo)交叉引用,则标题和“您可以使用@ref(标签:foo)引用此表”。
也可以有自动编号功能吗?
发布于 2019-12-11 02:32:44
看起来你只需要使用bookdown的output formats。
---
output:
bookdown::html_document2:
df_print: paged
---
you may refer to this table using \@ref(tab:foo)
Table: (\#tab:foo) Your table caption.
+-----------------------+-----------------------+-----------------------+
| Auteur | Protocole | Résultats |
+=======================+=======================+=======================+
| (Jiayi 2011) | Analyse formantique | Diphtongaison de [e |
+-----------------------+-----------------------+-----------------------+https://stackoverflow.com/questions/59272981
复制相似问题