After more searching I found a solution:
http://tex.stackexchange.com/questions/33193
Search found 2 matches
- Tue Mar 20, 2012 7:36 pm
- Forum: Graphics, Figures & Tables
- Topic: Hide LoF or LoT when empty
- Replies: 1
- Views: 1503
- Mon Mar 19, 2012 9:57 pm
- Forum: Graphics, Figures & Tables
- Topic: Hide LoF or LoT when empty
- Replies: 1
- Views: 1503
Hide LoF or LoT when empty
Hello. I have a ToC and then a LoF and LoT in my documents. I am compiling this with and without tables and figures.
Is there a way to detect if the number of tables in the document is zero? If yes, then I want to hide (comment out) the \listoftables command. If the number of tables is non-zero ...
Is there a way to detect if the number of tables in the document is zero? If yes, then I want to hide (comment out) the \listoftables command. If the number of tables is non-zero ...