{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
1answer
23 views

Inserting caption for listings in LyX

I'm using LyX 2.1.1 and want to put captions for listings. I can do this by using LaTeX code in ERT but would like to do by using LyX built-in capabilities of Insert > Program Listing. Any help ...
6
votes
2answers
40 views

Arrange three images (with an own caption for each) in two rows using subfig package

I would like to arrange three figures like this: a long one on the left and two smaller square ones right to it (above each other). All three images need to have a separate caption. I am using the ...
0
votes
0answers
17 views

Undefined control sequence \captionsetup [on hold]

This is my first post so sorry if I get the format wrong. I get the following errors whenever I try to compile my file using the caption package: Undefined control sequence \captionsetup ...
0
votes
0answers
22 views

Customizing Multiline captions

I would like to have a caption which is centered and has multiple lines. For example, \documentclass{article} \begin{document} \begin{figure} \centering \begin{tabular}{cc} \rule{5cm}{3cm} & ...
0
votes
0answers
12 views

missing table caption with floatrow and sidewaystable

I am attempting to place two tables side-by-side using sidewaystable and floatrow. The second table features a number of sub-tables. The issue is as follows: when I place the caption command before ...
1
vote
2answers
22 views

How to change spacing between caption numbering and text?

Like in an IEEE paper, after the figure caption numbering, there are two letters spacing: Fig. 1. Bla bla Not like Fig. 1. Bla bla I would like to have the former.
3
votes
1answer
33 views

Subfigure captions not centered

Having trouble getting captions in my subfigures centered. I've played around with the caption and subcaption packages a little bit and it seems like the subfigure captions are being treated like ...
2
votes
1answer
27 views

Algorithm2e caption separator with language package options

Please see the difference in the style of the caption separator. In the first example the : is typed directly after the word Algorithm 1. In the second MWE with language option german (also french or ...
2
votes
2answers
35 views

Centering figure caption does not work

I have a few narrow figures for which I want to center the caption. I have to use a LaTeX template from Springer (svmult.cls). This makes captions left-aligned by default. I took a look at this ...
5
votes
1answer
44 views

Use \captionof in conjunction \subfigure?

I'm using the KOMA scrreprt class. I have a large figure with 6 subfigures, and a lengthy (but necessary!) caption explaining the figure that doesn't fit on the same page. I'm trying to use the ...
0
votes
0answers
30 views

Longtable captions do not wrap inside threeparttable environment

I'm using the threeparttable package to automatically wrap my captions to table width. However, I occasionally need to use longtable to split a table across multiple pages. When I do so, the caption ...
4
votes
3answers
119 views

Changing Figure label to Map or some other label

I am writing a report that has graphics, photos and maps. If I use the figure environment everything is labeled as a figure in the caption. However, what I would like to do is where I have a map to ...
4
votes
1answer
75 views

Table caption spacing in dissertation

Style requirements for a dissertation require a single-spaced caption but with a double space between the table number and caption like so: Table 1. Table caption goes here, and is single ...
4
votes
1answer
42 views

Adjusting the caption of an algorithm2e code

I'd like to typeset the caption of an algorithm environment such that it is bold, fills the available width of the paper, and neither the caption nor the line numbers encroach into the margins. In ...
2
votes
0answers
22 views

Error using \ref in captions with Tufte and Babel

I am using the tufte-book class. When referencing with \ref within a caption using the babel package I get two errors: "Argument of \@iiminipage has an extra }." and "Paragraph ended before ...
1
vote
0answers
20 views

caption above figure using knitr

This is a question originally asked on stackoverflow, but it seems to receive no attention and answers there. Since it's related to latex, I'm posting it also here hoping to receive some hints. I ...
1
vote
0answers
27 views

Reference(Source) directly under the caption

Is there a way to write the refernce of a figure directly under the Figure? \documentclass{article} \usepackage[ngerman]{babel} \usepackage{filecontents} \usepackage[backend=biber, ...
3
votes
1answer
25 views

How do I align text after the table with column where the table is started?

After the caption of the a table, I have few lines of text which I like to be aligned from where the table is started. The table is centered aligned, how can I find the column from which the table is ...
4
votes
2answers
36 views

Latex listings package, issue with caption touching the frame and junk character instead of space

I am using listings package and facing two issues Following is the LaTeX code and output \lstset{language=Java, basicstyle=\small, frame=single, breaklines=true, ...
2
votes
2answers
34 views

Tabularx and short caption causes error

I'm trying to construct a multi-page, landscape table with variable column widths. It was working until I started to get a problem with the caption. If I try to include a short caption I get the error ...
4
votes
1answer
72 views

Very narrow table caption

I don't know why the table caption is so narrow The code is \begin{table}[!t] \centering \small \caption{\textbf{Main characteristics of the simulated system.} The latencies assume ...
1
vote
1answer
37 views

Caption appears with ugly head at end of longtable

I want to put a lengthy caption at the end of a table, and, as currently formatted, the caption doesn't fit on the page with the last row of the table. The result is a rather ugly header on the last ...
3
votes
2answers
23 views

having custom caption in listing

I would like to have my custom name for my listing, how can I do that. here is my code: \documentclass[12pt,a4paper]{scrreprt} \usepackage{listings} \lstloadlanguages{R} \lstset{% general command ...
2
votes
1answer
33 views

Set distance between Captions

I've got a question about the placement of captions, specifically the distance between the captions. The problem is that I have two figures next to each other (through minipage) that both require a ...
2
votes
2answers
23 views

\labelfont from caption package not working

I am trying to change the font of the label in the caption, but it seems not work. The font is changed in the text of the cation but not in the label This is my preamble: ...
3
votes
0answers
25 views

Using lstinline in caption of lstlistings with multicol?

Consider this MWE: \documentclass{article} \usepackage{multicol} \usepackage{listings} \begin{document} \def\extra{extra} \begin{lstlisting}[ multicols=2, caption={ [short] aaaa \extra, ...
1
vote
0answers
20 views

subfigure global counting caption

I would like to keep subfigure count my figures globally and label them continuesly. This is the way it is: [Fig 1] [Fig 2] [Fig 3a Fig 3b] [Fig 4] And that is the way I want it: [Fig 1] [Fig ...
2
votes
1answer
48 views

Figure caption does not continue on new page

I have a large figure caption that I want to display. However, it just runs off the page into nowhere instead of onto the next page. What command do I need to fix this? Googling the problem doesn't ...
2
votes
1answer
44 views

Caption of figure not centred [duplicate]

I'm using the template provided by IEEE: \begin{figure}[!t] \centering \includegraphics[width=0.8\columnwidth]{top} \caption{CAPTION} \label{fig-top} \end{figure} However the caption is not ...
0
votes
1answer
67 views

Overlay subfigure caption with TikZ

I'm trying to place my figure captions on top of the figures. I've found some code that does this and I can get it to work for a normal figure - e.g. I can overlay "Figure 1" on top of the figure. ...
1
vote
0answers
29 views

caption package [closed]

I am currently preparing a paper for submission using the template files provided by SIAM (see http://www.siam.org/journals/auth-info.php). I have been writing my document under a different style file ...
3
votes
1answer
36 views

Change figure caption name in “thesis” document

Does anyone have an idea why this approach to changing figure naming doesn't work in thesis type document? I'm using babel and all other captions translate normally, except "Figure", which stays at ...
0
votes
1answer
16 views

How to place multiple figures at the left and caption at the RHS

Please correct my code so that I can get the figures at the left side and caption at the right side. \documentclass{article} \usepackage{float,subfigure} \usepackage[demo]{graphicx} ...
2
votes
1answer
57 views

How to insert a main caption beside subfigures?

I have 3 subfigures that I insert at width=0.5\textwidth, which leaves some empty space. I would like to insert the main caption in this space. How can I do this? I am using subcaption package for ...
1
vote
1answer
25 views

Remove hyperlink from figure captions

I have been asked by the a journal editor to remove the blue highlighting (i.e., hyperlinks) in all figure captions. The following MWE generates the below output (provided that the ctanlion.eps file ...
1
vote
0answers
39 views

Only older version of caption available

Sorry if my message is not in the best of english. I have been working on this for the last 12 hours with no solution. Gist: I am trying to submit my latex source files to a scientific journal My ...
4
votes
1answer
29 views

Vertically align minipages caption (no subfigures used)

After aligning a table and a plot horizontally I want them to be vertically aligned at the top of their captions(see last image). I have found solutions using subfigures or the floatrow package but ...
2
votes
1answer
39 views

cross-referencing figures : Any way to use Fig. instead of figure

I'm using IEEEtran.cls to produce an article. When setting captions on figures, the text begins with Fig 1. (for example). However, when I reference this figure by using \ref{img:something}, ...
0
votes
1answer
19 views

lisf of table without citep [duplicate]

I'm writing my thesis. I have several captions of tables like this: \caption{Composição química média de folhosas, em percentagem ponderal (base seca) \citep{ferreira}.} I use citep in caption. ...
1
vote
1answer
33 views

How to avoid the bold version of the caption of the algorithm

I am using algorithm2e package, but I want to remove Algorithm 1 in the figure and just say the name in my case as just appear only "The procedure". How we can do that? \begin{algorithm} ...
2
votes
1answer
86 views

When using Caption Package, I receive: “Undefined control sequence \captionsetup ”

I introduce a figure as follows: \begin{figure} \centering \includegraphics[scale=0.300]{Figure.eps} \caption{Caption for the figure} \label{a} \end{figure} In the preamble I have written: ...
2
votes
1answer
28 views

2 different captions for tables and figures

I want 2 different types of captions. One for table and another to figures. I use this code for tables: \usepackage[labelfont=bf,nooneline]{caption} \setlength{\abovecaptionskip}{3pt} and this for ...
1
vote
2answers
80 views

How to force label of a \caption{} to be lower case?

The idea is to have the label of a caption (table in my case, but it shouldn't matter which one, really) to be in small caps and lowercase. Now, I managed to get them in the color that I want, and in ...
4
votes
2answers
62 views

Multiline Caption

I want a caption of two lines, with the second line not centered but aligned to the left. This is the result of the following code, \captionsetup{justification=raggedright} doesn't seem to work. ...
2
votes
1answer
30 views

How do I make hyperref show the entire figure when I'm using both caption and floatrow?

I use the caption package in my document to control the appearance of captions on figures and tables (small text, with bold labels): \usepackage[font=small, labelfont=bf]{caption} I use hyperref to ...
1
vote
0answers
35 views

Place figure captions below figure instead of in side margin?

I'm trying to figure out how to use the Tufte-book layout but place image captions below the image instead of in the side-margin. Does anyone know how to do this? This is for a dissertation and the ...
1
vote
1answer
23 views

Caption of algorithm2e to the upper left corner without ruled option

I don't want to use ruled option, but still, I want the caption of my algorithm to be at the upper left corner. I tried \renewcommand{\@algocf@capt@plain}{above} but it only moves the caption ...
3
votes
1answer
37 views

Figure inside of starred Chapter with alphabetic numbering

I'm writing a book using LaTeX, and I have five main chapters. What I need is to add additional starred chapters with alphabetical enumeration, like (Annexe A, Annexe B...), so I can add figures to ...
0
votes
0answers
22 views

How can I get the subcaption to be aligned left of the subfigure? [duplicate]

The picture says it all. I would like the subcaption to be on the left of the subfigure, below the top of the subfigure. Ideally, a solution with the subcaption package would be good (if there is one) ...
0
votes
0answers
13 views

Figure caption as name for digital signature [duplicate]

I use a image as my signature in a letter and I want my name directly underneath it. so far, I have successfully changed the Figure caption by using \renewcommand{\figurename}{}%To avouid Figure or ...