what is the reason for not showing the graphics inside a table,in the list of figures?I have used below code to insert figure inside a long table.


\refstepcounter{figure}% for proper numbering and referencing of figure and
 Figure~\thefigure:{Cabinet power distribution} box

The list of figures shows the figures included in a figure environment (more precisely: it lists the captions given within a figure environment).

All you do with \refstepcounter{figure} is increasing the number to be used for the next call to \thefigure; there's nothing in your code that tells Latex that there is a figure there, nor how to reference it.


An example with the floating environment figure that comes with a \caption command that automatically adds the entry in the list of figures. The caption can be formatted with the help of package caption:



  \caption{Cabinet power distribution box}


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.