Hi,
I have a document with four chapters and an appendix. The appendix has a lot more figures and tables than all the chapters combined. So, I wish to insert a separate list of figures just for the appendix, and a regular list of figures for the rest of the chapters combined. Is this feasible?
PS: I searched for this topic before posting and I couldn't find a previous solution, so please forgive me if this has already been answered.
Graphics, Figures & Tables ⇒ Separate list of figures for appendix
NEW: TikZ book now 40% off at Amazon.com for a short time.

Separate list of figures for appendix
Hi,
several packages will allow the creation of the new list; one option is to use some of the features provided by the caption package. Take a look at the following simple example:
Please refer to the package documentation for further information; particularly, refer to the use of the \DeclareCaptionType command (pp 27ff).
several packages will allow the creation of the new list; one option is to use some of the features provided by the caption package. Take a look at the following simple example:
Code: Select all
\documentclass{book}
\usepackage{caption}
\DeclareCaptionType{myfigure}[Figure]
\begin{document}
\listoffigures
\begin{figure}[!ht]
\centering
\rule{5cm}{2cm}
\caption{test figure 1}
\label{fig:test1}
\end{figure}
\begin{figure}[!ht]
\centering
\rule{5cm}{2cm}
\caption{test figure 2}
\label{fig:test2}
\end{figure}
\appendix
\listofmyfigures
\setcounter{myfigure}{2}
\begin{myfigure}[!ht]
\centering
\rule{5cm}{2cm}
\caption{test figure 3}
\label{fig:test3}
\end{myfigure}
\begin{myfigure}[!ht]
\centering
\rule{5cm}{2cm}
\caption{test figure 4}
\label{fig:test4}
\end{myfigure}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Separate list of figures for appendix
Thank you gmedina for the helpful reply and especially for the code. From the code you posted, I understand that you are basically defining a new type of figure environment, and generating a new list of all the elements from that environment in the appendix.
I tried running the code, got a "undefined control sequence" error, so I figured the caption package was not installed. I am currently trying to get the caption package working on my system*, so I will try out your solution once that's done.
*WindowsXP, Miktex 2.7 basic installation with internet package update disabled by university proxy server.
I tried running the code, got a "undefined control sequence" error, so I figured the caption package was not installed. I am currently trying to get the caption package working on my system*, so I will try out your solution once that's done.
*WindowsXP, Miktex 2.7 basic installation with internet package update disabled by university proxy server.
Separate list of figures for appendix
You are welcome, and yes, that's the idea behind the code.comet64 wrote:Thank you gmedina for the helpful reply and especially for the code. From the code you posted, I understand that you are basically defining a new type of figure environment, and generating a new list of all the elements from that environment in the appendix...
Of course, the proper solution is to ask the administrator to update the MiKTeX packages. In the meantime, however, you can try this quick (but not elegant) solution:comet64 wrote:...I tried running the code, got a "undefined control sequence" error, so I figured the caption package was not installed. I am currently trying to get the caption package working on my system*, so I will try out your solution once that's done.
Download caption.zip fron CTAN (here it is). Unzip the file; this will generate a folder called "caption". Open a terminal and go to the "caption" folder, and run
Code: Select all
latex caption.ins
1,1,2,3,5,8,13,21,34,55,89,144,233,...