Graphics, Figures & Tables ⇒ List of figures of a subset of figures
List of figures of a subset of figures
Is there a way to insert a "listoffigures" that considers only a subset of the figures present in the document.
Thanks
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
List of figures of a subset of figures
Code: Select all
\begin{figure}
\centering
\includegraphics{file.eps}
\caption[Figure]{This figure will appear in the list of figures}
\end{figure}
\begin{figure}
\centering
\includegraphics{file.eps}
\caption[]{This figure will NOT appear in the list of figures}
\end{figure}
Re: List of figures of a subset of figures
Re: List of figures of a subset of figures
Howerver I would like also to make another "listoffigures" for the other subset. Sorry I should have detailed my problem earlier

Thanks.
List of figures of a subset of figures
Code: Select all
\documentclass{article}
\usepackage{caption}
\DeclareCaptionType{otherfigure}[Other Figure][List of other figures]
\begin{document}
\listoffigures
\listofotherfigures
\begin{figure}
\caption{A figure}
\end{figure}
\begin{otherfigure}
\caption{A figure, too}
\end{otherfigure}
\end{document}
Re: List of figures of a subset of figures

Re: List of figures of a subset of figures
How can I do this?
I really appreciate any help.
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
List of figures of a subset of figures
welcome to the board!
You could use \DeclareCaptionType of the caption package, producing it's own list, or \newfloat of the float package.
Stefan
Re: List of figures of a subset of figures
If I use \DeclareCaptionType, how will I be able to associate two "types" to one single figure so that it appears in both listofs?
List of figures of a subset of figures
In the preamble, I added the following:
Code: Select all
% Add a list of study systems
\usepackage{tocloft}
\newcommand{\tocloftclearpage}{\clearpage\phantomsection}
% tocloft won't print listofs on new pages otherwise
\newcommand{\liststudysystemname}{List of Diagrams of Study Systems}
\newlistof[chapter]{studysystem}{sts}{\liststudysystemname}
\newcommand{\studysystem}[1]{%
\addcontentsline{sts}{figure}{\protect\numberline{\thefigure}#1}}
\newcommand{\studysystemcaption}[1]{Default caption}
Code: Select all
\begin{figure}
\centering
\includegraphics[width=0.75\textwidth]{Figs/SPAA_systemIEEE34bus}
\renewcommand{\studysystemcaption}{Study system II: IEEE 34-bus test feeder with three augmented DER units.}
\caption{\studysystemcaption}
\studysystem{\studysystemcaption}
\label{fig:SPAA_systemIEEE34bus}
\end{figure}