LaTeX: Tables of Contents, Images, and Tables

latexteada

latexteada

Posted on May 12, 2021

LaTeX: Tables of Contents, Images, and Tables

Hello :) How are you today?

Today I am going to talk about the different tables of contents that we have available in LaTeX. These are three

  1. \tableofcontents here appear the contents that you put in \section{}, \subsection{}, \subsubsection{}, \chapter{}, \part{} this is the title of the sections which are in your documents

  2. \listoftables here appear the content of the caption instruction which is inside the table environment

  3. \listoffigures here appear the content of the caption instruction which is inside the figure environment

Let me focus on the caption command

Caption Command

We meet the caption command in the tabular and figure environments but

caption has an optional option

The complete caption command is

\caption[list]{table}
Enter fullscreen mode Exit fullscreen mode
  • table is the title shown under the table/image
  • list is the tile shown in the listoftables / listoffigures

So, you can have two titles for the same image

You need to be careful with this, you need to put attention to the names you give to your image/table

Sometimes the text in table is a brief description of the image and the text in list is the complete description of the image/table but this is not a rule to follow

That is all, thanks for reading :)
follow me on Twitter @latexteada

💖 💪 🙅 🚩
latexteada
latexteada

Posted on May 12, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related