Stack Exchange Network

Stack Exchange network consists of 174 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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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
1answer
34 views

Figure caption with extended fields

Known feature of \caption is: \caption[Text for the list of figures]{Text under the figure} \label{fig:theReference} Target is to include more arguments in \caption and have this arguments ...
1
vote
2answers
28 views

Caption above with the use of adjustbox and footnotesize under picture

I am trying to rotate a figure with the adjustbox statement as mentioned in Rotate picture with caption. How ever I cant force the caption to be above and not below the plot inside this Code. Also I ...
1
vote
1answer
43 views

Longtable and tabular caption vertical and horizontal alignment

My problem is similar to this question, the caption alignment of tabular table and longtable is different. I would like to have the caption to be consistent with the tabular form, with some white ...
0
votes
0answers
28 views

Change hebrew caption for figures (איור) to bold in LyX

I'm using LyX for quite some time now. Lately I'm required to write in Hebrew in LyX. I followed the instructions Here to install the LyX and LaTeX support. Most options work just fine, however I'm ...
2
votes
1answer
36 views

How could I remove space after framed figure's caption and text follows it?

I have following code: \documentclass[10pt,journal,compsoc]{IEEEtran} \hyphenation{op-tical net-works semi-conduc-tor} \usepackage{graphics} \usepackage{mdframed} \usepackage{tikz} \usepackage{...
0
votes
0answers
24 views

Figure caption under figure annotation

I'm working on my literature review for my thesis. I'm using a double column journal-type template. I am running in to a small problem, namely, that the caption of my figure appears under Fig 2. and ...
0
votes
1answer
36 views

Left Alignment of footnotesize

I am trying to display the note under a figure left aligned. However if the note is more than one line the latter line is centered. If the note only contains one line it is displayed as below. Is ...
0
votes
2answers
24 views

place caption on top of figure [duplicate]

I have a figure consisting of three subfigures, but they are all contained within a single .png file. There's a blank space in the bottom-right portion of the figure, where I'd like the figure ...
1
vote
1answer
23 views

How to change sub-caption to small font from capital letters?

I used \usepackage{caption} and \usepackage{subcaption} respectively for the captions. now when i generated the pdf i get the subcaption as (A),(B),(C) . I need all of them in small letters like ...
0
votes
1answer
30 views

! Package caption Error: hang undefined

Hi i am trying to use minipage for placing 3 figures side by side in latex. But it shows following error: ! Package caption Error: hang undefined. See the caption package documentation for ...
0
votes
1answer
24 views

How to select the options of the caption package correctly? 'Figure' bold, but '(a)' and '(b)' not

this is my current choice of the options for the caption package: \usepackage[labelfont={rm,md,bf},textfont={rm,md,sl}]{caption} And the results is looking like this: I would like to have 'Figure 5....
1
vote
2answers
68 views

How to center a line under a figure

I want to put a line to distinguish the graphics from the text in my document. I found a way to add the line but I want it to be at the same length as the caption and not \linewidth. Although, when I ...
0
votes
0answers
25 views

svmono + newfloat - caption: how to adjust spacing separating the caption and the float contents

Consider the following code \documentclass{svmono}% Version 5.5, available from https://www.springer.com/gp/authors-editors/book-authors-editors/manuscript-preparation/5636 \usepackage{newfloat} \...
2
votes
1answer
23 views

Title plus caption beneath figure

I would like my figures to have a title and beneath that a longer caption in a smaller font. Please see the image for an example of the desired format. The title, however, does not need to be in bold ...
0
votes
1answer
35 views

Trouble putting a table in a certain section

When I put the label at the bottom of my table, its title the section before the the section that it is currently in. Here is my Preamble: \documentclass[openany, oneside]{book} \usepackage{...
1
vote
3answers
39 views

How to put a name under a section caption

I am the author of one section of a report. I want to but my name right under the caption of this section. And I want this to appear in the table of contents. This Question gives a very nice answer ...
1
vote
1answer
39 views

Is it possible to jump to the image with href while not using captions?

I am using various figures throughout my documents without captions. In order to reference them I use the command \refstepcounter{figure} before labelling them with \label{fig:label}. However, when I ...
0
votes
1answer
28 views

purify captions [duplicate]

I'm inserting graphics in an article and want to use the figure-environment; but I would like to omit the figure nn: expression and only read the text of the caption. I succeeded in renewing the \...
1
vote
1answer
68 views

Differentiate figures from graphics

I need to differentiate illustration from graphics. This is necessary due to the norms from my country. So I have created a "\DeclareNewTOC" that worked fine: \DeclareNewTOC[ type=graficosabnt, ...
1
vote
1answer
21 views

Positioning of image with caption

I have some issues with positioning an image with the help of textpos-package. I want the figure to be positioned as in frame 1, but with a centered caption (like in frame 2). I tried to put the image ...
1
vote
0answers
30 views

How to get justified subcaptions with \subfloat in revtex

I know that the documentclass revtex4-1 is incompatible with the caption (and subcaption) package and thus when using the subfig package I need to add the option [caption=false] as elaborated by ...
0
votes
1answer
36 views

Tablenotes and Captions at the bottom of Longtable

I am trying to put a note at the bottom of the following longtable. Unfortunately, this is the result I get. \documentclass[12pt]{article} \usepackage{booktabs,amsmath,bm,siunitx} \begin{document} {...
0
votes
1answer
31 views

How to put caption in center in table and remove the “Table” from the caption?

\documentclass[usenames,dvipsnames]{beamer} \usepackage{xcolor} \usepackage{tikz} \usepackage{listings} \usepackage{dcolumn} \usepackage{algpseudocode} \usefonttheme[onlymath]{serif} \usepackage{...
1
vote
1answer
29 views

Use of caption package resulting in text “figure” in margin

I am writing a two column paper. After adding the caption package to my tex file, the text "figure" now appears in the left margin for every standalone figure as is shown in the picture. \...
2
votes
3answers
37 views

Algorithm sub-numbering

I have the MWE: \documentclass{article} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \noindent \begin{minipage}[tb]{\textwidth} \centering \setlength{\intextsep}{0pt} \...
4
votes
0answers
39 views

Listings caption alignment in list environments

I'm having trouble with the alignment of captions of lstlisting inside environments like description or enumerate. I'm using the listings and caption packages. As soon as I try setting the caption ...
0
votes
1answer
34 views

How do I put source text after figures/tables and title captions above?

I'm trying to use table and figure titles above the objects and the source description below, like this: Figure 1 - Figure Title FIGURE Source: Figure Source For now, i have the following code in ...
1
vote
1answer
45 views

Caption does not fill the whole column

I am using the ReVTeX 4.1 template (for AIP journals), and while I was trying to add figures I noticed that the caption does not fill the whole column. Is there a way to make caption fill the lines (...
1
vote
2answers
61 views

How to define reference label and caption name in 'duplicated' environment?

I want to define a new environment that is very similar to the longtable environment, therefore I tried the following: \documentclass{report} \usepackage{caption} \usepackage{longtable} \usepackage{...
1
vote
1answer
53 views

\setcaptionfont in tufte-book does not work

I want to format all my captions (tables, figures, ...) in tufte-book. The built-in \setcaptionfont command leads to surprising results: margin tables are all formatted, captions of normal tables or ...
0
votes
0answers
60 views

Hyperref not jumping to the appropriate location for memoir's subbottom

I'm trying to utilize native Memoir subbottom command. However, I'm unable to make hyperref links jump "to the picture", rather than "to the caption". Only links to (a) and (d) work as desired. \...
0
votes
1answer
39 views

Table format issues. Column lines and horizontal lines are not with proper margins + caption alignment

Table format issues. Column lines and horizontal lines are not with proper margins. Caption alignment is also not proper if change in minipage width setting %%%%%%%%%%%%%%%% \begin{table} \...
3
votes
1answer
29 views

Change color labelsep figure

I am trying to colour the figure caption of my report and also change the label separator from Figure 1: This is a figure. to Figure 1 - This is a figure. So far I had success changing the ...
2
votes
1answer
26 views

Interference of \addtokomafont and subcaption

Dear stackexchange users, the document \documentclass{scrartcl} \addtokomafont{captionlabel}{\textbf} \usepackage{subcaption} \begin{document} \begin{figure} \caption{test} \end{figure} \end{...
2
votes
1answer
25 views

How to place the figure caption to the left/right? Not aligning, but moving it

I'm using \usepackage{graphicx,caption} and \usepackage{multicol}. I've got two columns of text. When I try to place an image in my text whilst using the mutlicols package that gives me two columns, I ...
0
votes
0answers
17 views

Float Span Column Caption

I'm using lyx with twocolumn. I have a wide figure, and I put it in the Figure* environment from the float option to allow it to span both columns. The figure itself looks fine, but the caption seems ...
0
votes
0answers
38 views

Captions Language

This is how I started my code, but i saw in all the questions about captions that it's written in the same way and i don't know why the TexStudio keeps saying that it doesn't recognize that order \...
4
votes
1answer
115 views

Multiple Footnotes in the same caption/figure/table/equation with hyperref

Multiple Footnotes in the same caption/figure/table/equation and using hyperref This question is very similar on Multiple Footnotes in the same caption/figure/table/equation and using hyperref Since ...
4
votes
2answers
61 views

caption package in twocolumn mode: Distinct styles for figure and (wide) figure*

I'm using a KOMA-script based twocolumn layout and modifying float captions with the caption package. Unfortunately, when redefining the default style, the new options will apply to both column-wide ...
0
votes
0answers
27 views

Override font size in caption for list of figures/tables

I have recently started compiling my thesis and found that overriding font size in captions takes an affect on the list of figures caption. In the example shown, the lower font size of 3.7 is an ...
3
votes
2answers
40 views

Referencing without captions appearing but keeping numbering

From what I understand, in order to refer to a figure in the text and be able to access it via clicking, I use \label{}, and then in the text I use \ref{}, with the same name inside. What I would ...
1
vote
1answer
52 views

Custom clever ref and and short captions giving error

I have been using the following modification of \Cref in my document to provide names to theorems and lemmas if one is given (as I think it reads nicer). As in the MWE (based on this answer to a ...
0
votes
1answer
23 views

Multiple images with improper captions and their positioning

I have 12 images of different sizes which I added in my latex document. But their positions are somewhat random and the captions are also not at proper positions. I would like to have 4 rows of images ...
0
votes
0answers
42 views

How to setup the layout of caption justified?

\begin{figure}[t] \centering \captionsetup{justification=justified,singlelinecheck=off} \begin{tikzpicture} \matrix (fig)[matrix of nodes]{ ...
0
votes
1answer
24 views

\usepackage{subfig} giving captionlablelfont errors

While using \usepackage[caption=false]{subfig} I get an error like in the image below And the chapter 6 where figure is included has the following code. \begin{figure}[h!] \centering ...
0
votes
0answers
23 views

Setting caption and footnote font types and sizes

I was wondering whether someone could help me out. I'm writing a thesis on LyX using the document style APA v.6 in Galician language. I need to hand in my thesis with a 12-pt Roman font in the main ...
1
vote
2answers
53 views

caption left justified with the picture

i would like to do following, if i have a float and want to put in a picture, which is not as wide as the column. Then i want the caption to be left justified with the picture, like in following: but ...
0
votes
1answer
88 views

Latex: Class scrbook Error undefined old font command \bf

I'm having trouble with including figures into my document without getting errors. I am not very familiar with Latex, but I have to use it in order to write my bachelor thesis. I also have to use the ...
0
votes
1answer
45 views

How to place and space captions of subfigures

I have the following code: \documentclass[journal,twocolumn,10pt]{IEEEtran} \usepackage{subfigure} \usepackage{mathtools} \begin{document} \begin{figure}[t] \centering \subfigure[Line]{\centering ...
2
votes
1answer
30 views

How to color a whole float, like table, using KOMAScript document class?

I managed to get a whole float coloured including its whole caption using the standard article class. But when using KOMA-Script it doesn't work: \documentclass{scrartcl} \usepackage[table]{xcolor} \...