{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

4
votes
3answers
145 views

caption package not compatible with threeparttablex package?

I am trying to accomplish something like this: footnote in table with hyperlinks Except using the caption package along with it, which I need for other things. The two approaches don't seem to mesh ...
4
votes
1answer
29 views

Adjust the caption

As you know that the caption can \flushright or \flushleft by this command \captionsetup{justification=raggedright, singlelinecheck=off} Right now I want to make the caption of figure is in center ...
1
vote
1answer
78 views

Beamer - unable to move image + caption downwards

%!TEX program = xelatex \documentclass[10pt, aspectratio=1610]{beamer} \usetheme[titleformat=allcaps, progressbar=frametitle]{metropolis} \usepackage{booktabs} \usepackage[scale=2]{ccicons} \...
1
vote
1answer
43 views

Intentional linebreak in KOMA float caption without destroying default indentation

I was asked to put this answer as a single question with self-answer to make it findable for other users. To cut is short, I wanted the default KOMA caption indenting behaviour but in addition to ...
1
vote
0answers
10 views

Unwanted space with label in subfigure (subcaption) environment [duplicate]

I am tiling images in latex using subcaption's subfigure environment. And because I'm taking things very precisely, I tried to calculate exact spacings, so everything aligns nicely, as in the ...
3
votes
2answers
99 views

Special arrangements of subfigures

I need to arrange my pictures on the way shown in the attached figure. Please any help from you.
1
vote
1answer
61 views

Table without caption seems weird

I would like to create a table without caption but it seems not so good. I mean that there is a long line at the end of the table and it disturbs the reader. Try: \begin{table}[h] \refstepcounter{...
2
votes
2answers
83 views

Figure caption appears on the side instead below

I am using beamer class to make a presentaation. I am using minipage to get 4 figures in 2 by 2 arrangement. When I give captions to the figures 2 problems arise: The caption starts right from the ...
2
votes
4answers
93 views

Space between caption and table in TeX

I have this code \begin{table}[h] \caption{Numerical example geometry} \label{tab_numerical_geo} \begin{center} \scalebox{0.9}{ \begin{tabular}{|c|c|c|c|c|c|c|} \hline $d^A$ & $d^B$ & $d^C$...
4
votes
0answers
83 views

How to let minted break across pages but keep the caption together with the end of listing?

I want to create a listing using minted that has background colour and can be split across pages. The usual advice in that case is to use the mdframed environment and I have written a command that ...
0
votes
0answers
34 views

dplyr Tables latex problem

Can you explain why the caption of the table is not appearing in the example below. All works fine except the caption \begin{center} <<echo = FALSE>>= library(dplyr) myTable <- as....
1
vote
3answers
78 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 ...
2
votes
1answer
112 views

Three and four images with captions in a Beamer frame

I have often used two columns and two images side by side in Beamer frame. But I could not get three one large and second column contains two small images or four images with captions in a single ...
3
votes
2answers
57 views

Formatting of captions with memoir [closed]

This is my first question here. I have been reading very useful answers for years. Now, I did not find one that solves my problem. I am typestting a book with the memoir class, and I am finding the ...
0
votes
0answers
63 views

Hanging caption with boxed algorithm2e

Along very similar lines to the question posed at Algorithm2e and hanging captions, I'm having problems producing captions for algorithm2e that have the same appearance as a figure caption (i.e. hangs ...
1
vote
1answer
63 views

Changing the color of paragraph and caption text together

I have a question about paragraph text colour and caption text colour. I want to change the text colour of a part of my paper which has many figures but when I use \color command, it only changes ...
0
votes
0answers
15 views

Caption Error: “destination with the same identifier (name{figure.1}) has been already used” [duplicate]

I get the following error when compiling pdflatex: (/usr/local/texlive/2015/texmf-dist/tex/latex/base/omscmr.fd) [2pdfTeX warning (ext4): destination with the same identifier (name{figure.1}) ...
1
vote
0answers
52 views

Change font family for captions

I am working in a proyect in which I need captions to be in a different style as in main text. The original text is Gentium and I would like captions to be in PT-Sans. However, in the caption text ...
1
vote
1answer
80 views

add right margin in caption with the width of the caption label

Currently, my figure/table captions look like this: The should start with the label Fig. XX and then the text with the following caption lines hanging behind the label. If there is only one line, the ...
3
votes
1answer
132 views

Vertically aligning captions in side-by-side figures

I'd like to put two side-by-side figures with two different captions. I used this: \begin{figure}[h!tbp] \centering \begin{minipage}[b]{0.6\textwidth} \includegraphics[width=\textwidth]{...
4
votes
1answer
92 views

If figures are placed left, left-aligned captions are unwantedly centered (ConTeXt)

What I try to do: I want to place figures left so that text wraps around them if they have less width than \textwidth. The figure captions should be aligned left (flushleft). What happens: The ...
3
votes
2answers
106 views

How to make a caption (table and figure) left justified

How do I make my captions both for table and figures left aligned. I tried using \usepackage[justification=justified,singlelinecheck=false]{caption}. But the caption is aligned with the page and not ...
1
vote
2answers
36 views

Indent and caption left aligned simultaneously

I need to make it indent each paragraph. I also need that caption was aligned to the left, and I do not want to be limited to floating objects. I use the following text: \documentclass[a4paper,14pt,...
2
votes
1answer
62 views

Why is the caption without caption package within the box and with caption outside?

I have the following code, which works fine when package caption is inactive. However with caption the title of the "steckbrief" moves out of the box. What is it that caption changes that the title ...
1
vote
1answer
34 views

Manually position caption inside a figure

How can I place my caption in the indicated arbitrary box in the below figure. This is what I am using for now for my usual figures: \begin{figure}[h] \centering \includegraphics[width=162mm]{images/...
2
votes
1answer
28 views

Move 1 record from List of Figures to next page

I was searching for a while for a solution but could not find one. Hope you can help me guys. I want to make whole 3.4 record on next page, because otherwise it just breaks like that and it looks ...
1
vote
1answer
56 views

Caption in a tikzpicture drawing

I have this LaTeX: The \caption line at the end breaks the compilation. How could I make this work? Thanks \begin{center} \begin{tikzpicture}[scale=0.2] \tikzstyle{every node}+=[inner sep=0pt] \...
1
vote
1answer
79 views

How to left-align captions when table is centred?

I found here on stack exchange some ideas how to do this. However, there is something wrong with my approach. I did the following: \usepackage{caption} \captionsetup[table]{justification=raggedright,...
1
vote
1answer
113 views

How to define caption width in longtable?

I have a longtable within a landscape environment. Not sure the landscape is relevant but ... \begin{landscape} \begin{longtable}{lll} \caption{bla bla bla long ...} table & table & table \...
0
votes
1answer
25 views

Subfloat and long captions wrong alignment

When the caption is too long, the caption are not properly aligned. How can you make this look good again? \documentclass[11pt,a4paper]{article} %%%%%%%%%%%%%%%%%%% %%% Usepackages %%% %%%%%%%%%%%%%%...
1
vote
1answer
38 views

What should be the relative positioning between label and caption in a figure? [duplicate]

When writing I normally don't care if I write first the caption or the label of a figure. A friend recently told me to write always the caption first and then the label. What reasons are to do this? ...
2
votes
3answers
48 views

Two different kind of reference in a document

I want to use two different kind of reference in a document: one is default with command \refa{} “1.1”, and another is added () around \ref with command \ref{} “(1.1)”. I use: add () around \ref{} for ...
1
vote
1answer
19 views

Need to insert a reference (right-centered) after a caption

I have a small problem. Please have a look at the Screenshot. What I need to do is to put one more empty line BEFORE (Khan et al., 2011, 30). When I try to do this, it always moves the citation back ...
2
votes
2answers
65 views

Insert tabular with caption inside itemize environment

I am trying to insert a table with a caption inside an itemize environment. However I can't find a way to align the caption nor the table itself to the border of the outer environment. I already ...
3
votes
1answer
134 views

Fancy List of Figures layout/design

do you see a chance to design the "List of Figures" pages in a way such that it looks more fancy? I fiddled around for days now but could not find an example or good solution, not even with tocloft, ...
0
votes
0answers
87 views

How to give caption on ShareLatex

I am trying to give a caption for my figure on ShareLatex. I need the caption below the figure. But using the following code, caption appears above the figure. What is my mistake? Your help would be ...
4
votes
1answer
93 views

Center caption in standalone documentclass

I would like to know how I can go about automatically centering the plots subcaptions in the standalone environment. This is what I would like: Here is my code: \documentclass[varwidth]{...
1
vote
0answers
22 views

Using tabularx increases the tab counter by two [duplicate]

In my document I use some tabularx tables. Now I found out, that every time I use it the table counter in the caption increases by two. \begin{table}[ht] \centering \begin{tabularx}{\linewidth}{...
2
votes
1answer
34 views

Problem displaying figure captions from array while looping

I'm attempting to generate multiple Figures using the code below. However, I'm having a problem with \caption{\questions(\plotNum)}. The error I receive is Incomplete \iffalse; all text was ignored ...
1
vote
0answers
47 views

List of Table, Koma-script: how to not have the entire caption? [duplicate]

I use the KOMA-script to write the thesis and when i call the \listoftables I would like to modify some entries. For example, for the following table: \begin{table} \centering \begin{tabular}{c|cc|cc|...
0
votes
0answers
25 views

How to change space below algorithm2e float

How can we change the spacing below the algorithm environment? Is there a possibility with the caption package? \documentclass[ 12pt, a4paper, twoside, titlepage, openright, ...
3
votes
1answer
61 views

Space between caption and \bottomrule

I have more of a cosmetic sort of problem. Normally the vertical space between the \bottomrule and the caption looks like this: But with the code I use, some tables look like this: I use the ...
1
vote
1answer
34 views

Reduce space of index area between subcaptions

I'm inserting 2 rows of images with \subcaptionbox but the vertical space between them remains, which is originally occupied by index of first column images. How could I reduce the space of this area?...
4
votes
1answer
91 views

Inconsistent caption height in algorithm environment

I noticed that the height of the caption of the algorithm environment does not solely depend on the font size, but on the actual caption text as well: \documentclass{scrartcl} \usepackage[ngerman]{...
4
votes
2answers
137 views

Extra space after the figure or table caption

I want to change figures and table naming from Figure 1 to Figure S1 and analogously for tables. I tried to use: \captionsetup[figure]{name=Figure S} or \renewcommand{\figurename}{Figure S} but ...
3
votes
2answers
58 views

Centering table and its catption as well as justifying caption which spans multiple lines

I wonder how to center table and its catption as well as justifying caption which spans multiple lines. Below is MWE. Any help will be highly appreciated. Thanks \documentclass{article} \usepackage{...
7
votes
3answers
242 views

Formatting figure captions overlayed with TikZ

I am using full-page figures as cover images for chapters, see Marginless full page figure with caption overlay magazine-like. However, I am unsatisfied with the format of the caption. The following ...
4
votes
1answer
45 views

Latex - Set Caption Tab.1 to Tab. S1

Is there a way to change the default caption numbering of: \begin{table}[t] \caption{caption} From Tab. 1: caption to Tab. S1: caption basically adding a string before the number that should be ...
3
votes
1answer
53 views

Bottomrule not working in a self-made environment 2

I'm making a table with threeparttablex and longtable packages. When I use caption, I get an error with \hline and \thead commands. So, I had to disable the three following lines. But I need these ...
1
vote
0answers
40 views

The location of figure in PNAS template mess up caption and legend

I am modifying this PNAS template (http://www.latextemplates.com/template/pnas) for my journal. I have been puzzled by the position of figure and its effects on caption position and legend indentation ...