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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

How to put the caption of a TikZ Picture below an image when using overlay option?

How to put the caption of a figure below an image when using overlay option? I want to avoid to shift the caption manually via \vspace{} or something like that. \documentclass{article}% \usepackage[...
PascalS's user avatar
  • 766
1 vote
1 answer
24 views

minipage: horizontally alingned figures with common caption

I am using minipage to insert 3 figures horizontally, each having its sub-caption, and then a common caption. My intention is to produce a figure like: Reproducible ME: \documentclass{article} \...
Amina Umar's user avatar
1 vote
1 answer
17 views

Table caption cannot be justified using the caption package [duplicate]

I am trying to justify the caption of a table instead of centering it. I found many questions (including this one) explaining that the caption package proposes the option justification=justified. This ...
AlMa's user avatar
  • 560
0 votes
1 answer
58 views

Captioned figure in frontmatter causes error when using floatrow package with "facing"

I am writing a two-sided document with margins (based on the kaobook-class) and would like to add a figure to the front matter. However, when adding a captioned figure, the compiler throws an "...
mapf's user avatar
  • 207
1 vote
2 answers
54 views

Caption inside tabularx causes error (no line to end)

I'm trying to use a caption inside a non floating tabularx. Until now I used \captionof but this causes the counter to increment twice due to the underlying use of longtable as far as I understood. So ...
KevKosDev's user avatar
  • 113
0 votes
0 answers
36 views

Idiom for an explanatory note at the bottom of a float, other than the caption?

I've placed a float in my document, and given it a caption, saying what the float contains (e.g. "Effect of Foo on Bar, by year"). But - I also want to add a bit of text below the main ...
einpoklum's user avatar
  • 12.3k
0 votes
0 answers
23 views

Table caption title's second line does not align with first line

I am trying to adjust the table caption to appear in the List of Tables index page. Below is the problem I am facing. I have the issue where the second line of table caption not aligning with first ...
Niranjan Ravi's user avatar
2 votes
1 answer
97 views

How to add additional captions to the left side of each row?

I'm trying on adding extra captions on top of the first row and to the left of each row, and I don't know how to add them to the left side of each row. This is the code I've tried: \documentclass{...
abcd's user avatar
  • 23
1 vote
1 answer
36 views

How to change the numbering system of figures in LaTeX?

This is probabily a very simple issue but I only have used templates of LaTeX so far and I am not used to the coding itself. I have a template that uses the numbering of figures as for example Figure ...
Victor's user avatar
  • 11
0 votes
0 answers
37 views

How do I center a figure vertically in moderncv?

I would like to center a figure vertically in moderncv. I cannto use the figure environment and not the caption package in moderncv, hence I use minipage and a manual caption. Please consider the ...
Christoph Mark's user avatar
0 votes
1 answer
35 views

Error related to caption style [closed]

I am using a template and got the following error that seems be related to caption.sty: ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <...
John Green's user avatar
3 votes
3 answers
451 views

How can I represent a math formula as a figure?

I want to represent a math formula as an figure instead of an equation. My code: \documentclass{article} \usepackage{mathtools}% Loads amsmath \begin{document} \begin{equation} \underbrace{x\ .\ y}...
alper's user avatar
  • 1,379
0 votes
0 answers
27 views

Place subfigure caption top left in revtex4-2 template

I would like to place the subfigure captions at the top left of the images. There are a ton of questions like this here but they all use the subcaption package, which I don't want to do since my ...
Ptheguy's user avatar
  • 353
1 vote
1 answer
40 views

Removing label bit from caption is not working

I'm making a poster and I'm trying to remove the label bit -- "Figure xx:" -- from a figure caption, as described in https://stackoverflow.com/questions/3162234/getting-rid-of-the-figure-1-...
sai saandeep's user avatar
3 votes
1 answer
89 views

caption library for tabularray package

I am trying to (somewhat) implement a caption library for tabularray, based on the answer here As @Ulrike mentioned, the original answer gives warnings with hyperref due to double hyperlinks anchors ...
Mane32's user avatar
  • 720
1 vote
1 answer
39 views

LaTex table, how to make a table sequel to not be counted and labeled as a new table?

I'm new to LaTex and I'm having some trouble dealing with issue related to tables. I have two tables -- let's say, table 1 and table 2. LaTex compiler is treating these as different tables, so it ...
Fabio Phillip's user avatar
0 votes
0 answers
29 views

How to remove centering of the captions in figures and subfigures?

I am facing trouble removing centering of the captions in the figures, I tried justification==justified as well, but its not working. Also, I tried \raggedright in the caption, it is moving the ...
Lakshita Jindal's user avatar
0 votes
0 answers
46 views

How to rotate the figure and caption?

I have an image in landscape type; hence, I placed it by rotating it (angle = 90) to 90 degrees using a figure environment. However, I noticed the image caption is on the side but not at the bottom. I ...
vinoth kumar's user avatar
4 votes
3 answers
207 views

How to rotate figure with caption

I have an image in landscape type; hence, I placed it by rotating it (angle = 90) to 90 degrees using a figure environment. However, I noticed the image caption is on the side but not at the bottom. I ...
vinoth kumar's user avatar
0 votes
1 answer
38 views

Left alignment of TOC numbers and Captions numbering in arabic

I nedd help to align TOC numbers to left and to change captions numbering to arabic not hindi like in the pictures. Thank you. \documentclass[a4paper, oneside, 11pt]{book} \usepackage[top=23mm,bottom=...
Daouha Poetry's user avatar
1 vote
2 answers
80 views

How can I change the caption format of an image?

I paste a picture into my document. By default, the caption alignment (Fig. 3) is centered and there is a colon before the caption. How can I make the label left aligned and change the format from Fig....
Alevtina's user avatar
0 votes
0 answers
55 views

Same three heads with three different captions: xltabular

In my thesis, there is a very long table that occupies three pages. According to the ABNT's format (Brazilian things) if a table takes a lot of pages, then the caption must contain the next indication:...
Eric André Velasco's user avatar
0 votes
0 answers
22 views

How to fix misaligned subfigures with subcaptions

I have two subfigures where the right one is vertically above the left one. I am not sure how to fix this. Here is the code I have: \documentclass[12pt]{article} \usepackage[margin=1in]{geometry}% ...
melatonin15's user avatar
0 votes
1 answer
27 views

Keep text colour inside tables and table/figure captions

I have the following environment definition: \newif\ifrev \newenvironment{revision}{% \begingroup \revtrue% \color{blue}% }{% \revfalse% \endgroup } This ...
Mate de Vita's user avatar
1 vote
1 answer
37 views

How to remove spaces between multiple tables, and still let it spill into multiple pages?

I've seen many questions regarding 2 tables, but for some reason none of the solutions worked for me when I have multiple tables, which may extend to a new page. The example below is for 2 tables, but ...
somewhere's user avatar
1 vote
2 answers
26 views

How to get captions to appear when wrapping 2 environments into one using the `subtable` environment?

I have a MWE below which is intended to wrap 2 environments into the table environment using subtable. The first is a regular table created using tabular. The other is an array. It mostly works as ...
underdog987's user avatar
0 votes
1 answer
31 views

Caption of figure not centering in report class

I am using a report class and trying to make any caption of the images to the center (the image comes in the center not the caption). These are the packages I am using: \documentclass[12pt,letterpaper]...
Joy Acharjee's user avatar
1 vote
1 answer
45 views

Table caption is not showing

I have the following issue in overleaf: I'm using the CAIM_sciendo_open_article_BY4 class, and the caption in the table \begin{table}[H] \centering \caption{Physical parameters of polypropylene} \...
Jeji's user avatar
  • 133
2 votes
1 answer
60 views

Cite references ( \cite{} ) in Tables/Figures

I have the following table: \begin{table}[hbt] \centering \tabcolsep=0.3cm \caption{Gram Negative Bacteria.}{\cite{Bacterial_Classification}} \label{Tab:Gram Negative Bacteria} \renewcommand{\...
DGuys's user avatar
  • 57
3 votes
1 answer
59 views

Trying to apply two different caption styles using \caption, but the styles won't get applied

Below is my full LaTeX document. My goal is to create two different caption styles. One style for the caption for the programming blocks (created with listings), where above the programming block, a ...
 kyarudata's user avatar
0 votes
0 answers
25 views

Problem with Vector (\vv{E}) in caption [duplicate]

I'm enountering an error when using vectors from the package esvect inside a caption. It's giving me the following errors: 17: Argument of @caption has an extra }. ...t giving errors in a caption: $\...
barley's user avatar
  • 1
2 votes
1 answer
42 views

\centerlastline for captions in tabularray

I’m trying to migrate to tabularray and I’m stuck with caption formatting. I need the caption to be justified, except for the last line, which should be centered; if there is only one line, it should ...
ScumCoder's user avatar
  • 1,629
-1 votes
1 answer
61 views

Centering the caption of longtable [closed]

I've tried to center the caption of a long table (longtblr) but it always appears to the left I used the package \usepackage[justification=centring]{caption} and \captionsetup{justification = ...
b.als's user avatar
  • 25
1 vote
1 answer
50 views

How to reset \captionsetup{} to default after changing it before in the document

I have already successfully changed the \captionsetup{} of my document to a different format provided in the code below. However, I need to come back to the original \captionsetup{} but it does not ...
Juan Esteban's user avatar
2 votes
0 answers
118 views

Enforcing Full Stop at the End of Hanging Captions within `xltabular`

The following posts provides a solution for adding a full stop at the end of hanging captions, but I'm encountering issues when applying this in the context of xltabular. Can I extend this ...
Highnoon's user avatar
1 vote
1 answer
40 views

Enforce Full Stop at the end of each Hanging Caption

I am trying to enforce a full stop at the end of each caption in my LaTeX document. I found this post with basically the same question, but it breaks when using \usepackage{caption} as well as hanging ...
Highnoon's user avatar
0 votes
1 answer
72 views

Add the word "Supplementary" in the caption title of longtblr

The longtblr caption title does not change from "Table" to "Supplementary Table", as the table caption title does. Indeed, in the longtblr caption title, I would like to add the ...
Ommo's user avatar
  • 575
3 votes
1 answer
71 views

Symmetric Tufte-book with Longtable Captions?

I use Pandoc to generate LaTeX, which uses longtable. By default table captions for longtable do not get placed in the margin. Based on this answer a working solution is the following hack: \...
The Tentacle's user avatar
0 votes
1 answer
51 views

\documentclass{wlscirep}: the caption title of longtblr is not bold as the caption title of table

I am using both table and longtblr within \documentclass{wlscirep} (that you can find in "Template for submissions to Scientific Reports"). I have noticed that the caption title for the ...
Ommo's user avatar
  • 575
0 votes
1 answer
49 views

\colorlet{saved}{.} inside caption produces error

\colorlet{saved}{.} inside caption produces an error. I don't understand why? How can I fix this? Are there better alternatives to \colorlet{saved}{.}? MWE: \documentclass{article} \usepackage{amsmath,...
Jakob's user avatar
  • 939
2 votes
0 answers
46 views

renewcommand ignored in caption

I have redefined a command to give me a negative sign that is more convenient for me. This works in all contexts except within a caption. \documentclass{article} \usepackage{amsmath} ...
krumpelstiltskin's user avatar
0 votes
1 answer
55 views

Problem with captions in apa-style

the following code \NeedsTeXFormat{LaTeX2e} \documentclass[man,floatmarkers,noapacite,latin]{apa} \usepackage[backend=biber,style=apa]{biblatex} \usepackage{csquotes}%context-sensitive quotes, ...
Engelbert Buxbaum's user avatar
1 vote
1 answer
85 views

When using the caption package and the capt-of package, the behaviors of the \captionof command are different?

When I use the caption package, the \captionof command only can be used in a group or an environment. But when I use the capt-of package, there are no warnings about using the \captionof command ...
LHRG's user avatar
  • 43
1 vote
1 answer
34 views

Different caption setups for different figures/tables

I need to use different caption setups for different figures (tables). For example, if the title of a figure (table) is a single line, it should be centered, otherwise it should be justified and ...
Burak's user avatar
  • 45
1 vote
1 answer
83 views

Text outside tbox

\begin{tcolorbox} \begin{lstlisting} [caption = {C Code}, captionpos=b, label = {Listing3}, abovecaptionskip=12pt] int a ,b; int value = 20; \end{lstlisting} \end{tcolorbox} I am using the above code ...
sara lee's user avatar
0 votes
2 answers
49 views

When placing the caption of a table above, the LaTeX code won't compile

I was asked to create a table in LaTeX in which some citations are made inside it using the IEEE standard. Also, I was asked that the caption of that table is placed above. However, for some reason it ...
Chris Cars's user avatar
0 votes
0 answers
27 views

How to put a footnote in a figure caption without it showing up on \listofffigures?

I know this topic has been talked about in this forum extensively but I don't seem to find a good answer. To get a footnote on a caption of a figure the only way that I've been really satisfied been ...
Zedssad's user avatar
  • 123
0 votes
1 answer
34 views

How to remove indentation in very long caption in tabularray?

I have a table as follows. How can I format so that the caption does not have any indentation from the second line? \documentclass{article} \usepackage{tabularray} \begin{document} \begin{...
Rounak Niloy's user avatar
0 votes
3 answers
53 views

Why are figure numbers not showing in captions on minipage?

I am including a series of figures in minipages (using \captionof for captions) but unfortunately the captions are not showing the figure numbers at all. Can someone help me here please? Code and ...
osckt's user avatar
  • 25
2 votes
1 answer
20 views

Controlling vertical space below a caption placed above a table

I'm writing a larger document with several tables, the content of which is inline in some cases, and included from external files (created by other programs) in others. Captions are placed above these ...
chsk's user avatar
  • 3,667

1
2 3 4 5
76