{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

3
votes
1answer
24 views

Can I use \singlespacing to define captions to have a single-line spacing?

I'd like to try and format my captions with single-line spacing. The rest of the document is set with \onehalfspacing. A brief search lead me to this post on komascript.de, in which Markus wrote: ...
0
votes
0answers
17 views

Unable to add footnote with url in caption

I am trying to add a footnote with a url within a caption, but i keep getting an error: \begin{figure}[H] \centering \includegraphics[width=.8\textwidth]{images/graphs/somegraph.pdf} ...
3
votes
1answer
24 views

Align figures to the left side of an article

I am trying to write a user manual for a product for which I would like to have several figures and small explanatory test in a column to the left of each page. I have run into a strange issue, where ...
0
votes
0answers
35 views

tikz/gnuplot legend inside the caption

I want to add my legend inside the caption, similarly the one given in this question. But I want to use gnuplot environment as in the following MWE. Unfortunately, I am getting '??' because ...
1
vote
2answers
34 views

Caption position

I am writing a latex code where I include a graphic using \includegraphics[]{}. The caption is always at the center below the figure. How to change its location to the very left (below the figure) ? ...
1
vote
0answers
21 views

subcaption package changing algorithm2e caption position

I have a project which makes use of the subcaption and algorithm2e packages. For whatever reason, the subcaption package is causing the captions in the algorithms to be misplaced. Here we have a MWE ...
3
votes
2answers
76 views

How can I rotate Figure caption to fit under rotated figure?

I wish to put the caption of a rotated figure underneath the figure, rather than at the bottom of the page. Here is my code: \documentclass{article} \usepackage{array,ragged2e,titlesec} ...
1
vote
1answer
41 views

Image not centering in fullwidth even page

My MWE is, \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} ...
1
vote
0answers
46 views

Wrong figure and caption position

I have a problem with my images!! As you can see, the position of images (a) and (b) is totally wrong! I don't know why! I used Latex for a lot of years, but it is the first time I see something ...
1
vote
1answer
46 views

Prevent a part of the caption from appearing in the list of figures

I am using the 'article' class, 'figure' environment. My captions are divided in two parts: the information about the figure the credits of the figure (for which I use \textfff{}) In my list of ...
3
votes
2answers
61 views

Subfigures in Margin note

My codes, \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} ...
3
votes
1answer
25 views

Float numbering does not include chapter when using \DeclareNewTOC

I use the \DeclareNewTOC command from the KOMA classes because it automatically produces hanging indents for the caption, same as the builtin floating environments like figure. However, unlike figure, ...
1
vote
1answer
24 views

Caption in wrapfigure spills into text

The caption in my wrapfigure spills into text. Is this fixable with wrapfigure or do I need to use something else? Screenshot: MWE (sorry for the mess in the preamble, but some of that is probably ...
2
votes
1answer
28 views

Caption not working while subcaptions are present

I have the following code: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{caption,subcaption} \begin{document} \begin{figure} \vspace*{\fill} \centering ...
0
votes
1answer
145 views

How to place the caption of a lstlisting in the margin? (scrreprt, floatrow)

In the following mwe I am using the floatrow package to place the figure captions in the margin. How can I do the same for listings? Update: Some listings are spread over two pages. ...
2
votes
1answer
26 views

New float environment in tufte-book with alternate caption placement for full width figures

I am trying to define a new environment for photographic plates in a tufte-book.cls book. The environment should: Work just as the existing figure / table environments do for non-starred uses, and ...
4
votes
2answers
44 views

Changing the default layout produced by algorithm and algorithmic packages

If the default output of the algorithm and algorithmic packages for the following code: \begin{algorithm} \begin{algorithmic}[1] \PRINT \texttt{‘‘Hello, World!’’} \end{algorithmic} ...
2
votes
0answers
28 views

Error on \caption for figure

When I use \caption for figure, I got a compilation error: Undefined control sequence. <argument> {\captionfonts \csname fnum@\@captype \endcsname : \ignorespaces ... ...
1
vote
2answers
34 views

set default font size for \caption*{}

I currently use \caption*{} elements from the caption package to add small notes and explanations underneath figures and tables. Since I want those notes to be small I write them as ...
1
vote
1answer
20 views

Put longtable caption in marginpar and keep compatibility with caption package

After some research I found a way to place the caption of a longtable (ltablex) into the left marginpar, aligned with the top of the table. Therefore, i adapted this solution stackexchange.com: ...
0
votes
1answer
32 views

Figure labels in text changing as figure caption changes [duplicate]

I have a question regarding referencing figures in the text. Say I have a figure in text with the caption Figure 1: Blah Blah. Then in my main text i refer to this figure saying something like "As you ...
0
votes
0answers
36 views

captionof{} and double-spacing

I am combining Tikz pictures with \includeimage in my thesis, which means I am mixing \captionof{} and \caption for captioning all of my images. I have now noticed that after invoking \doublespacing ...
0
votes
1answer
25 views

No caption number for figures and tables

I whant to make some of my figures just without a number. Instead of Fig. 1: Caption. I want simply Caption. I tried to do \caption*, but it doesnt work for me. Even after caption package upgrade. ...
0
votes
1answer
41 views

Wrong placing of captions for minipages

I have problems placing subcaptions and captions for minipages. A picture depicts what I want, but a figure included in one graph. Maybe, the right solution wasn't \picture in a previous post. I hope ...
0
votes
2answers
75 views

how to put caption (a) below 2 pictures

I am rephrasing my question... I want to obtain attached Image.. I have coded as below.. But I do not obtain required output.. Can you help me modify my code? \begin{document} \begin{figure}[ht] ...
3
votes
1answer
47 views

\caption outside float. Algorithms

I'm sorry if this is repeated but I'm not able to find my answer. I am using the following code. But I receive the error: ! LaTeX Error: \caption outside float. \usepackage[algo2e]{algorithm2e} ...
0
votes
1answer
66 views

Hard space in figure/table caption

I have a problem with figure captions. Since I have very long words in figure and table captions (names of chemical compounds) the space between caption label, caption number and first word of caption ...
0
votes
1answer
48 views

How to put a figure in one column and its caption in another column in a two column article latex

Could some one help me to figure this issue out? I have a two column article and I have figures that are long. They fit in one column and that's ok but if I want to add the caption under the figure, ...
1
vote
0answers
56 views

How to adjust spacing between caption and table / figure in beamer?

I want to adjust spacing between caption and table/figure in beamer. However I am not able to overcome the warning Package caption Warning: \caption will not be redefined since it's already ...
0
votes
2answers
65 views

Several caption problems in longtable and tabulary

I'm trying to typeset some multipage tables with tablenotes and repeating captions on each page. I found this question, which marries the longtable environment with tabulary. This is quite nice, ...
1
vote
1answer
64 views

Issue with table captions

I have been writing my thesis in LaTeX and has always managed to fix any issues that arose but I just can't go anywhere with this one... :s. Basically any table that I have in my document has the ...
0
votes
0answers
44 views

Error in using “caption” package: “caption: For a successful cooperation we need at least version(caption) is available. }{}”

I need to use the "caption" package. I downloaded it from CTAN and copied the file "caption.dtx" in my folder. When I compile the code, I get the following error: caption: For a successful ...
4
votes
3answers
151 views

How can I have different caption delimiters for captions and contcaptions?

I'm using the memoir class and have a figure that is continued on the next page. The markup is roughly this: \captiondelim{: } \begin{figure} % ... \caption{Foo bar} \end{figure} \begin{figure} ...
0
votes
0answers
39 views

Undefined Control Sequence : \caption@ifamsclass {%

Using pdfTeX Version 3.1415926-1.40.10 (TeX Live 2009/Debian). Something in the subfig package is causing this error. E.g. compiling \documentclass{article} \usepackage{subfig} \begin{document} ...
4
votes
2answers
36 views

How can I insert a line break after the captionlabel (koma-script options)?

On page 125 in scrguien.pdf, the two lower captions have a line break after the label. How can I do the same for my captions? Is that even possible with built-in KOMA options? Looked for a good 15 ...
0
votes
1answer
42 views

How can I force the captions to always have the same margin?

I'd like all captions to have the same margins on the left and right side. How can I achieve that? Picture MWE \documentclass[ 12pt, a4paper ]{scrartcl} \usepackage[T1]{fontenc} ...
5
votes
3answers
89 views

attachfile does not work inside captions

In the caption of some figures I want to link to files using the attachfile2 package. But when I try to compile the following example with XeTeX, MiKTeX and TeXstudio I get the warning ** WARNING ** ...
0
votes
1answer
42 views

If can set caption for images in this table?

If can set caption for 3 image in cells of table in this command? What abut For one image? ‎\documentclass[11pt,fleqn]{book}‎ ‎%\usepackage{amsmath,amsfonts,amssymb,amsthm}‎ ‎\usepackage{graphicx}‎ ...
1
vote
1answer
48 views

Change font size of selected captions

Caption font size can be changed globally using \usepackage[font=small]{caption} However, suppose I need only one/two captions' fontsize be changed, not all. How can I do that?
4
votes
1answer
63 views

How to set a picture with caption in table?

How to set caption for images in table? like this image.
1
vote
1answer
17 views

captions not appearing below subfigure

Code: \documentclass[fleqn,11pt,a4paper]{article} \usepackage{geometry,array,graphicx,float,caption} \usepackage{subcaption} \begin{document} \begin{figure}[H] \centering ...
3
votes
1answer
20 views

Control errors with subcaption subfigure

Code: \documentclass[fleqn,11pt,a4paper]{article} \usepackage{geometry,array,graphicx,float,caption} \usepackage{subcaption} \begin{document} \begin{figure}[H] \centering \begin{subfigure} ...
1
vote
1answer
42 views

How to make caption of a subfigure wider after scaling the figure?

i wanna scale (a) similar to (c) unfortunatelly, the caption is scaled too how can i make the caption of (c) wider (similar to caption of (a))? thank you \documentclass[12pt]{article} ...
2
votes
1answer
37 views

deluxetable* caption not displaying

I am trying to create a page-wide deluxetable using the two-column formatted ApJ article style. The caption displays when creating a single column deluxetable, but will not display when I use ...
2
votes
1answer
56 views

Journal of Fluid Mechanics Class Constraints

I am trying to format a paper to be consistent with the JFM style guidelines. I am using the JFM Latex class provided on the website. However, this class appears to be forcing a format that is not ...
0
votes
1answer
38 views

Add picture's caption in left margin in refman class

I am using refman class in latex in order to write a manual of instructions. I would like to add pictures/diagrams with the caption in the left margin since it is quite wide but when I do it with the ...
3
votes
1answer
37 views

How to use scalebox in captions? [duplicate]

This code: \documentclass[a4paper,twoside,12pt]{scrreprt} \usepackage{fontspec} \begin{document} Test \scalebox{3.0}{$\int$} test. \begin{table} \centering \begin{tabular}{cc} A & B \\ C ...
6
votes
2answers
98 views

Different Caption-Setup for top and bottom figures?

is there a way to control the caption format used for figures, depending on where the figure has been placed? In particular, i would like to have different formatting of figure captions for figures ...
3
votes
1answer
70 views

How to hide the number of a table, whilst keeping it in the list of tables

I want the caption of one of my tables to say only Table, without the number. Caption* did not seem to work. Also, I still I want it to appear in the list of tables. Is there any way to do that?
1
vote
0answers
34 views

Caption with two figures in a single column

How can I put two figures in a single column, with a label (say a), b) ) on the left and in the middle or top of each figure? I was trying \newcommand{\Inserttwopgf}[6]{% \begin{figure}[t] ...