1
vote
1answer
19 views

Custom caption for lstset to use in table of contents [duplicate]

I would like to use the functionality of figure captions (that can have two captions: one for table of contents and one for the caption below/above the figure) with my custom filecode environment. ...
4
votes
2answers
49 views

Changing the default layout produced by algorithm and algorithmic packages

If the default output of the algorithm and algorithmic packages for the following code: \begin{algorithm} \begin{algorithmic}[1] \PRINT \texttt{‘‘Hello, World!’’} \end{algorithmic} ...
3
votes
1answer
70 views

How to hide the number of a table, whilst keeping it in the list of tables

I want the caption of one of my tables to say only Table, without the number. Caption* did not seem to work. Also, I still I want it to appear in the list of tables. Is there any way to do that?
3
votes
1answer
55 views

Two parts caption in listoffigures

I'm using this template to write my report. I'm trying to add a listoffigures so I added those lines in the .cls file: \newlength{\lofsep} \setlength\lofsep{2pc} \contentsmargin{0cm} ...
2
votes
1answer
36 views

How to define a custom environment caption for table of contents?

I want to define a custom environment example. This is not a problem at all, the only thing I humble upon is the caption (short title below the element) and its listing in the table of contents or ...
3
votes
0answers
63 views

Allow \listoffigures captions to break across pages

I'm using the command \listoffigures to list all figure captions after the contents page. Many of my figure captions are quite long and as a result LaTeX is placing 2 captions on a page with a large ...
2
votes
1answer
72 views

Optional caption in listings (for listoflistings)

I have some cites in my captions. But I do not want to appear them in the table of figures or listings. With figures I managed to display an different caption like this: \begin{figure} \centering ...
1
vote
1answer
62 views

List of Tables caption entry problems with Bookmarks package

Since implementing the bookmark package and resolving the issues with Bookmarks not linking with Table of Figures and Bibliography properly, I've noticed that the bookmark package is causing long ...
1
vote
1answer
62 views

How to customize the chapter in front of figure page in listoffigures?

I am using the the packages \usepackage{url} \usepackage{graphicx} \usepackage{rotating} \usepackage[hypcap]{caption} \usepackage{hyperref} to include referencable graphics in my work. The ...
6
votes
1answer
62 views

Force color of listoffigures

Imagine the following example: \documentclass{scrbook} \usepackage{xcolor} \begin{document} \begin{figure} \caption{\textcolor{green}{Green} and \textcolor{red}{red}} \end{figure} ...
5
votes
1answer
126 views

Add table titles from captions in scrreprt class

I am badly looking for a way to give all my tables the same title in the document, that is used in the list of tables via caption[title]{long description...}. The reason is that my tables originate ...
8
votes
3answers
319 views

No caption but entry in list of figures

Now, there are many 'solutions' for this problem on the internet, but they all seem a bit messy to me. Like for e.g. this one: Link to ' Community' Is there a proper solution for this? As this is ...
3
votes
1answer
256 views

List of Figures Citation Issue

I know this has been asked before. However, none of the solutions helped me. I have tried \notoccite and that did not work. My issue is that each figure with a citation in the list of figures counts ...
5
votes
2answers
255 views

Source of Image in List of Figures

I need to have my sources, for example from image files, in my list of figures. \documentclass[10pt,a4paper]{article} \usepackage[list=true]{subcaption} \usepackage{graphicx} \usepackage{tocloft} ...
2
votes
1answer
70 views

suppressing captions of figures but keeping list of figure captions?

I have very long figure captions in a book. I use: \listoffigures to create a listing of these captions right after the table of contents. The figures themselves are given in each chapter. Is there ...
0
votes
0answers
126 views

multiple listing styles with hyperref and caption packages

This is a follow-up question to Multiple listings styles. The MWE from the accepted answer works fine. Unfortunately, when I add the hyperref package OR the caption package (or both of them), the ...
1
vote
0answers
93 views

Empty alternate lists of figures and tables with bicaption

I am using the bicaption package to have bilingual captions for all figures and tables. However, I don't want to typeset the alternate language in the document's body, but only create lists of ...
1
vote
1answer
86 views

How to exclude some algorithms for \listofalgorithms

I tried with \captionsetup{list=no} but it doesn't work for the algorithm listing. Any ideas? I am splitting alg. over several pages using algorithm2e and don't want the captions of the split ...
3
votes
1answer
56 views

How can I list tabulars in the contents, or make tables with invisble captions

Is there a way to have simple tabulars be listed in the list of tables? I'd even put them in by hand if I knew how.. My tables look like this right now: \begin{center} \begin{tabular}{l c l} ...
8
votes
1answer
118 views

subcaption: remove page number from lof

I use the caption and subcaption package as shown in the example below: \documentclass{article} \usepackage{caption} \usepackage{subcaption} \captionsetup[subfigure]{list=true} \begin{document} ...
2
votes
0answers
28 views

Aligning long entries in LOF using tocloft package [duplicate]

I am facing a problem by left aligning long entries in the LOF using the tocloft package. Although my TOC for long entries looks perfect and aligned, the LOF is not :( . I am using the command ...
8
votes
1answer
200 views

Remove footnote marks from \listoftables

I'm using footnote marks in my table captions like this: \caption{This is title\protect\footnotemark with a foot note} and then I just use a \footnotetext{Closer explanation...} . This works just ...
5
votes
1answer
113 views

When do we still need the table and figure environments when we don't want the enclosed objects to float?

The LaTeX Wikibook writes: Please understand: you do not have to use floating tables. It only looks more professional. If you want to place your tables where they lie in your source code, do ...
3
votes
1answer
193 views

Single Spacing Long Chapter Header in Table of Contents, Long Figure Captions in List of Figures

I am finishing up my dissertation and have a small issue. The dissertation format asks for single spacing the chapter heading in table of contents if it is too long and can't fit in one line. The same ...
6
votes
1answer
399 views

Multiple listings styles

In using the listings package, how can I have a distinct \lstlistingname value for each type of listing. Lets say my document has C++, R and Pseudo listings, and I would like the \lstlistingname ...
0
votes
1answer
166 views

Is it possible to add hidden text to a caption that only appears in the table of figures? [duplicate]

I want to add additional information about some figures that should only show up in the list of figures. Is this possible?
2
votes
2answers
415 views

Common style for global TOC, LOF, LOT and titletoc partial TOCs (with hyperref & caption)

I am currently writing my PhD thesis, and I have trouble defining a common style for my global TOC and the partial TOCs generated by titletoc. Basically if you check the following MWE, I like the ...
4
votes
3answers
869 views

Can listoffigures use the long caption instead?

Throughout my document I have figures with captions set like this example: \caption[Surface elevation change for Antarctica and Greenland]{Rate of change of surface elevation for Antarctica and ...
5
votes
1answer
136 views

color an entry in the list of figures

I have a command that prints an image and will be used inside a certain environment. First I run a test if the file exists and is a valid image file (see this question for the definition of ...
4
votes
2answers
507 views

How to remove “Algorithm #” caption prefix but keep list of algorithms?

I am using the algorithm-package and would like to name my algorithms without any generated prefix. So I would like to remove "Algorithm #" as prefix from my caption, but still keep the list of ...
4
votes
1answer
678 views

longtable list of tables caption problem

I am writing a MS dissertation, and using a long table in my thesis. I have a problem related with the caption of the long table in list of tables(LoT). Table 4.1 which is seen below, is a long table ...
2
votes
1answer
418 views

suppress an entry from list of figures/tables in koma script

While I don't regret switching a thesis to KOMA script, I do (sometimes) regret stopping using the caption package even though it works fine with scrreprt! I need a solution that won't require using ...
7
votes
2answers
657 views

Caption on side by side matrices

I have two matrices side by side, like this: \[ \left[\begin{array}{cc} a & b \\ c & d \end{array}\right] \qquad \left[\begin{array}{cc} e & f \\ g & h ...
8
votes
2answers
2k views

change caption in list of tables

I would like to change the caption in the List of Tables in a way it is different from the caption in the corresponding table. How can I do that? Does there exist a command to do that?
1
vote
1answer
398 views

How to remove the caption and the figure x in the figure but to add the caption in the list of figures?

I would like to remove figure 1 from the caption under my figure but to have it in my list of figures. Is it possible? With \caption[Entry for the List of Figures (LoF)]{}\label{fig:without} I can ...
5
votes
3answers
2k views

Remove citation from List of Figures

I have list of figures page. Some of these figures' captions have citation. How can I remove the citation from the list of figures page and keep the citation on the normal pages ? Regards ...
4
votes
2answers
267 views

How do I number appendix longtables and include them in the *ToC*?

I am writing my PhD dissertation. I have many appendices (like 6?), mostly tables. As it happens automatically for tables and figures, I'd like to get a label plus progressive number before I ...
9
votes
1answer
197 views

Numbering a figure with a symbol in a way that is compatible with \label and \ref

In a long paper, full of figures labeled as usual, there are two figures which I would like to single out and label with symbols. For instance, I would like to have them labeled Figure $\dag$ and ...
6
votes
3answers
473 views

Invisible listing captions

Short version: how can I make a listing's caption show up in the List of Listings but not in the body of the document where the listing is? I'm writing a university report, and many of my subsections ...
2
votes
1answer
403 views

Single entry in list of tables using datatool + longtable

I'm using the \DTLdisplaylongdb from datatool in order to create a multi-page table with longtable. How do I provide a caption that only shows up once in the list of tables? (Right now it's showing an ...
1
vote
1answer
258 views

\caption full features, but no showing at list of figures?

Using tocloft for my list of figures, I am looking for some method that enables me to select some specific entires (\caption) such as that one further down, which shouldn't goes to the list of ...
8
votes
2answers
924 views

One caption in listoffigures for a ContinuedFloat

I am using the \ContinuedFloat command of the subfig package to print a series of figures in more than one page. I would like to have one caption in the List of Figures and "compress" the pages so ...
8
votes
1answer
271 views

Citations in captions as separate argument

Whenever I include a table of a figure in my research papers, I cite the source of the information in the caption itself. However, I don't want this citation to appear in the List of figures/tables. ...
8
votes
2answers
1k views

How do I make the list of figures use an automatically shortened version of the caption?

Many of my captions are quite long and appear as 5 or more lines in the list of figures. To save me the effort of using the optional argument in the caption are there any packages that can produce ...
10
votes
1answer
3k views

List of figures: source below image caption?

I'm relatively new to LaTeX and currently working on a paper. In my list of figures, I'd like to have a structure like this: Fig. 1: <Title of figure> . . . 1 ...
3
votes
1answer
1k views

figures in sidewaysfigure environment are not listed in List of Figures

I was writing my thesis and found that all figures I included in sidewaysfigure environment are not listed in \listoffigures. How can I make those figures listed in List of Figures? What I did is ...
3
votes
1answer
358 views

Sync listings caption numbers and add all to List of Listings

I want to create a list of all listings. Listings itself allows to add captions and list them in a list using \lstlistoflistings, but they can not float. If I set up such a floating environment using ...
2
votes
0answers
415 views

Caption spacing in longtable package [closed]

I am using a style file that sets a particular spacing for the List of Figures (LoF) and List of Tables (LoT) in my Table of Contents. However, I am using longtable for all my tables, and it is ...
8
votes
2answers
3k views

Ignore citations in captions in list of figures when numbering

When using the \cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the ...
5
votes
1answer
477 views

Creating a second caption for a figure that won't appear in the figure's list index and is aligned with the first

I decided to write my completion of course work for my computer's science degree using LaTeX, contrary to university's popular choice, MS Word. I had a great time venturing though this tool and I ...