{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

2
votes
2answers
37 views

How to use \tikz\pic in \caption and “normal” Latex-text-environment

As an advancement to How to use a \pic in a node's text area {}?. What to do or avoid to let work the pic "lightning" in a caption and normal latex text? \documentclass[]{scrartcl} ...
0
votes
0answers
29 views

Setting the caption of a figure to the top [on hold]

The below snippet of my code displays the caption of the figure at the bottom. I tried to use the floatrow package but I still get the same outcome (caption at the bottom). Any idea? ...
1
vote
2answers
32 views

trying to create a caption command

Perhaps this is already done, in which case you can tell me the better way, but I would like to know what I am doing wrong. I would like to create the following sequence of code: \begin{center} ...
1
vote
0answers
26 views

How to align two figure that are next to each other [duplicate]

Here is my latex code both picture has same resolution and size but i dont know why alignment is not right. \begin{figure}[H] \centering \begin{minipage}[b]{0.45\textwidth} ...
1
vote
1answer
42 views

Width of figure affects caption position [on hold]

I would like to control the amount of space between a (starred) caption below a figure with width=\linewidth. However, when I choose skip=0pt, there is additional space compared to a figure of smaller ...
1
vote
0answers
15 views

Caption alignment of grid subfigures

I have 5 images and I would like to display them in 2 rows (3x2). This is what I've done so far, \begin{figure}[h] \begin{tabular}{ccc} \subfloat[caption]{\includegraphics[width = ...
0
votes
0answers
22 views

How to put multi-subfigure on a single page with different main caption?

I have to add 8 figures on one page using subfigure command in such a way that first 4 figures should be placed with one caption and next 4 figures with other caption. Please guide me with sample of a ...
0
votes
1answer
22 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
19 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 ...
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
26 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
35 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 ...
3
votes
1answer
26 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 ...
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
1answer
34 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} ...
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
23 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 ...
0
votes
0answers
17 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: ...
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
0answers
24 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 ...
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 ...
1
vote
1answer
14 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 ...
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
41 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 ...
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
1answer
31 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? ...
2
votes
2answers
53 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 ...
0
votes
1answer
40 views

Undefined control sequence caption

When I compile document that has such code: \usepackage{caption} \usepackage{subcaption} \DeclareCaptionLabelSeparator{emdash}{~--- } ...
2
votes
2answers
47 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
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
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 ...
3
votes
1answer
23 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
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
45 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} ...
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 ...
2
votes
1answer
24 views

\nolinebreak inside a figure caption

I have a centered figure caption. Here's an example of my code: \begin{figure}[!htb] \centering \includegraphics [width=\textwidth]{photo} \caption{ This is my caption. I want the following two ...
1
vote
0answers
21 views

Biomedcentral figure caption outside bounding box [closed]

When using the BioMed Central template (bmcart documentclass) the figure caption overflows the figures bounding box. How can this be fixed? \begin{figure}[hbtp] \centering ...
0
votes
0answers
23 views

Caption name position

I use capt-of package in my tex file to create the table. Howeve table description appears always up to the table. When I put the caption code below that the program gives error message. Is there a ...
2
votes
1answer
15 views

Reference to subfigure is either not showing or showing wrong

I am using the subfigure environment, but when I refer to it, the counter is either not showing or showing incorrectly. Here is the code. \documentclass[11pt]{article} \usepackage{amsmath} ...
1
vote
0answers
24 views

citation within caption [closed]

The following code produces an error: \begin{figure}[H] \includegraphics[scale=0.7]{errormeasures} \caption[Ma{\ss}zahlen zur Evaluation der SVM-Regression]{Ma{\ss}zahlen zur Evaluation der ...
1
vote
0answers
44 views

two caption styles [closed]

I'm using a KOMA-Script class with the twoside option. I have two types of figures: horizontal and vertical. I want to get a caption next to a vertical figure AND a caption below a horizontal ...
2
votes
0answers
35 views

How to put the caption below the listing? [closed]

When I use a simple caption, tex puts it above the listing \begin{lstlisting}[caption={My Caption}] \end{lstlisting} If I use \captionof, caption goes below the listing, but paragraph for next ...
1
vote
2answers
77 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 % ...
5
votes
1answer
33 views

Lstlisting duplicate caption

I've been trying to insert the code to my LaTeX document. I used this piece of code: \begin{lstlisting}[label={lst:rws}, captionpos={bottom}, caption={Pseudo-code of RWS Selection}] r = Random(); /* ...
3
votes
1answer
50 views

Inverted pyramid caption, but table not centered

I have managed to hack together a solution to the perennial "My university requires inverted pyramid style captions" problem. However, it isn't complete. I can make the captions inverted pyramid, and ...