Search found 2 matches

by bhpayne
Tue Mar 20, 2012 7:36 pm
Forum: Graphics, Figures & Tables
Topic: Hide LoF or LoT when empty
Replies: 1
Views: 1503

Re: Hide LoF or LoT when empty

After more searching I found a solution:

http://tex.stackexchange.com/questions/33193
by bhpayne
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 ...