DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 968,547 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
latexteada
latexteada

Posted on

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

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.