{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
1answer
3k views

\parskip inserts extra space after floats (and listings)

This question seems to be a duplicate of How to remove the skip after a listing when "\parskip" is increased with "\baselineskip"? but the answer given there doesn’t work although ...
7
votes
2answers
751 views

Subfloat indexes misaligned when using setcaptionwidth

I have the following document: \documentclass{article} \usepackage{subfig} \usepackage{graphicx} \usepackage{geometry} \setcaptionwidth{12cm} \begin{document} \begin{figure}[t] \centering% ...
11
votes
1answer
273 views

Ensuring that floats are displayed in order of first reference

There are many questions on this web site and elsewhere about ensuring that floats are displayed in the order in which they are placed in the source. What I want is different—I have all my ...
8
votes
3answers
2k views

Border around figure does not fit

I want to insert a bitmap image in my document. I would like to put a tight and thin border line around the image. Apparently, the way to do this is with \framebox. I want to have the border fit ...
1
vote
2answers
198 views

How to make sure images & content are in the right order?

I have several big figures to insert to the article, however, the Content-Part-2 jumps to the front of figures (Figure-1 & Figure-2 in code), where is at the end of Content-Part-1. Code shown ...
9
votes
2answers
900 views

How to put an algorithm and a tikz drawing (objects of different type) side-by-side in the same float environment?

I am trying to put an algorithm and a tikz' drawing side-by-side inside a figure environment. I am aware of this question but I would like to have a single caption for them. For instance, in the text, ...
3
votes
1answer
18k views

Table in LaTeX appearing in middle of next page

I've inserted a table in my LaTeX document and have used \center to horizontally align it to the centre of the page. However, it's appearing a page after where it should, is both horizontally and ...
3
votes
1answer
796 views

Problem inserting a figure in LaTeX

I am writing a research paper using LaTeX. I have certain images to insert. Now when we observe the images from the research paper, they have the following format: image its caption I am ...
5
votes
1answer
4k views

Change \abovecaptionskip for some floats only

I'd like to change the \abovecaptionskip (space between figure and caption) for the listing floats of the minted package only. How can I do that?
2
votes
0answers
75 views

Floating figures with 'b' ends up below the footnote [duplicate]

Possible Duplicate: Tables below footnotes, is this a good output routine algorithm or a bug? Whenever a page contains a figure which is set to be placed at the bottom of the page, and the ...
32
votes
4answers
603 views

Where do I place floats in the source?

I realize that this is an embarrassing simple question. Shall I put the floats, e.g. \begin{figure} . . \end{figure} in the source immediately after first reference? or wait until the end of the ...
4
votes
1answer
2k views

Including multiple figures/subfigures within an fbox (minipage)

From what I understand, it's pretty much impossible to include floats within an fbox/minipage. I basically want a paragraph of framed text with a couple of subfigures included within the frame. Any ...
3
votes
2answers
4k views

LaTeX inserts blank page between figures

I am writing a relatively long text in LaTeX. At some points I need to include a bunch of large figers (2 figures per page, no text) using \figure and \includegraphics. In order to avoid pages with ...
15
votes
2answers
1k views

\intextsep gives doubled space

If a float (black box) follows my {example} environment (gray left line) the skip between them is too big. I guess it’s twice \baselineskip but it should be only one \baselineskip plus some glue. It ...
4
votes
1answer
8k views

Figure placed at the end of the file [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned How to influence the position of float environments like figure and table in LaTeX? I'm doing this ...
3
votes
1answer
645 views

Splitting figures' caption apart

I'm using stock figure environment and \caption{} command to typeset figures in my document. Is there any sane way I can get 'Figure N' part to be written right below the figure, and the actual ...
2
votes
2answers
4k views

Background color boxes around complete figure in LaTeX [duplicate]

Possible Duplicate: Rounded corner colored box around figure Make all figures and tables framed by default? I'd like to make colored boxes (a light graytone) around my figures including ...
9
votes
2answers
456 views

Table/Figure Layout

I'm interested in good practice for table (tabular) and figure layout, especially in good references. What do typographers have to say about this. Please provide references if you can. To focus the ...
0
votes
2answers
777 views

How to synchronize sidewaystable with the odd/even page?

I have two tables, T1 and T2. I want these to appear in two pages as if the head-side of the table remains at the binding side of the book. Like this |||||>|<||||| |||||>|<||||| ...
12
votes
2answers
13k views

How to change the numbering for different figures?

Let's say I have two standard figures and two supplementary figures. If I change the name of figure using \renewcommand{\figurename} the figure counter will still count all figures continuously (i.e. ...
4
votes
2answers
222 views

Layout problems with tables and graphics (eps files) - they're all over the place!

I know I'm doing something dumb here but I can't figure it out. I am creating a .tex file with a header: %% XXXXXXXXXXXXXX created this file. \documentclass[english]{article} \usepackage{avant} ...
3
votes
1answer
950 views

Problem with “endfloat” in manuscript option of APA6.cls

Several years ago I commonly wrote papers in MiKTeX using the apa.cls, which allowed you to switch between a two-column formatted "jou" mode and a single-column, double spaced "man" mode. I have ...
405
votes
2answers
202k views

How to influence the position of float environments like figure and table in LaTeX?

How to influence the position of float environments like figure and table in LaTeX? This is a general question and should collect useful answers for all users. I hope we can use this as a reference
0
votes
1answer
599 views

Figures not showing where expected [duplicate]

Possible Duplicate: Force figure placement in text I have a a document and I'm inserting .png images but they are not shown where I want them. How do I fix this? E.G. ...
12
votes
2answers
6k views

How to forbid LaTeX to put text between figures?

I have some figure, which I want to have one right after another in the document. Is it possible to forbid pasting anything inbetween, even if there is some space? \begin{figure}[h!bt] ...
2
votes
1answer
4k views

LaTeX placing figures in bibliography [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I am assigning a couple of figures near the end of my document, and it is placing them in the middle of my ...
9
votes
2answers
564 views

Automatically reorder floats to fill page

I have a document consisting only of floats, and I would like to order them so as to use the least number of pages. In my case, each float contains song lyrics, but they could easily be poems or code ...
12
votes
3answers
555 views

When specifying placement of floats, is the list prioritized?

When specifying a float's placement, e.g. [htpb], is the order of the arguments specifying the priority of them? Example: \begin{figure}[htpb] \includegraphics[width=0.7\textwidth]{sampleImage} ...
2
votes
2answers
120 views

How can I have figures identified as tables?

My paper includes several graphs that are all much too long to make as tables, so I made them figures (copy and paste from spreadsheet to paint). My paper has to include a list of figures and a list ...
11
votes
5answers
15k views

Spacing around table and figure environments

I've got table and figure environments, some placed "here" with h and some arranged automatically. But all together I don't like the spacing above and below the figure and table environments. I ...
7
votes
2answers
2k views

Best way to get an image just HERE [duplicate]

Possible Duplicate: Force figure placement in text I often needed to attach an image yo my latex document and wanted it to appear just there when I imported it. I know latex is meant to put ...
2
votes
1answer
1k views

Want a big table in top-center of a two-column article page

\documentclass[11pt, twocolumn]{article} \usepackage{fontspec} %%Should compile with XeLatex \defaultfontfeatures{Mapping=tex-text} \setmainfont[SmallCapsFont = Delicious SmallCaps]{Delicious-Roman} ...
0
votes
1answer
622 views

Vertical space between headlines, tables, images and the following text too large

Is there a way to globally set a value (or minimum and maximum value) for the vertical space between, for instance, headlines, tables, images and the like and the following text. Right now I have ...
11
votes
1answer
18k views

Problem inserting figure to LaTeX file using Texlipse

I'm trying to insert a figure into my LaTeX file using the following syntax: \begin{figure} \centering \includegraphics [width=3in]{fig1.png} \caption{Calculation of shortest path betweenness} ...
119
votes
4answers
457k views

LaTeX figures side by side [duplicate]

Possible Duplicate: Two figures 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 tried many ways but could ...
12
votes
1answer
21k views

Referencing figures doesn't work [duplicate]

Possible Duplicate: Where to put the \label on a figure environment? I'm having a problem with referencing figures in LaTeX. I have the following text: \begin{figure}[H] \center ...
13
votes
2answers
7k views

Two figures side-by-side with inequal height and aligned captions

I have an addition to this question: Two figures side by side. Suppose we have two pictures, making them of uneven height. I am looking for a way to not use subfig and align two figures side-by-side, ...
1
vote
1answer
1k views

TikZ figure always positioned at the center of a new page [closed]

I run into this rather strange problem when using TikZ with LyX 2. I have this graph programmed using TikZ, and it is supposed to follow a paragraph of text and be positioned at the top of next new ...
3
votes
1answer
815 views

Rotated text in a rotated figure

I have some full-page figure rotated ccw added using a sidewaysfigure environment. The figures were originally made in Inkscape and were designed for non-rotated viewing and contain some text labels ...
1
vote
0answers
1k views

Placing all floats before continuing [duplicate]

Possible Duplicate: How do I ensure that figures appear in the section they're associated with? Keeping tables/figures close to where they are mentioned How to avoid splitting tables ...
7
votes
1answer
2k views

Landscape forces position of floats

I have a couple of large figures, which I'd like to put on separate pages in landscape mode. \usepackage{lscape} ... \begin{landscape} \begin{figure}[!t] \centering ... \end{figure} ...
3
votes
3answers
2k views

Figure very poorly placed

I am using pdflatex with PDF images for figures. When I do not scale the image, the figure goes off the page. When I do scale the image, it is very poorly placed. A little too far to the right of the ...
12
votes
2answers
1k views

Gray box around figure with a separate gray box around caption

My university requires that all figures in a thesis follow this pattern: I'm very new to LaTeX, so far my best attempt has been this: \begin{SCfigure} \colorbox{darkgray}{ ...
7
votes
2answers
315 views

Have some figures show up in two listofs: list of figures and list of special figures

I have a number of figures in my dissertation. Out of those figures, there are some that I want to be included simultaneously in two listof's: the standard "List of Figures" and a non-standard "List ...
5
votes
1answer
534 views

Keep example number together with floating table

I am using the package linguex (for 'linguistic examples') to number the examples in my text, using its command \ex. I am creating a table that I am numbering with this command \ex.: \ex. ...
3
votes
1answer
604 views

Set width of LaTeX float # in List of X

Using the LaTeX float package, I've created a new float: \newfloat{schema}{htb}{los}[chapter] \floatname{schema}{{Schema}} The list of schemas at the beginning of my document is created with the ...
13
votes
1answer
2k views

How can I inject the proper amount of vertical space between captions and figures?

In my source document, I have an image and a code listing, separated by some text. When I generate PDF using pdflatex, the image is just above the listing, and it looks like the caption for the image ...
15
votes
3answers
15k views

How can I get rid of the LaTeX warning: Float too large for page?

In my document, I have figures that have a rather long caption. The code I use to include them looks like this: \begin{figure} \begin{center} \includegraphics[width=\textwidth]{../fig.pdf} ...
11
votes
1answer
11k views

How to justify subfig subfloats?

I have three subfloats and I want them to be aligned over the full \textwidth, no matter what the sizes are (smaller than a third of the page of course). I have the following setup: \begin{figure} % ...
1
vote
2answers
186 views

Weird behaviour from graphicx - inserting PDF files

So I created some graphs in Excel, saved them as PDFs and used the following code to import them to LaTeX: \newpage \begin{figure}[htbp] \centering \includegraphics[width=0.95\textwidth]{white1.pdf} ...