# How to hide the \listoftables* if there are no tables in my document?

by user   Last Updated July 12, 2019 03:23 AM

On this example, the list of tables is being shown, but there are no tables on it to show, then, it should not appear unless there are tables to list.

\documentclass[12pt]{memoir}

\begin{document}

\listoftables*

Contents.

\end{document}


How to hide the \listoftables* automatically if/when there are no tables in my document?

Tags :

## Related Questions

Updated April 09, 2015 21:09 PM

Updated December 30, 2016 08:09 AM

Updated April 09, 2017 22:23 PM

Updated October 04, 2016 08:09 AM

Updated January 05, 2017 08:09 AM