{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.
3
votes
1answer
50 views
Continuous numbering of custom float with caption package
I defined a custom environment that allows me to define mathematical problem statements and puts them in a box. Since I have quite a few of them in my report, I decided to properly caption them, which ...
2
votes
2answers
44 views
Two images inside minipage (side by side) with one common caption that says “Figure 1 & 2:”
I have two images inside a minipage, so I can have them side by side. When I make a caption for the images it only comes up as "figure 3: text", but I would like to have it showing "Figure 3 & 4: ...
2
votes
2answers
52 views
Table captions continued
I am writing an article which has a long table with many rows. I would like to divide this table for multiple pages but I can not change the captions of these tables like "Table 1: Blablabla" and for ...
5
votes
3answers
4k views
How to reference subfigure in caption
I used to have code like this: \caption{In \subref{fig:foo:a} you can see...}. Now I switched to using memoirs subtop/subbottom command instead of \subfigure. How can I refer to that subfigure?
As a ...
4
votes
1answer
52 views
Using LyX, how do you put a table and a figure side by side and caption them Table XX and Figure XX?
I have found solutions for them to be done in normal TeX, but how do I do this in LyX? What I wish to obtain is something like that shown in Table and Figure side-by-side with Table caption above, ...
3
votes
2answers
46 views
How to avoid printing the algorithm number in algorithm captions?
I am using the algorithm2e package to write algorithms. However, when i write three algorithms one after another, the algorithms are automatically numbered 1,2 and 3 in the caption. I am using ...
4
votes
2answers
56 views
Custom name & justification, single line spread and “within chapter” numbering of figure captions [closed]
I now know how to add images with captions but still need help how to tweak the captions.
\begin{figure}[h]
\begin{center}
\includegraphics[width=100mm]{01.jpg}
\caption*{\textbf{Bild 2.1:} Curtiss ...
2
votes
1answer
28 views
Figure caption runs off page
How can I get latex to place my figure sufficiently at the top of my page to allow for my caption to nicely fit at the bottom?
\documentclass{amsart}
\usepackage{graphicx}
\begin{document}
...
1
vote
1answer
47 views
listings caption gray box meaning of code
Some time ago I copied this code from Stackexchange to have a nice gray box at the top of my imported source code which I displayed with listings:
\DeclareCaptionFont{white}{\color{white}}
...
0
votes
0answers
54 views
Why does \& mess up table caption and how to fix it? [closed]
I use the INFORMS2 class for preparing a document to be sent to an informs journal. When I have a multiline table caption that uses \& to typeset the ampersand, the whole caption becomes centered. ...
25
votes
2answers
759 views
Why does an environment's label have to appear after the caption?
\documentclass{article}
\usepackage{algorithm}
\begin{document}
\setcounter{section}{54}
\section{A section with no label}
\begin{algorithm}
\label{myalg}
\caption{An algorithm with the label ...
0
votes
1answer
34 views
Cannot include caption on figure [closed]
I'm having trouble including a caption on a figure in my thesis. The code I'm using to do this is below:
\begin{figure}\label{FillExample1}
\includegraphics[scale=0.8]{FillExample.png}
%\caption{ ...
0
votes
0answers
15 views
Different number in image caption and in ref to figure [duplicate]
I have figure with image like this:
\begin{figure}[h!]
\centering
\label{fig:controlsOpacity}
\includegraphics[width=120mm]{img/image_01.png}
\caption{some text}
\end{figure}
then I am referencing ...
17
votes
2answers
12k views
Change caption name of figures
How can I modify the caption name of a figure? For example I have
\caption{This is a figure.}
and by default the caption appears as
Figure 1: This is a figure.
However I want
Fig.1 - This ...
2
votes
1answer
65 views
changing spacing of caption
I'm creating a figure using LyX. I would like the spacing of the caption below the figure to be 1.3. Is there an easy way to accomplish this? Setting the spacing to 1.3 for the entire document using ...
3
votes
1answer
72 views
Multiple listings styles
In using the listings package, how can I have a distinct \lstlistingname value for each type of listing.
Lets say my document has C++, R and Pseudo listings, and I would like the \lstlistingname ...
4
votes
1answer
75 views
Caption placement for new float in tufte-book class
I am using the tufte-book document class and I am trying to create a new float environment for example boxes that will include captions in the right margin similar to table/figure captions.
However, ...
0
votes
1answer
39 views
Is it possible to add hidden text to a caption that only appears in the table of figures? [duplicate]
I want to add additional information about some figures that should only show up in the list of figures. Is this possible?
4
votes
1answer
111 views
Drawing a grid on each image inside the array of images
Please see what I have written,when I need individual grid on each of picture inside my figure-array. In contrast to previews question Drawing a grid on array of images. Question now is why I can't ...
2
votes
1answer
49 views
ieeetran caption question
In the ieeetran how to, they are using caption with their examples; however, latex tells me not to use caption.
So if I use subfloat, all my figures are labeled as such (a), (b) and don't have a main ...
3
votes
1answer
8k views
Align figure to the right (with \raggedleft) while still centering its caption with respect to the image
I am wondering if it is possible to align an image to the right margin of the page (with \raggedleft) while still having it's caption nicely centered (with \centering) under the image (centered with ...
0
votes
0answers
38 views
Remove the period at the end of the subcaption using \subbottom with memoir [closed]
I am using the memoir package (with hyperref package in case that makes a difference) and I am using \subbottom to place subfigures within a figure environment. I simply want the subcaptions to read ...
1
vote
0answers
31 views
Label on grammar enviroment
I want to have a caption and label on my grammar environment, and have implemented the solution here: How to use caption and label in grammar environment? got my grammar displayed with a caption and a ...
7
votes
1answer
158 views
How to use caption and label in grammar environment?
I can't manage to add a caption and a label to my grammar environment:
\documentclass{article}
\usepackage{syntax}
\grammarindent 80pt
\begin{document}
\begin{grammar}
<condition> ::= "$" ...
2
votes
2answers
59 views
Captions: Write directly below “Figure”
a typical caption below an image looks like:
Fig 1.1: Whatever the content might be
______ it is described here.
My problem is that I'd like to write below "Fig 1.1" at the position of ______. ...
4
votes
1answer
48 views
wrapping a rotated table
I have a rather wide table that doesn't fit to page width, so I rotated it. The fit is nice, but my idea was to have text wrapped around this rotated table.
So far I found two choices that are ...
13
votes
3answers
33k views
Tabular: title above and caption below?
I have a table that I would like to put the Title above and a caption below. Intuitively (though I know how troublesome intuition can be in something like LaTeX), I should be able to do as below:
...
1
vote
1answer
58 views
How can I put the table caption on the top in pdfLaTeX? [duplicate]
I have this code
\begin{table}[H]
\caption{My Caption }
\centering
\begin{tabular}{*{6}{|p{3cm}}}
\hline\hline
But caption comes at bottom.
I can't use this
\begin{table}[Ht]
as it ...
2
votes
3answers
1k views
Figure next to list (caption problems)
I am trying to put a figure next to a list, where the list is talking about the figure. This is fine, I can do that with the minipage environment. However, my problem is that when I try to put a ...
4
votes
1answer
50 views
How to write multiple line caption with figure
How to split a long figure caption to multiple line? Using '\' doesn't work.
\begin{figure}[H]
\includegraphics[width=1\textwidth]{x.jpg}
\caption{line 1.....
line 2......
line 3 ....}
...
4
votes
2answers
66 views
Assign numbering of theorems to figures
How can I assign numbering of theorems to numbering of figures? I have a certain figure and instead of it being called Figure 2.1: Figure for Theorem 2.2, it would be much batter to have it simply ...
3
votes
1answer
49 views
Break figure description over two pages
I use figures with a caption and a description below. Sometimes the figures are large and also the descriptions. If I keep the images to a not very low scale (to make them understable) the ...
2
votes
1answer
42 views
Restyling the caption in an algorithm created with algorithm2e
In the caption of an algorithm created with algorithm2e,
\documentclass{article}
\usepackage[ruled]{algorithm2e}
\begin{document}
\begin{algorithm}[H]
\caption{Caption.}
pseudocode
...
1
vote
0answers
47 views
Two issues: Causing Sumatra not to jump to document beginning after compiling an writing under caption title
I'm having two problems with my MiKTeX, TeXnicCenter and SumatraPDF configuration
The first issue is about sumatra. I like the fact that sumatra does not need to be closed upon re-compilation of my ...
3
votes
2answers
76 views
Caption issue when placing figure side by side
I placed 2 figures side by side using the minipage method from this post, and the figures look perfectly fine. However, the caption of the right figure stick out into the margin, why is that and how ...
5
votes
1answer
41 views
Centering a subcaption
I have three figures that I want to place next to each other. That is fine. In addition, however, each subfigure has a caption on its own and the crucial thing with these is that I have to have two ...
4
votes
1answer
75 views
1.a numbering of subfigures within a figure without a caption
I am using the subcaption package and write a caption for each of my subfigures. In order to get a reference to "Fig. 1a", I also have to write a "big caption" below all subfigures. But I don't want ...
3
votes
0answers
50 views
Referring to function name in an algorithm
I have a LaTeX code which looks similar to the following example.
\documentclass{article}
\usepackage{amsmath,algorithm,algpseudocode}
\begin{document}
\begin{algorithm}
\caption{My Algo.}
...
0
votes
0answers
33 views
Why does \begin{figure} center my image vertically? [duplicate]
If I insert image into my document as such:
\includegraphics{spss24fore.png}
The image is aligned at top of the page, but when I use:
\begin{figure}
\includegraphics{spss24fore.png}
...
1
vote
0answers
42 views
Table caption above, figure caption below [duplicate]
In a LaTeX article, I would like to place table captions above the tables and figure captions below. Is this possible?
1
vote
2answers
74 views
Get a table and figure on the same page with captions & labels
Here's what I'm looking for: I need a table and a figure to stay on the same page, while keeping captions & labels fully functional. Both the table and the figure need their own caption and their ...
6
votes
1answer
1k views
Subfig label positioning
Can anyone tell me how to change the horizontal position of subfigure labels?
I have:
\captionsetup[subfigure]{labelformat=simple,position=top}
Is there something like:
{position=topleft}
to ...
1
vote
1answer
110 views
Customize the position of a figure
Hello although this question has been asked several times, I still can't position my figures at the right place. I have installed the float and the here packages. and the code is as follow:
...
9
votes
2answers
79 views
Too wide figure caption
I included a figure using the figure environment with a rather long caption. The width of the caption is the same as the page width, which doesn't look so nice. Is there any way to reduce the width of ...
0
votes
1answer
49 views
How can different numbering style be used for nested subfigures?
I want to display a figure demonstrating 3 cases. The case1 and case2 are shown using single images each. But case 3 needs 3 images. I have used nested subfigure as follows: However the captions go as ...
2
votes
1answer
76 views
Multi-page Figure with subcaption package
I have a figure with subfigures defined using the subcaption package (*not the deprecated subfig or subfigure). I need the parent figure to span two pages with two subfigs on each page. I have ...
1
vote
1answer
57 views
How to properly space multirow subfloats
I have 3 subfloats, but they will not all fit on one line, so I have two in the top row and one on the bottom row. My first problem is the floats are all different sizes and they are not being spaced ...
1
vote
1answer
65 views
Legend of picture, caption
I would like to assign one caption to a picture in my report, without this caption begin in the listing of figure.
I use the following:
\begin{figure}[htbp]
\begin{minipage}[l]{.645\linewidth}
...
2
votes
1answer
25 views
Why does ltablex skip a number in captions?
The below example presents two tables with an tabularx environment (taken from package ltablex) and a caption. After each tabularx-table, the table counter skips one, as if both the caption and the ...
2
votes
1answer
56 views
Russian language within figure captions in unicode-aware systems [duplicate]
When I try to compile the following document caption package seem to convert caption text to \cyr.. sequences and fontspec don't understand them. Is it possible do somehow get around that without ...


