{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
0answers
37 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
13 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 <- ...
1
vote
3answers
32 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
57 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
29 views

Formatting of captions with memoir [on hold]

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
28 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
34 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
14 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
31 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
44 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 ...
2
votes
1answer
29 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} ...
4
votes
1answer
54 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
32 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
27 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: ...
2
votes
1answer
41 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 ...
-5
votes
0answers
77 views

How can I plot this figure1 (alike that) and redudce the distance between figure1 and its caption?

How can I plot this figure1 (alike that) and reduce spacing between figure1 and its caption? And how can I write the caption of ...
1
vote
1answer
27 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 ...
2
votes
1answer
21 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
38 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
34 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} ...
0
votes
0answers
18 views

change caption of table in IEEE template

I have a problem with IEEE template. the caption of table is like this: TABLE I:'caption' but I want this: TABLE I 'caption' How can it make?
1
vote
1answer
30 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
19 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
24 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
30 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
15 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
38 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
84 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
57 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
39 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: ...
0
votes
0answers
31 views

How to move the caption at the top of the table?

I used the code given in this link: Aligned Table of Notation Sybmols - Works but with Errors I need to move the caption to the top of the table. I tried to play with [htbp] but couldn't figure it ...
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 ...
2
votes
1answer
20 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
46 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 ...
0
votes
0answers
15 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, ...
1
vote
0answers
45 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
16 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 ...
4
votes
1answer
64 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} ...
4
votes
2answers
78 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
47 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} ...
7
votes
3answers
180 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
39 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
52 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
28 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 ...
2
votes
2answers
50 views

Bicaption for longtables doesn't work

I'm trying to use bicaption for longtable, but I get this error: ! Misplaced \noalign. \caption ->\noalign \bgroup \@ifnextchar [{\egroup \LT@c@ption \@firstofone ... l.26 ...
3
votes
2answers
59 views

Having separate captions for algorithms inside a tabular

I have the following code: \documentclass[10pt,conference,compsocconf,letterpaper]{IEEEtran} \usepackage{algpseudocode} \usepackage{algorithm} \begin{document} \begin{algorithm*}%[H] ...
1
vote
1answer
35 views

Different font sizes for Figure and Subfigure Captions

That's what I use \usepackage{caption} \usepackage{subcaption} The template I'm using is from a university and uses the Koma Script When adding figures or graphs I do this: \begin{figure}[h!] ...
2
votes
1answer
50 views

Useing \begin{longtable} inside \begin{table} to keep captions and list of tables working

To make a long story short, we have: \begin{table} \input{table.tex} \caption{The table too long for one page} \end{table} And the table.tex file has a \begin{longtable} format in it. I will ...
4
votes
1answer
47 views

Picture in Table with Caption

In my document I use two different commands to add a picture. First I have one command that adds pictures in a table, because the title and the caption have to be with a colored background so it looks ...
0
votes
1answer
31 views

Extended figure caption for table

I would like to extend again a bit further my extended figure caption to account for tables as well. Previous questions are Hypertarget pointing at \thefigure Automatically "protect" new ...