Graphics, Figures & Tableslist of figures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
jannetta
Posts: 46
Joined: Mon Dec 22, 2008 12:59 pm

list of figures

Post by jannetta »

Hi Folks

I've tried to Google this but didn't quite find a relevant answer.

Is it possible to create a list of figures using only the title of the figure rather than the whole caption. I might not be marking my figures up correctly for this to be done so I would appreciate some advice on that too. This is how I have been doing it:

Code: Select all

\begin{figure}[H]
	\begin{center}
		\includegraphics[width=5cm]{graphics/cpg_in_walking0.png}
		\caption{\textbf{Spinal Central Pattern Generators}. \acp{CPG} in the spine that generate rhythmic activity for locomotion without sensory or descending inputs \cite{Lacquaniti1999}}
		\label{fig:cpg_in_walking}
	\end{center}
\end{figure}
Many thanks
Jannetta

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

list of figures

Post by Johannes_B »

Please do not use the center environment inside the figure environment, it adds extra vertical space. You can use \centering instead.

The caption knows an optional argument which is used as an alternative title for the list. That should be explained in every introduction.

Code: Select all

\caption[i'll  be seen in the list]{i am with the actual figure}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply