LaTeX: Tables of Contents, Images, and Tables
latexteada
Posted on May 12, 2021
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
\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\listoftables
here appear the content of thecaption
instruction which is inside thetable
environment\listoffigures
here appear the content of thecaption
instruction which is inside thefigure
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}
-
table
is the title shown under the table/image -
list
is the tile shown in thelistoftables
/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
Posted on May 12, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.