Graphics, Figures & Tables ⇒ Can List of Figures be combined?
-
- Posts: 3
- Joined: Fri Jul 17, 2009 10:13 pm
Can List of Figures be combined?
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
-
- Posts: 3
- Joined: Fri Jul 17, 2009 10:13 pm
Can List of Figures be combined?
Using the caption package, I can add the following to my schemes after the caption and label:
Code: Select all
\captionlistentry*[figure]{Some text}
Also, creating the scheme float such that it uses the same external file as the figure float (*.lof) as follows gives a partial solution
Code: Select all
\newfloat{scheme}{hbtp}{lof}[chapter]
Finally, wrapping the figure in a new environment, Scheme, and temporarily renaming Figure to Scheme as follows is incompatible with hyperref and cleveref, which still reference "Figure 1."
Code: Select all
\newenvironment{Scheme}%
{\floatname{figure}{Scheme}\begin{figure}[hbtp]\centering\singlespacing\small\captionsetup{figurename=Scheme}}%
{\captionsetup{figurename=Figure}\end{figure}\floatname{figure}{Figure}}
-
- Posts: 3
- Joined: Fri Jul 17, 2009 10:13 pm
Can List of Figures be combined?
Code: Select all
\DeclareCaptionType[fileext=lof]{SchemeCaption}[Scheme]
\newaliascnt{SchemeCaption}{figure}
\crefname{SchemeCaption}{scheme}{schemes}
\newenvironment{Scheme}%
{\begin{figure}\captionsetup{type=SchemeCaption}}%
{\end{figure}}
The net result is that my scheme and figure floats are really both figures, but I wrap the schemes in an environment so that a customized caption is used. This customized caption is labeled "Scheme" in interpreted by cleveref as "scheme".
Re: Can List of Figures be combined?
I am having similar problems with my latex document. In my field, figures and schemes are two separate things, with different name and counter. The problem I have is that when I use the same command for inserting the figure, and just replace the "figure" with "scheme", I get an eror as treated as zero!! can u please help me if you know a solution or any suggestion!
many thanks