{floats} is about the floating environments figure, table and other, custom-defined floats, and concerns issues such as positioning, labelling, captioning, indexing and listing of said floats. For questions specifically about formatting a float caption, consider using {captions}.

learn more… | top users | synonyms (2)

8
votes
2answers
2k views

How to change table numbering scheme at a new section?

I am trying to implement a style to name tables and figures depending on the section for a thesis and can't figure out how to do it with LaTeX. In the end it should look like this: and my document: ...
0
votes
0answers
21 views

How to increase vertical spacing when plotting multiple figures?

I have three .tikz files converted from matlab. And I want to plot them together. Here is a MWE: \documentclass[11pt]{article} \usepackage{pgfplots, pgfplotstable} \pgfplotsset{scaled y ticks=false} ...
0
votes
1answer
49 views

Two similar Tikz images spacing/scaling/centering issues

I'll start first with what I want to ultimately have. I want to have the two images side by side. I want the point G to be horizontally even between the two pictures and I want the scale of both ...
0
votes
1answer
127 views

Formatting figures on a single page without leaving space at the bottom

When Using 6 figures in a single page, I am forced to make figures small. But, this arrangement leaves a lot of empty space at the bottom. How to enlarge image without having to move them to different ...
1
vote
1answer
22 views

How to ensure Wallpaper overlay is on the same page as Figure

I have a full-page figure which I want to be shown over a full-page image. My problem is that the overlay image appears on a different page to the figure. I am using wallpaper package to produce the ...
1
vote
1answer
117 views

A new figure environment for the exam class

The incompatibility of having a float inside the solutions box of the exam class is somewhat well known. Multiple solutions for this exist, almost all of which use some variant of the caption package ...
2
votes
1answer
41 views

Scheduling a float to appear on a specific, later page?

Consider the following MWE - let's say it's called test.tex: \batchmode % \ifx\article\undefined % \documentclass[12pt,journal,onecolumn,twoside,draftcls,letterpaper]{IEEEtran} % \else % ...
3
votes
3answers
104 views

Why latex doesn't recognize my subfigures?

\documentclass[11pt,a4paper,twoside]{book} \usepackage{caption} \usepackage{subcaption} \usepackage{graphicx} % [demo] is just for the example \begin{document} \begin{figure}[ht] ...
0
votes
1answer
17 views

Break subfigures along 2 pages using the subfigure package

I am trying to add subfigures that are larger than one page. I am using the package subfigure that might be a bit obsolete, indeed, however I insist in using it because I have a very large documents ...
1
vote
1answer
21 views

How do I keep one figure in its place and move the rest to the end?

I am working on my thesis with many chapters. In one of it, I use a lot of figure and table. I have been able to use endfloat to send all of the figure and table. However, other chapter has only one ...
1
vote
1answer
78 views

placeins: options section and below

I am using the package placeins with the options section and below so the floats will appear in their sections below their section if on the same page; however, the float is appearing above its ...
0
votes
0answers
18 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
2answers
66 views

Vertical and Horizontal aligment with several figures and tikz figures

I've been having some trouble aligning multiple figures. The problem is present with png figures and tikz figures, so I guess I am missing something. tikz figures not properly aligned: the ...
3
votes
1answer
25 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
54 views

why can't I add a listing to a figure [on hold]

The following example do not work \begin{figure}[!Ht] \begin{lstlisting} Class A {} \end{lstlisting} \end{figure} However, this works: \begin{lstlisting} Class A {} \end{lstlisting} why? and is ...
38
votes
4answers
181k views

LaTeX figures side by side [duplicate]

Possible Duplicate: Caption issue when placing figure side by side I want to place 2 images side by side in LaTeX. I have 2 .png files and I don't understand how to do it in LaTeX. I have ...
1
vote
2answers
36 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) ? ...
0
votes
2answers
43 views

I can't rotate the caption when rotating image to face the left

How can I include the caption to fit below the figure when turned 90 degrees to face the left? this code should work but I'm not sure why it isn't, possibly due to the captionsetup? here is the code: ...
2
votes
2answers
51 views

List of figures that have a certain “property” I set

Note: This question differs from other similar custom-list questions because each of my environments-of-interest can have multiple keywords, and I only want to generate a list pertaining to one ...
0
votes
0answers
15 views

Limit on the number of images that can be inserted into on LaTex chapter or appendix

Using Latex, I have been unable to insert more than 18 images into a single chapter or appendix. LaTex does not give errors relating to this, it simply just does not place more than 18 images into ...
5
votes
2answers
133 views

Three 'side to side' figures using minipage

I'm trying to set up a main figure containing three sub figures. The idea is to split them in such way that it shows a two columns figure where the second column is made out of two sub figures located ...
3
votes
1answer
90 views

“Environment subfigure undefined” on journal submission

I have a LaTeX file with packages \usepackage{amsmath,amssymb} \usepackage{graphicx} \usepackage[colorlinks=true,citecolor=black,linkcolor=black,urlcolor=blue]{hyperref} ...
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} ...
0
votes
0answers
36 views

How to add multiple images in one figure

I'm trying to include 3 images on my latex document. It would be ideal if the images could be added in the same space. A scroll bar or button added to allow viewers to move between the images. ...
4
votes
1answer
35 views

Add a second (or multiple) pictures to a CV

I plan to add a second image to my CV, a QR code for instance, in addition to a profile picture, as it is shown below in the example from the web. The webpage doesn't offer any latex code, though. In ...
0
votes
1answer
148 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. ...
3
votes
1answer
29 views

lof alphabetically sorted

Writing a special dictionary, I have inserted some hundred figures. The normal list of figures does not make much sense in this case as nowbody is really interested in the order of occurrence but in ...
1
vote
0answers
51 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
47 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 ...
2
votes
1answer
23 views

Long caption with \listoffigures - breaklink and hyperref issue

I'm coming to the end of my thesis, and have decided to include \listoftables and \listoffigures within my document. However, according to wikibooks: Problems with long caption and \listoffigures ...
2
votes
1answer
29 views

An alternative way to align figure and table in \subfloat

So I realise this has been asked/alluded to a couple of times previously as in: Figure and table side-by-side in subfloats Table and Figure side-by-side with Table caption above, Figure caption ...
0
votes
0answers
29 views

GANTT to long for one page

I have made a GANTT chart but it is too long to fit into one landscape page. So I see two solutions. Allow the gantt chart to contiune on next page. Use A3 instead Please help me with both ...
81
votes
2answers
25k views

Continuous v. per-chapter/section numbering of figures, tables, and other document elements

Some document elements (e.g., figures in the book class) are numbered per chapter (figure 1.1, 1.2, 2.1, ...). How can I achieve continuous numbering (figure 1, 2, 3, ...)? And vice versa: Some ...
0
votes
0answers
17 views

texpos package - is there a push text to the bottom of the page to stretch the text block without using ~?

I have a couple subsections in my texpos block. I noticed you can't really set the size of the block vertically. What I want to do is push one of the subsections and the content's under it to the ...
6
votes
1answer
43 views

\label is Undefined when used in \afterpage?

I am trying to force a figure and an image to show up on the same page back to back. I read the solution of using the \afterpage which works great. Except now the \label is undefined and I cannot ...
4
votes
1answer
78 views

No figures or tables on this page

Occasionally there are "special pages" on which I do not want to have any figures or tables (e.g., cover pages). Usually I solve this by simply putting all floats sufficiently late in the source code ...
0
votes
1answer
43 views

Place a table on a new landscape page in a two column paper

Very related to this question and some of the comments therein, I need to insert a landscape page for a wide table, in a two column document. As suggested there, I have tried to use \afterpage{% ...
0
votes
1answer
22 views

Is it possible to adjust the vertical spacing between figures inside a figure environment

My aim is to increase or decrease the vertical spacing between figures inside the same figure environment. I have tried the subcaptions package and the commands vspace and vspace*, but they did not ...
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, ...
13
votes
2answers
344 views

Using the same figure twice with no new number

I have a figure that relates to two different issues discussed at very different point in a long document. Rather then send the reader back 50 pages to look up a figure, I would like to include the ...
0
votes
0answers
14 views

Add vertical space between two tables in a single figure [duplicate]

Similar to this SE question but without the requirement that the tables be the same width: I have one figure containing two tabular environments: \begin{figure} \centering ...
3
votes
2answers
38 views

Chapter title cannot be drawn next to big figure with [H]-option

When trying to add a big image directly below a chapter title, the image together with the title are drawn to the following, an even page. This way, the first page is empty. However, I want to start ...
0
votes
1answer
85 views

using subfig (side-by-side) figures

I used the package subfig for my first time, I got this error: ! LaTeX Error: File figures/Rnefft1310' not found. ! LaTeX Error: Filefigures/imt1310' not found. However, I am sure the file is there as ...
0
votes
0answers
13 views

forcing certain figure environments to be on top of page globally? [duplicate]

There are certain environments, such as the figure environment and environments that I defined myself that I want to force to appear (by default) on the top of a page, in a global way (instead of ...
4
votes
1answer
40 views

tex4ht styling breaks after figure containing tikz drawing

\textbf works in tex4ht before the figure environment, but not after: \documentclass{book} \usepackage{tikz} \begin{document} \textbf{this is bold} \begin{figure}[h] \begin{tikzpicture} ...
2
votes
1answer
29 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 ...
2
votes
1answer
59 views

Keep float out of a environment (for example definitions)

I knew that floats float around and sometimes are placed far away from where one wants them to be. With the times I learned to work with it, and there are already many posts about it. I have a kind ...
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 ... ...
0
votes
0answers
56 views

Using \vspace in articles

Is using a \vspace{} command a stable/proper way to remove the white space in the figures while using it in an article? If not, then can anyone suggest me a quick fix to this? FYI, I am making .eps ...
2
votes
1answer
57 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 ...