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
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!
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.
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.
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:
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With