Tagged Questions
3
votes
1answer
40 views
Caption package error redux
I'm using the caption package, but it's not affecting the captions within my tables and figures. I've pasted my sample code below. How can it be fixed?
\documentclass{article}
...
5
votes
1answer
41 views
subfigures in a custom float (subcaption & float packages)
I need figures and subfigures with a custom caption name.
In order to achieve my goal I am trying to use float package to define new float type, and subfigure to create the subfigures.
However, I get ...
6
votes
2answers
77 views
Figure subnumbering 1a
I'm wondering how to give subnumberings like "2a" and "2b" for separate floats. I know both the subfigure and subcaption packages do the subnumbering but they demand the subfigures be in a single ...
2
votes
1answer
37 views
I made a `box' float environment, and now I would like to put the caption inside the box
I made a box float using the following:
\usepackage{float}
\newfloat{Box}{t}{bx}[chapter]
and
\begin{Box}[htp]
\label{box:test}
\fcolorbox{black}{boxgray}{\parbox[c]{\textwidth}{The text goes ...
2
votes
2answers
55 views
Code listing spanning multiple pages with captions at top
Is it possible to span a lstlisting environment or lstlistinginput on multiple pages, such that the caption is repeated on each page (the listing counter stays the same), as well as being able to ...
4
votes
1answer
34 views
How to use verbatim in figure caption (\captionof)?
I want to use verbatim in a caption of a figure. I have tried the cprotect package but it seems to work only with \caption and not with \captionof. Is there a workaround?
\documentclass{scrbook}
...
3
votes
2answers
35 views
Change caption name of an appendix
I want to change the caption name of a figure for an appendix. For example I have
\caption{This is a supplemental figure.}
and by default the caption appears as
Figure 1: This is a supplemental ...
0
votes
0answers
51 views
Can I force a table caption to be a figure caption? [duplicate]
If I fill a table with figures, and give an caption, it is by default named Table XXX, but can I force it to be a Figure XXX caption? How? Thanks
2
votes
1answer
48 views
subfigure with memoir
I made an article and insert several subfigures in that as follows:
\begin{figure}
\centering
\begin{subfigure}[b]{0.3\textwidth}
\includegraphics[width=\textwidth]{fig6_1}
...
4
votes
1answer
34 views
Exceeding parbox with caption package
I am trying to customize the captions of my figures, this is what I achieved so far:
Which is ok, but as you can see the parbox exceeds the width, and its right margin
is not precisely aligned. How ...
2
votes
1answer
71 views
How to put algorithm and figure side by side in two column document?
I want to put two figures and an algorithm side by side in a two-column document, and the figures and the algorithm should span two columns.
I have surveyed previously asked questions such as How to ...
1
vote
1answer
63 views
Numbered figure with caption in footnote
The question about adding footnotes in floats or captions of these has been asked and debated often.
What is about floats in footnotes?
I can't seem to get a floating figure environment within a ...
1
vote
2answers
38 views
Image caption within \newfloat
I am using the float package to create my own floats. Now I also want to add an image with its own caption inside, but the caption belongs to the outer float. Is it possible to create something like ...
3
votes
1answer
59 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
1answer
39 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}
...
0
votes
1answer
39 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{ ...
4
votes
3answers
150 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, ...
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 ...
0
votes
1answer
44 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
94 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, ...
2
votes
1answer
79 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 ...
4
votes
1answer
84 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
80 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
61 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 ...
3
votes
2answers
100 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 ...
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
44 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
82 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 ...
2
votes
1answer
30 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 ...
1
vote
1answer
72 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 ...
13
votes
1answer
236 views
Spacing, subfigures and right captions (Creating a bar menu)
I am trying to create a bar menu for a student place I am part of.
Now since we are studying CS, mathematics and or physics of course he have to use latex to create our barmenus or drinking lists. An ...
1
vote
1answer
75 views
Captioning a figure with multiple subfigures all at once
I want to create a figure with subfigures, and then reference them from the caption of the main figure:
\begin{figure}
\begin{subfigure}
A figure
\caption{}
\label{a}
...
1
vote
1answer
101 views
Thesis class error Extra } or forgotten \endgroup on second compile (not first) in float caption
I am adapting a paper to a thesis format, and I am getting an error on the second compile of my document (the first one seems to work fine). I am using TeXshop, v. 2.47; I am compiling using pdfTex ...
4
votes
2answers
168 views
KOMA-Script captionbeside and custom floats
In a KOMA-Script report, I want to use a custom float for algorithms and display an algorithmic-environment with a caption right next to it instead of below. Apart from the fact that I have to wrap ...
3
votes
2answers
150 views
Remove prefix from figure caption in tufte-book document class
I want to get rid of prefixes in figure captions. I use MikTeX, XeLaTeX and tufte-latex style class. I've tried three variants:
\caption*{Foto}
\usepackage[labelformat=empty]{caption}
...
4
votes
2answers
212 views
Figure and table side by side with common caption
I'm not a LaTeX expert, and I want to align a table and a figure side by side, with a common caption; the table and the figure should be aligned to the bottom, too.
I tried this:
\begin{figure}
...
4
votes
2answers
218 views
Figure and Table next to each other (memoir class) [duplicate]
To save space, I would like to place the following table next to each other. Each has a separate caption. I have this,
I want this,
Sample code,
\documentclass[]{memoir}
...
2
votes
1answer
99 views
using subfig changes fonts in captions of figures
I used package subfig(for using \subfloat). This undoes the special font size for the captions in the figures. Now they are of same size as normal text. How to counter that?
The Document class and ...
3
votes
1answer
113 views
How can you place a figure caption inside a table using LyX?
I have 3 graphs I would like to use in a LyX document. In order to save space I have placed the 3 graphs into a 2x2 table and in the final box I have inserted the figure caption.
When I try and ...
7
votes
1answer
124 views
Block quote in figure caption
I need to put a multi-line quote in a figure caption. I've put code together that does this correctly if I override several errors, but I'd like the document to compile without errors.
The code:
...
3
votes
1answer
599 views
Centering figure captions in IEEEtran
I am working on a paper using the IEEEtran template in LyX.
I have run into a problem: While the contents (in this case, a table) of the figure float are centered, the caption is aligned to the left ...
4
votes
2answers
171 views
Table of 2x2 tikzpictures
I'm attempting to condense 4 tikzpictures into a smaller space in my document. The solution I have is as follows:
\documentclass{article}
\usepackage[paperwidth=6in, paperheight=4in]{geometry}
...
0
votes
1answer
376 views
How to remove space after image caption? [duplicate]
I am writing one article in which i need to write one image and its caption. I found space after caption seems to be more than normal.
\begin{figure}[!ht]
\centering
...
4
votes
3answers
112 views
Can listoffigures use the long caption instead?
Throughout my document I have figures with captions set like this example:
\caption[Surface elevation change for Antarctica and Greenland]{Rate of change of surface elevation for Antarctica and ...
1
vote
1answer
121 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:
...
5
votes
1answer
58 views
color an entry in the list of figures
I have a command that prints an image and will be used inside a certain environment.
First I run a test if the file exists and is a valid image file
(see this question for the definition of ...
3
votes
2answers
161 views
Over wide figure with caption of the same width that both spill out of the right margin and are aligned flush left
This question is similar to that question, but instead I want to place a figure caption flush left aligned to an overwide figure so that it spills out of the right margin.
MWE
...
1
vote
0answers
110 views
The text 'figure' being printed under captions in IEEEtran
Under \documentclass[conference]{IEEEtran}, whenever I include a caption under a figure, right below the caption, the text 'figure' is printed. This does not happen under \documentclass{article}. ...
0
votes
3answers
288 views
Caption of an image doesn't follow flushleft
Hello I want to place a photograph in a page so i write:
\begin{figure}[h]
\caption{H Feistel Function }
\begin{flushleft}
\includegraphics[scale=0.7]{func}
\end{flushleft}
\end{figure}
I face 2 ...
8
votes
2answers
118 views
Consecutive caption numbers without chngcntr?
As many before me I need consecutive caption numbers for figures and tables instead of chapter-based numbers like Figure 1.2. I use scrreprt and the caption-package for my document. I also need roman ...



