Generalpart of a caption in a figure ...

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
kkonst
Posts: 1
Joined: Mon Apr 28, 2008 8:53 pm

part of a caption in a figure ...

Post by kkonst »

Hi,

I am writing my Ph.D. thesis in Latex. At the beginning of the thesis a list of the captions of the figures in the thesis is generated. However, some of the captions are long so I was wondering whether there is a way so that only a substring of the caption is used in this list of figures.

To give you an example, imagine that the caption in some figure is:
\caption{Setup of a localization system that uses landmarks (or Access
Points) that record radio properties.}

I want only the following string to appear in the list of figures at
the beginning of the thesis: "Setup of a localization system that uses
landmarks".

Does anyone know how to do this?

Thank you,
Kosta

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

tripwire45
Posts: 129
Joined: Thu Apr 10, 2008 4:35 am

Re: part of a caption in a figure ...

Post by tripwire45 »

Greetings, Kosta, The answer is at the following link under "Lists of figures and tables".

http://en.wikibooks.org/wiki/LaTeX/Floa ... and_tables

You can specify a short caption for your list of figures and retain the longer one to be displayed with the figure itself.

-Trip
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

part of a caption in a figure ...

Post by Stefan Kottwitz »

Hi Kosta,

welcome to the LaTeX Community board!
Trip already gave a link to a solution that will work. I just want to mention that the caption package gives even more features and flexibility and is well documented.

Stefan
LaTeX.org admin
Post Reply