Tagged Questions

{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

1
vote
1answer
43 views

Tabular size exceeding page size

I am making a table which includes single columns and 2 - merged columns. I am encountering two problems, first the data is very long and is not places within the area of the page, it exceeds the ...
1
vote
1answer
52 views

Adding a caption to graphics in parshape

This question is the continuation of the one posted here. How can I add a caption to the figures as shown below?
2
votes
3answers
67 views

Avoiding non-centered caption on ctable with float

I try to put my floats under the control of KOMA-Script using \restylefloat and KOMA's komaabove and komabelow. This works, but gives undesired side effects with ctable. The tables are centered but ...
3
votes
1answer
57 views

Two parts caption in listoffigures

I'm using this template to write my report. I'm trying to add a listoffigures so I added those lines in the .cls file: \newlength{\lofsep} \setlength\lofsep{2pc} \contentsmargin{0cm} ...
1
vote
1answer
46 views

Resize characters in figure caption

I frequently use \scalebox from the graphics package in math-environment as $x^{ \scalebox{0.55}{(n)} }_{i}$ which works fine. However, I am not able to use the same sequence in a figure caption: ...
2
votes
1answer
40 views

I have included verbatim to show a small section of code, how can I add a comment/caption for this verbatim?

I am writing some documentation on a tool I am using at work and I have included some code that has a comment to explain what a particular line is there for, this comment runs off the page if I leave ...
5
votes
2answers
116 views

frame around image and caption

I have an image wich is beside some text, and I would want to frame the image and the caption. My code is for now: \begin{wrapfigure}[4]{r}{8cm} \centering ...
3
votes
1answer
50 views

Let caption float into margin

I searched for a long time to find a solution to let a caption of a figure and/or a table expand into the outside margin. I'm able to get a figure/table where the width is textwidth plus ...
0
votes
1answer
35 views

Should “axis” be italicized in LaTeX captions?

This seems more a grammar question than a LaTeX but here it is. It would be stranger if I posted it in the English stack site. What is the correct way to say see x axis: (1) see $x-axis$ (2) ...
4
votes
1answer
40 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
91 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
46 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
63 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
67 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
71 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
54 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
72 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
121 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
65 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
163 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
101 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
101 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
58 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
55 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
34 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
27 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
83 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
50 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
115 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
61 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
39 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
46 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
38 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: ...
4
votes
1answer
66 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
25 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
87 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
63 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
153 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
49 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
59 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
24 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
87 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
43 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
59 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
48 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
54 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
26 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
62 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
437 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
55 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 ...