Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [captions]

{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.

0
votes
0answers
9 views

Multiline subfigure caption cannot be shown fully

It's covered by the picture form the next line as shown below: I've tried to set subfigure with new width or new height, but the problem is still there. The source code is as below: \begin{...
0
votes
1answer
20 views

putting a footnote in the caption of a table within a figure

I have lots of figures with multiple subfigures and associated tables, and I have been asked to add footnotes to them. Here is a minimalish working example of a figure including a table on a page ...
1
vote
1answer
28 views

Pictures vertical aligned, with vertical aligned caption side by side and configurable horizontal space

i have already searched the internet and the forum for a solution, but unfortunately no post applies to my requests. Also the merging of different posts didn't work out. The goal is: 2 png-graphics ...
2
votes
1answer
23 views

Longtable has two captions/heads on the next page

Here is a demo: \documentclass[12pt]{article} \usepackage[onehalfspacing]{setspace} \usepackage{longtable,booktabs} \setlength\LTpre{5em} \setlength\LTpost{5em} \usepackage{caption} \...
1
vote
1answer
34 views

Weird spacing between caption and table with floatrow package

What I would like to do : put table captions directly above my tables without space between the caption and the table Here is what I get : I am using the floatrow, subfig and caption package and I ...
1
vote
1answer
18 views

How to set caption skip for longtable

I tried \belowcaptionskip and \abovecaptionskip. No effects. Here is the MWE: \documentclass{article} \usepackage{longtable,booktabs} \setlength\abovecaptionskip{10pt} \setlength\belowcaptionskip{...
1
vote
0answers
30 views

Different math font for captions in LaTeX

I have two fonts in my LaTeX (not XeLaTeX or LuaLaTeX) document: Serif font: used in main text and math environment (mathpazo). Sans-serif font: used in titles and captions (pag). Math symbols in ...
1
vote
1answer
23 views

leave the caption empty [duplicate]

I have figure with multiple figures (top, bottom). I want to use (a,b,..) for multiple figures. but all my figures have titles on, I believe that putting caption for (a) and (b) is not necessary. ...
3
votes
1answer
36 views

Young tableau in figure caption

Is there a way to insert a Young diagram or tableau inside a figure caption, using either the youngtab or ytableau packages, or otherwise? The simple synthax of just adding - say - $\yng(3)$ does ...
4
votes
1answer
42 views

Caption alignment problems in minipages and subfigures

I failed to center all captions in each subfigure like this. Captions in the left part (four subfigures "A") are not at the center I think. Captions in the right part (four dependencies) are aligned ...
1
vote
1answer
24 views

How to refer to a Table in the LOT without having to put a caption below it?

I was looking at a few examples on how to list a Table in the LOT without the need to have a \caption below the acutal table. There was a nice example from Alan Munn \documentclass{article} \...
0
votes
0answers
21 views

How can I set the listings caption fontfamily in the appendix? [closed]

EVERYTHING in my document is Arial (because it is a requirement for the document to be accepted). However when I add a caption in my appendix, the "D.1" for example is Times Roman instead of Arial (...
0
votes
0answers
18 views

Having trouble with caption spacing in a minipage

I have a minipage with 2 figures side by side, but there is no white space between the captions of the respective figures. How can I fix this? Here is what I have: \begin{figure} \begin{minipage}{...
1
vote
1answer
16 views

How to remove second caption here?

I have a table spread over multiple pages using tabularx: \documentclass[11pt, a4paper, parskip=half, BCOR=10mm, ngerman, english]{scrbook} \usepackage{booktabs} \usepackage{ltablex} \begin{...
4
votes
1answer
42 views

Centering subcaptions in a tikz pgfplot subfigure environment?

I am having a difficult time centering subcaptions for a figure. The figure looks like the following: But as you can see, the Panel A and Panel B subcaption are nowhere near being centered with ...
2
votes
1answer
19 views

\thetable returns a value that is off by 1 if used in longtable environment

I noticed that the \thetable command returns the wrong number for longtable environments. I'm including the phrase "Continued from the previous page" in my table header and prepend it with \tablename\ ...
4
votes
2answers
38 views

Table caption alignment in threeparttablex-longtable combination

I am new to StackExchange, so any suggestions to improve my question framing are welcome. I have some trouble getting the caption of my table aligned. Since I need a landscape, multipage table, I am ...
2
votes
2answers
125 views

How to place additional text before picture number and name in caption?

I need to make the caption look like this: Additional text Figure 1:Picture name How I can achieve this?
0
votes
0answers
25 views

Exchange number against letter in figure caption

I have a lot of figures which are numbered with: Figure 1.1, ..., Figure 8.5. In between, I have two special figures, that I want to call Figure A and B, so that the numbering of figues goes like: ...
0
votes
0answers
34 views

Caption setup for package Minted

When using minted, the spaceing below and above the code is too high. In comparsion when using a new created environment (mintedlisting) with the package caption, the spaceing seems to be right but ...
1
vote
2answers
29 views

What's the syntax for right justifying a caption only on an inserted pdf?

I'm new to Latex and although I've got the hang of basic justification, I don't have enough knowledge to work out the syntax for this specific problem. I have inserted a pdf page and as a figure, it ...
1
vote
1answer
34 views

Side-captioned equations not working with hyperref

I have a problem here getting this to work. I have a document where I've manually wrapped the text around a couple figures and math examples (the 2x2 matrix in the attached image). This is done using ...
2
votes
1answer
76 views

A new and better aesthetic look for figures and captions with vertical braces

Starting for the question Center a rounded square into a green line with the excellent @marmot's answer, using your MWE, \documentclass[12pt]{book} \usepackage{newtxtext} %%\usepackage{classico}%%%%%...
0
votes
2answers
22 views

Define a caption figure name style

I'm trying to make my captions look like this: But without any success until now. Does somebody have any idea to make my caption name look like this? I'm working in a Tufte book environment and I'm ...
1
vote
2answers
27 views

Expand graph over twocolumns on titlepage

I am using the (very outdated) documentclass asme2ej, which produces two-column academic journal documents. My problem is as follows: I want to print my title, switch to onecolumn style and add an ...
0
votes
2answers
36 views

How to add captions to individual tables inside tabular?

I have the following code which creates three tables side by side. How do I add a different caption to each of them separately? \begin{table} \footnotesize \begin{tabular}{|l|l|} \...
0
votes
0answers
24 views

Add caption to verbatim environment and adjust padding?

I do like the verbatim setting and the ascii border, but the wanted algorithm caption padding is too great, same with the top to flow text. Am i doing it right? \documentclass{article} \usepackage{...
0
votes
1answer
36 views

Linebreak not working for long lines in list of figures

In my list of figures for some long captions, the caption goes beyond the right corner of the page but not for all of them. I tried the solution here: https://latex.org/forum/viewtopic.php?t=11021 but ...
0
votes
1answer
28 views

Natbib hook for italicised captions

Identical to Citation within caption => avoid italics (biblatex) just for natbib: Captions are italicised, how can I enforce \cite{ref} in a caption to behave like \textup{\cite{ref}} (other than ...
1
vote
1answer
21 views

caption under image too short

I want to put an image completely to the right of my document. However when I want the caption under it, the caption breaks in the middle and appears in parts under the image. But I want this caption ...
0
votes
2answers
33 views

pagebreak in \caption within a \begin{figure}-environment

I know there are a lot of questions like this everywhere, but i didn't find an answer to this: I have a figure with a lot of figures inside (a-e, build in MS powerpoint (not in latex)). Means my ...
1
vote
1answer
45 views

How to add a caption to a picture which already fills out the whole frame?

In my slideshow, I have a picture which needs a caption but for better looking I want it to be in the original ratio. Therefore the size of the image is defined as width=\pagewidth and height=\...
2
votes
1answer
34 views

How to add caption to my figures

Here in my work there are two figures in which i want to add captions as Figure (i) and Figure (ii) separately. MWE: \documentclass{article} \usepackage[ a4paper,top=1in,bottom=1in,left=0.7in,right=...
3
votes
1answer
34 views

ltablex caption causing errors

This code seems to work without \caption \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{booktabs} \usepackage{ltablex} \usepackage{caption} \newcolumntype{Y}[1]{>{\hsize=#1\...
0
votes
0answers
25 views

How to prevent additional space after a table?

I have a table and I was not able to remove additional space that exists after the table's caption. \begin{table}[ht] \raggedright \begin{tabular}{l|l} ... \hline \end{tabular} \...
2
votes
1answer
22 views

How can I have an additional "source'' caption in a table redefined with `renewenvironment`?

I had tables working well with a regular caption above and source information below each of them: After implementing a solution given in https://tex.stackexchange.com/a/485538/91816, the captions ...
3
votes
3answers
99 views

How to assign captions for two tables in LaTeX?

I want to put two tables side by side and my I have included a sample code below. How can we put separate captions for two tables in LaTeX included in one tabular environment? \documentclass{article} ...
1
vote
1answer
11 views

Set \minipage within \Declarecaptionformat width to match figure

I'm trying to set up captions in my document to all have a certain format, as can be seen in the screenshot: I'm doing this through the caption package, as can be seen in this MWE: \documentclass[...
1
vote
1answer
47 views

Align caption text to center and have its label to the left

I am trying to have the caption of a figure aligned as it is below: Description: I included a few rows of text above and below the figure to see the alignment of the caption. It seems to me that the ...
1
vote
3answers
38 views

Placing three figures side by side, each with its own caption

I'm trying to place three images side by side each with its own caption. The code written below works great with the placement of the images, but the captions don't. When compiling it only shows the ...
1
vote
0answers
35 views

Centering caption in subfloat with a forced linebreak [duplicate]

I have a few subfloat captions that are too short to have an automatic linebreak, but I want to force one and still have centering among the lines: Basically I would like a and b to be like c ... ...
1
vote
1answer
69 views

How to remove the word “Figure” from a caption?

How to remove a caption when using figure. I need to have a figure with no captions or the word Fig \Figure[!t]()[width=1\textwidth]{figures/loc.pdf} {certain caption. }
0
votes
1answer
27 views

caption in picture goes above the picture

I have a problem: I have some pictures & I want to have the captions underneath the picture. I have used \usepackage{graphicx} and for example the code looks like \begin{figure}[h] \begin{center}...
0
votes
1answer
20 views

How to add a caption or description to a graphic

I'm writing a paper for one of my classes that requires me to include some graphs. I've been able to include the desired graphs without too much trouble, and I've been able to center them and size ...
2
votes
2answers
49 views

Caption formatting does not work with bidi

I am using the caption package to format figure and table captions. However, this breaks for longtable tables when the package bidi is loaded. Here is a minimal example: \documentclass{scrartcl} \...
0
votes
0answers
11 views

Captions are not stick together with the figure in nature class [duplicate]

I am using nature class file. In that class, \includegraphics was not working. Which I solved with some modification in the .cls file. However, the captions and labels are not working. Could anyone ...
2
votes
2answers
44 views

Multiple listing styles with caption package

This question is mainly related to Multiple listings styles. If I have \usepackage{caption} definition in the head of file, list of custom listings disappear. How to make it work? \documentclass{...
2
votes
0answers
41 views

problems with caption in LaTeX [duplicate]

The \caption command in the end posts a caption that says "Table 2: (my text)", even though it is only my FIRST table. I want it to say "Table 1". How? \documentclass[11pt]{article} \usepackage[T1]{...
0
votes
1answer
21 views

Define a new caption in a new listing environment by overriding caption setup for lstlisting

This issue is mainly realated to Define a new caption in a listing environment. I want to define caption setup for default lstlisting but also want to define caption setups for new listing ...
1
vote
1answer
24 views

add text just before caption number of lstlistings

How can I add a text (i.e., # symbol) just before the number (between label and number, i.e. Listing #1:) in lstlisting caption?