Graphics, Figures & Tables ⇒ Figures Intentionally Not in List of Figures?
Figures Intentionally Not in List of Figures?
Is it possible to create figures intentionally not in the List of Figures, such as the * environments for sections, subsections, etc? How does one go about doing this? Same question for tables. I still want to have captions.
Thanks
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
Figures Intentionally Not in List of Figures?
you can use an empty optional argument for the \caption command:
Code: Select all
\caption[]{the text of the caption.}
Figures Intentionally Not in List of Figures?
Hi,gmedina wrote:Hi,
you can use an empty optional argument for the \caption command:
Code: Select all
\caption[]{the text of the caption.}
Unfortunately, doing that simply results in entries with empty captions in the List of Figures, but they're still there. :\
Thanks
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Figures Intentionally Not in List of Figures?
- Use the \caption* command. This will result in a caption without a label thus without number.
- Switch off the entry for a certain figure or table.
This doesn't generate an entry in the LoF thus the numbering there will be interrupted.
Code: Select all
\begin{figure}[!ht] \captionsetup{list=no} \centering \rule{6.4cm}{3.6cm} \caption{Dummy figure}\label{fig:dummy} \end{figure}
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Figures Intentionally Not in List of Figures?
This sounds like what I need. Thanks!localghost wrote:There are two possible solutions by using the caption package.
- Use the \caption* command. This will result in a caption without a label thus without number.
- Switch off the entry for a certain figure or table.
This doesn't generate an entry in the LoF thus the numbering there will be interrupted.Code: Select all
\begin{figure}[!ht] \captionsetup{list=no} \centering \rule{6.4cm}{3.6cm} \caption{Dummy figure}\label{fig:dummy} \end{figure}
Best regards
Thorsten