How to create the list of table/figure pages in the TOC in Rmarkdown when output PDF files.


#1

When I create tech report, the table of content is added by adding "toc: TRUE" in the YAML header.

However, in this way, I cannot create the list of table/figure pages like what I did in the word.

Does anyone know how to create the list of table/figure pages in the TOC in Rmarkdown when output PDF files?

Thanks,


#2

I think using PANDOC Latex option lot and lof should work

See PANDOC Manual and how to set them in a Rmarkdown


#3

Thanks!! I'll try to find out the solution.