Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I add a list of figures/tables for Latex/PDF output?

I trying to add a list of figures and a list of tables into a PDF document generated by Sphinx+Latex. So far I found nothing useful..

Would somebody know how to do it? Thanks

like image 529
user1582352 Avatar asked Aug 07 '12 15:08

user1582352


People also ask

How to insert list in table of contents in latex?

So you can easy use \section {Abbildungsverzeichnis} to insert the list in your table of contents. Thanks for contributing an answer to TeX - LaTeX Stack Exchange!

How to add list of figures and tables to table of contents?

Lists of figures and tables are not automatically added to the table of contents. I will introduce two different approaches here, an automatic and a manual approach. Automatic approach: Loading tocbibind(package documentation) adds entries for lof and lot to toc. In addition, the package adds bibliographies and table of contentsitself, by default.

What is the purpose of a list of tables and figures?

A list of the tables and figures keep the information organized and provide easy access to a specific element. This article explains how to create a list of figures, a list of tables and how to change the default title in both of them.

How long is the table of contents of a PDF?

The table of contents is 5 pages long, the list of tables is 5 pages long and the list of figures is 3 pages long – and they are counted as if they where only one page long) So for example what I see in the PDF wrongly shows:


1 Answers

To whom it may interest, I found out that Sphinx can pass native commands to Latex.

Thus the following Sphinx source code snippet does what I was looking for:

..raw:: latex

  \listoffigures
  \listoftables
like image 99
user1582352 Avatar answered Oct 07 '22 01:10

user1582352