{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
40 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
30 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
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
47 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
40 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
81 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
45 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
31 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
38 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
25 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
30 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
24 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
54 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
53 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
86 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
34 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
37 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
18 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
65 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
35 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
46 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
33 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
45 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
38 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
152 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
34 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
99 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
72 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
37 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
38 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
27 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
42 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
23 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 ...
2
votes
1answer
98 views

Vertical space between caption and main text

I am trying to adjust the vertical space between my captions and the main body of text below it. It is likely to be packages interfering with each other, but I am not sure which. Herbert suggested ...
0
votes
0answers
24 views

How to caption with an arbitrary type

I want to include some text and equations into a framed environment like a box. And then I want to add captions above or underneath this "box", e.g. "Box.1. This is a box." Here is a MWE: ...
1
vote
0answers
33 views

Minted Listings don't behave the way they should

i'm quite new to la/tex and i have a question about the latex package minted and it's listing feature. i'm using a latex template from someone else who gave it to me. He used the listing feature as ...
1
vote
0answers
49 views

Figure source caption problem - strange space between text and url

Following Add source to figure caption I created new command called \captionsource: \newcommand*{\captionsource}[1]{% \caption*{% Source: \url{#1} }% } As you can see on the ...
2
votes
1answer
42 views

Caption within a figure?

I have an image where as x are 3 diagrams. As there is empty space on the left, I was wondering if it is possible to put the caption of the image within the picture.
2
votes
1answer
44 views

How to caption/subcaption a tabular? easily

I few week ago, I learned subcaption figuras, with subcaption packages, and I like it very much. Now I would like to caption/subcaption tabulars. I was vieweing any issues and all have a table ...
3
votes
1answer
54 views

Chemscheme numbering of schemes

I am very new to latex and I am trying to use the chemscheme package to help with my compound numbering (which seems to be working ok so far) but I am having trouble with the actual scheme numbering ...
2
votes
1answer
34 views

How to define a custom environment caption for table of contents?

I want to define a custom environment example. This is not a problem at all, the only thing I humble upon is the caption (short title below the element) and its listing in the table of contents or ...
1
vote
0answers
32 views

.eps graph overlapped with caption

I need your help desperately. I used latex to compile everything and used dvipdf to convert it to pdf. The graph (test) came out is overlapped with the caption. Can anyone point out what is the ...
0
votes
0answers
32 views

Stylizing sub-figure caption in beamer

When I use \documentclass{beamer} \setbeamertemplate{caption}[numbered] \usepackage{subfigure} \begin{document} \begin{frame} \begin{figure} \subfigure[Subfig 1]{ } \hfil \subfigure[Subfig 2]{ } ...
1
vote
1answer
33 views

How to fix figure caption while using lmodern

To remove the warnings, Font shape `OT1/cmss/m/n' in size <4> not available(Font) size <5> substituted Size substitutions with differences(Font) up to 1.0pt have occurred. I used the ...
0
votes
1answer
66 views

Tabularx, Caption and Footnotes

I need to have some tables with the following requirements: The need to be of width \textwidth; The caption has to be on top of the table even at automatic page breaks; The tables should not float; ...
1
vote
0answers
42 views

What is the best way to number equations by chapter (1.1, 1.2, 2.3,…) or continuous (1, 2, 3,…)? [closed]

Some documents are formatted by numbering the equations by chapter (1.1, 1.2, 2.3,...) others in continuous (1, 2, 3,...). The same hold for tables and figures. Which one is better in your option and ...
2
votes
1answer
55 views

tabular can't caption is separated

I'm creating a table like this: \captionof{table}{caption} \begin{tabular}{@{} *5l @{}}\toprule \emph{header1} & \emph{header2} & \emph{header3} \\\midrule item1 & v1 & v2 \\ item2 ...