General ⇒ Remove Entries From lot and lof
Remove Entries From lot and lof
Thanks,
-Ryan
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Remove Entries From lot and lof
Load the caption package and use the optional argument of the \caption command:
Code: Select all
\caption[Entry in corresponding list]{Actual caption}
Code: Select all
\documentclass{report}
\usepackage{caption}
\begin{document}
\listoffigures
\begin{figure}
\rule{5cm}{2cm}
\caption{test figure 1.}
\label{fig:test1}
\end{figure}
\begin{figure}
\rule{5cm}{2cm}
\caption[]{test figure 2.}
\label{fig:test2}
\end{figure}
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Remove Entries From lot and lof
You could use the starred version of the \caption command (\caption*) if you also don't want the mentioned figures to be numbered. But the caption package offers another way to stop list entries globally.drswsh wrote:[...] I do not want the figures in the appendix to be listed (everywhere else is fine) and I can't seem to find a way to suppress content/figures from appearing in the list of figures. [...]
Code: Select all
\captionsetup{list=no}
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10