{captions} is about captions for figures, tables and other, custom-defined floats or non-floating illustrations which are formatted to look identical to these floats. A popular package is caption.

learn more… | top users | synonyms

1
vote
2answers
254 views

Two figures with side captions next to one another

I currently have the following figure placed at the bottom of my page: \begin{SCfigure}[][h] \centering \caption{Georg Cantor (1845--1918)} ...
3
votes
1answer
63 views

How to place footnotes in the caption of a table?

Problem: Question title says it all, although it can be misunderstood, what I am trying to achieve is through a command (hoping for footnote) to be able to place a footnote mark anywhere in the table ...
0
votes
1answer
18 views

Subfloat-caption position

I am trying to create sub-captions above my side-by-side figures. I want sub-caption to be above the figures and main caption to stay below the figures. Here is my code: \documentclass{article} ...
1
vote
0answers
11 views

Large figure and legend on opposing pages in a two-sided book

I have a 500 pages book with some figure and tables. Sometimes a figure needs to fill an entire page. The legend for this large figure is going to the previous or the next page. I wonder whether this ...
3
votes
1answer
32 views

subfigure caption format differs for \captionof

When I place a subfigure caption using \captionof, the format differs from the one appearing when placed via \caption inside a subfigure environment. I suppose this is a bug in the \captionof ...
2
votes
1answer
23 views

HVFloat, caption below table

I would like to use the rotated table with the caption bellow the table. Unfortunately, the following code does not work. Thanks for your help.... \usepackage{hvfloat} \usepackage{booktabs} ...
2
votes
1answer
25 views

Different justification for table caption

I need get something like this with caption package: Word "Table 1." in the left with period after number. MWE \documentclass[]{report} \usepackage{caption} ...
3
votes
1answer
25 views

Why is \caption*{} not working?

I've been inspired by this question to add sources to captions. Basically, to define a source in a comment a new command can be created, \newcommand{\source}[1]{\caption*{\hfill Source: {#1}} } And ...
5
votes
5answers
9k views

How to center table caption that includes a newline

My table caption spans more than on line so I added a \newline to split the caption at an appropriate position. Now, the two lines are left aligned. How do I center the two lines of the caption? ...
0
votes
1answer
22 views

Listings titles in List of Listings

I have a question analogous to this one, but for listings instead of figures. In my TeX file, I have multiple listings defined as follows: \begin{lstlisting}[caption={A really, really, really, ...
0
votes
0answers
40 views

Prolems with $…$ in a caption of a figure. Am I missing some package? [closed]

I want to display an equation in a caption of a figure. \documentclass{scrbook} \usepackage{graphicx} \usepackage{amsmath} \begin{document} \begin{figure}[!t] \centering ...
0
votes
1answer
33 views

Remove line between caption and table

How I can remove line between caption and table? My code is: \begin{table}[h] \tables{360pt}{1.875pt} \caption{EG unit Characteristics for TPC and 201 bus distribution systems} \label{tab1} ...
1
vote
2answers
74 views

How to remove table name from caption in beamer?

Code \documentclass[xcolor={x11names,table}]{beamer} % http://tex.stackexchange.com/a/303060/13173 % http://tex.stackexchange.com/a/303091/13173 % http://tex.stackexchange.com/a/196808/13173 % ...
2
votes
0answers
21 views

Change table index format

I am using IEEEtran document class. \caption{some text} in a table environment ends up TABLE I: some text in the final PDF. But I need Table 1: some text. I managed to change TABLE to Table by ...
2
votes
1answer
21 views

Subfigures with no vertical space and top left aligned letter

I am trying to create an image composed of three subfigures that looks like this: Key features I am trying to capture are: No vertical space between the subfigures Subfigure letters are in the ...
12
votes
3answers
437 views

Index entries duplicated for captions

In document class book, and package caption, creating index with makeidx. Index entries for the main text and for footnotes collate properly; but those for captions create their own entries. Example: ...
0
votes
0answers
16 views

Link to picture, not to the caption [duplicate]

I have a table with some condensed information, and want to have in it links to figures (a lot), that illustrate some of the observations in the table. Anyway, if the figures look like: ...
2
votes
1answer
96 views

Missing $ inserted in python code

I use python3 (with code not from me) to insert data from a database (bsddb3) from the program GRAMPS into a LaTeX document (TeX Live 2014) and I receive the following error messages: ! Missing $ ...
1
vote
0answers
14 views

How to cite subfigure numbers for caption of the parent figure? [duplicate]

I am trying to cite subfigure numbers in the caption of the parent figure as shown in MWE. It works but I always get the following error which I cannot remove: Error Line 15: Argument of ...
1
vote
3answers
64 views

ltablex caption text formatting issue

I'm using the ltablex package for creating long tables over multiple pages. For my other small tables I use the tabularx package and I noticed a formatting mistake or maybe a bug? The table caption ...
1
vote
0answers
23 views

caption change beamer [closed]

I know this question has already been posed an awful lot of times but none of the solutions have worked for me so far. When I use \caption in figure environment in beamer (as in the example below) I ...
6
votes
1answer
290 views

Captioning tcolorbox

Inside my latex document I have several tcolorbox-es and several tcblisting-s and they are just fine. However, I would like to add a caption on every of them and mark then so they will be visible in ...
2
votes
2answers
32 views

Change default font and font weight for continuous text, headings, descriptions etc

I am trying to set OpenSans Light as the default font in my document of type scrreport, so I included the opensans package. This worked so far, as that OpenSans is now used for my continuous text, but ...
9
votes
3answers
7k views

How to change font size of longtable-lines without changing font size of caption?

I'd like to change the font size of all contents of a longtable to footnotesize. However the rest of the document and also the caption (!) shall be (stay) in normal size. (pdflatex is used) How can I ...
1
vote
1answer
13 views

How do I make an alternate caption for a sidecaption using the Memoir class?

I have a sidecaption in a Memoir class document that is very long. I need to create a short version of that caption for the list of figures. I have tried \begin{sidecaption}[short caption]{long ...
2
votes
1answer
135 views

Label on grammar environment

I want to have a caption and label on my grammar environment, and have implemented the solution here: How to use caption and label in grammar environment? got my grammar displayed with a caption and a ...
0
votes
0answers
30 views

1 Figure instead of Figure 1 in caption?

Maybe someone know how to change caption name of figure and number of figure order? Lithuanian standard is 1 Figure, but LaTex gives me Figure 1. The problem is, that when I use ...
0
votes
0answers
36 views

Caption options don't work in rmarkdown beamer template

I want to resize the figure captions in an rmarkdown beamer template, so I added \usepackage[font={small,it}]{caption} to my header.tex. But it doesn't work - the options are ignored. I didn't find ...
1
vote
1answer
216 views

Caption above figure using knitr

This is a question originally asked on stackoverflow, but it seems to receive no attention and answers there. Since it's related to LaTeX, I'm posting it also here hoping to receive some hints. I ...
2
votes
2answers
44 views

Change Algorithm caption Label color to blue and bold italics

I wanted to know how to go about changing the algorithm caption label to blue and bold italics. I have so far been able to change the caption name to blue, but I have not been able to change the ...
2
votes
1answer
1k views

How to rid of automatic .pdf label from \includegraphics? [duplicate]

Possible Duplicate: How to avoid showing the filename when using graphicx? So I'm using the \includegraphics command to put a PDF image of a table into my LaTeX file here, but this pesky ...
3
votes
2answers
29 views

Lineup captions of figures horizontally

I got these three figures side-by-side. All of the figures are in different sizes and I got different number of lines of text in the caption for each of the figures. My problem is that I want all ...
2
votes
2answers
52 views

Side-by-side figures with caption, specify height but use whole textwidth

I found this answer which does exactly what I want except the fact that I can't use a caption for my figures: Forcing subfigures to have same height and take overall X% of linewidth in LaTeX I want ...
2
votes
1answer
29 views

Automatically set Figure captions to Bold Italics

I wanted to be able to set the figure captions descriptions to bold Italics. I am using the command \usepackage[font={color=blue,bf},figurename=Fig.]{caption} in the preamble to set the figure name ...
3
votes
2answers
27 views

Longtable - Caption too short

I'm using longtable. But the caption is too short that it splits up my 12 word caption into two lines centered, only 1/3 of the table width. I would like to show the caption in one line. Any advice? ...
5
votes
2answers
59 views

strange caption numbers in cross-references and list-of-figures

I am trying to fit a large figure containing four subfigures into my document. The whole thing is close to a page break, so I decided to split the figure via \ContinuedFloat. So just in case the ...
0
votes
1answer
37 views

Undefined control sequence caption

When I compile document that has such code: \usepackage{caption} \usepackage{subcaption} \DeclareCaptionLabelSeparator{emdash}{~--- } ...
3
votes
1answer
21 views

Align caption baseline in second column with baseline of first column

I have a two column document that contains full page boxes. These boxes sometimes contain table or figure captions, which generally look best at the top of the second column of the box. However, the ...
3
votes
1answer
59 views

How to \nameref to a certain instance of a counter (used as pseudo-caption), use number in \nameref and add a title/description to the pseudo-caption

In the following MWE, the environment "quoter" is used let's say a little bit as a "pseudo"-caption: it is not a real \caption or \captionof, but still it generates a counter and displays a word such ...
2
votes
1answer
1k views

using subfig changes fonts in captions of figures

I used package subfig(for using \subfloat). This undoes the special font size for the captions in the figures. Now they are of same size as normal text. How to counter that? The Document class and ...
2
votes
0answers
36 views

How to centre a specific caption? [closed]

I know that the same question was already discussed in the forum. The suggestion was to use \usepackage{caption} .. I use \documentclass{ieeeconf} instead of \documentclass{article} and ...
2
votes
0answers
45 views

Justify main caption in figure

I have two figures that I am putting vertically in my text. The two figures are located in the same column, on top of each other. I am trying to left justify the main caption of this figure (by ...
3
votes
1answer
20 views

How to have captions above each “pseudo-subfigure”?

The following subfigures are not real subfigures, but I will call them pseudo-subfigures, since I would like to have captions above them like one can easily do with real subfigures. However, I would ...
4
votes
1answer
38 views

Adding a caption to a tcolorbox \tcblisting

I'm new to the whole TeX world and have finally managed creating my own tcolorbox code box: Now I would like to caption my code boxes like regular listings. It should say something like ...
2
votes
1answer
25 views

How to customize the figure numbering with a letter or special symbol?

I want to distinguish the figure number by adding a letter, say "a", or a special symbol, such as \star, between the word "Figure" and number. In other word, what I'd like to have is something like ...
2
votes
1answer
32 views

Different Style of captions

I am writing a document where I have different types of figures like tables and listings. To get the captions the way I want I wrote the following in the preamble: \usepackage[font=small, ...
2
votes
1answer
34 views

How to make \captionof have: 1) more space between image and caption & 2) encompass less width than \textwidth

This question is specifically regarding \captionofs, which I have been using instead of captionss since the latter are floating. (Unfortunately, I have experienced that \captionof's sometimes ...
2
votes
1answer
21 views

Subfig's ragged-right caption with hyphenated word breaks unaesthetically

Minimal working example \documentclass[11pt, twoside]{report} \usepackage{caption} \usepackage[]{subfig} \usepackage{graphicx} \begin{document} \begin{figure} ...
24
votes
3answers
7k views

Remove colon in the caption of a figure if the caption is empty

One of my figures should not have a caption, only the normal numbering. To get this, I use this code: \begin{wrapfigure}{l}{4cm} \begin{center} \includegraphics[width=3cm]{graphic.pdf} ...
5
votes
2answers
8k views

changing spacing of caption

I'm creating a figure using LyX. I would like the spacing of the caption below the figure to be 1.3. Is there an easy way to accomplish this? Setting the spacing to 1.3 for the entire document using ...