{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

Include floated figure in two column environment

I'm using a two column layout and I'm trying to get a figure to appear on the bottom of the page it's currently on. Floats don't work natively in a multicol environment. Right now I'm getting around ...
12
votes
3answers
2k views

19 simple tables giving “TeX capacity exceeded” / “Too many unprocessed floats”?

When I added a couple of rather unremarkable tables to my document, it stopped compiling (using pdflatex): "TeX capacity exceeded (main memory)" I searched the web a bit (well, actually, mostly ...
17
votes
3answers
5k views

Special arrangement of subfigures

I need an image with five subfigures arranged this way. I have tried to use subfig and floatrow, but I haven't been able to place the figures as I need them
51
votes
3answers
150k views

How to use the placement options [t], [h] with figures? [duplicate]

I want to control the placement of figures. The paper that I am currently writing contains a lot of figures, resulting in some figures ending up in the bibliography section. Therefore I want to ...
6
votes
3answers
951 views

endfloat, float - use with newfloat types

Does anyone know how I can get the the endfloat package to work with new float types defined using \newfloat (float package), for example: \newfloat{map}{htbp}{lom} \floatname{map}{Map} ...
6
votes
3answers
253 views

How to conditionally control the width of a figure with minimal code duplication?

I am using \iftoggle to switch between a for-review (doublespaced, onecolumn) and photo-ready (singlespaced, twocolumn) layout. I want to change the width of figures to be optimal for both, depending ...
5
votes
2answers
268 views

How to gather (narrow) floats together horizontally?

I have a document with some narrow (less than half the \textwidth) images. Sometimes there's one such image on the page, and then the figure environment is what suffices. But sometimes there are two ...
2
votes
1answer
1k views

How to Override the Default Float Restrictions of Table and Figure

In brief, the [h!] option to override the default float restrictions for tables and figures does not appear to work. I am trying to insert a table that takes up a whole page. Due to its size, I have ...
5
votes
1answer
753 views

Protect text from being interrupted by figures or tables

I have read How to protect text from being split by a float? by it does not exactly cover what I want. I have a text that is interspersed with figures. I do not wish to copy all the figures to the ...
2
votes
2answers
416 views

Automatic width of floats

I need to automatically compute the width of tables and graphics; including the total width of a graphic that contains subfigures. I would also like the code to include a minimum width parameter to be ...
2
votes
1answer
1k views

Inserting text in the image between two columns

How do I insert an image from text in two columns so that the text go around the picture?
3
votes
1answer
677 views

Can I turn a sidewaystable into a figure?

I'm hoping I can get a quick answer to this question, and I don't have time to make a MWE right now. If I have made a sideways table and used it to layout some images nicely, but I would like the ...
3
votes
2answers
32k views

figure span to one column on double column page [duplicate]

Possible Duplicate: How to make a figure span on two columns in a scientific paper? I want my figures to span to whole page width while on double column page, I am using subfloat, how to ...
8
votes
2answers
5k views

Algorithm tag and page break

I'm starting my experiment with LaTeX, i'm writing an article and all that I want is to embed an algorithm inside normal text, this is my code: \documentclass{article} \usepackage{algorithmic} ...
0
votes
1answer
355 views

Why does LaTeX mix up the order of my algorithms and other output? [duplicate]

Possible Duplicate: How to avoid splitting tables between sections I did something like this: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{algorithm} ...
7
votes
1answer
10k views

Table always goes to bottom of document? [duplicate]

Possible Duplicate: How to fix table position I'm defining a table in my document like so... \begin{table} \caption{my table} \centering \begin{tabular}{c llll c c c c} \hline ...
5
votes
3answers
274 views

How to number equations and floating materials by page number

I am somewhat intrigued by question Something like \enumerate, but with custom numbers at each \item, which mentions a book where each question is numbered by its page number and the question number. ...
1
vote
3answers
212 views

labeling tables per chapter both in the body and in toc [duplicate]

Possible Duplicate: Continuous v. per-chapter/section numbering of figures, tables, and other document elements How can I label the tables per chapter in document class report rather than ...
3
votes
1answer
458 views

floatrow destroys common solution for parallel figures

I really like the floatrow package, but when its code is not required I expect that everything works as normal, however the correct code fails to compile once floatrow is loaded. What I am talking ...
26
votes
4answers
45k views

making a table fit on a page by moving it left

I have a table where the last columns fall off the page. Instead of making the text smaller I would like the table to not adhere to the margin of where it begins. I would like to move it to the left. ...
3
votes
1answer
3k views

Vertical alignment with floatrow

I am playing with floatrow, however the images are not aligned at the top and I do not know what I am doing wrong. \begin{figure}[H] \begin{floatrow} \floatbox{figure}[0.4\textwidth][\FBheight][t] ...
5
votes
3answers
3k views

How to create an unnumbered algorithm with a caption?

I want to do something like: \begin{algorithm*} \caption{My unnumbered algorithm} % etc. etc. \end{algorithm*} or \begin{algorithm} \nonumbercaption{My unnumbered algorithm} % etc. etc. ...
3
votes
1answer
595 views

Indentation and floats

I usually only allow paragraphs to be indented when there's a need for them to be: only if the previous "element" could be confused and thus "merged" with the paragraph in question. In practical ...
0
votes
1answer
246 views

Referring a series of figures [closed]

When I run the add file, I get: Chapter 1 chap 1.1 sec figures 1.1 - 1.1. Just a figure 1.1 Just b figure 1.1 Clearly this is wrong but does it happen? \documentclass{report} ...
20
votes
3answers
7k views

Suppress page number for a single page that only contains one large table?

I have a large table that uses up the whole space on a page. Unfortunately, the table also covers the page number, which is shining through. I don't want to split the table across two pages, hence I ...
10
votes
2answers
45k views

Error: \caption outside float

When I add the following table (table1 shown below) I don't get any error, but when adding table2 (shown below) I get the error i)\caption outside float. \caption ii) Undefined control sequence ...
28
votes
3answers
5k views

Tables below footnotes, is this a good output routine algorithm or a bug?

Consider the minimal code below, which produces two different layouts depending on the table position marks. The first layout uses \begin{table} which results in the table ending below the ...
0
votes
1answer
505 views

Figures on left pages, text on right ones with class book (cont.)

In addition to the very useful discussion Figures on left pages, text on right ones with class book, numbering only on right pages, I would like to handle 2 other features: the suppression of blank ...
11
votes
1answer
6k views

Vertical spacing in floats

I am using a float inside the text. As I found out, using \intextsep I could set space above and below the float and the texts. But when I am using \setlength{\intextsep}{5mm}, the space below the ...
49
votes
4answers
124k views

Force LaTeX image to appear in the section in which it's declared [duplicate]

Possible Duplicates: How do I ensure that figures appear in the section they're associated with? Keeping tables/figures close to where they are mentioned How can I force an image in a ...
14
votes
1answer
766 views

What is a BANG float?

This question follows up on What is the exact purpose of \ftype@<TYPE>?. The LaTeX kernel source refers to a BANG float in the ltoutput.dtx, but there is no explanation for it. Anybody knows ...
6
votes
2answers
1k views

Make all figures and tables framed by default? [duplicate]

Possible Duplicate: Rounded corner colored box around figure I'm interested in having all of my \begin{figure} and \begin{table} environments automatically get framed. Is there any way to ...
17
votes
3answers
613 views

What is the exact purpose of \ftype@<TYPE>?

I currently working on some float related code an saw that the standard float environments figure and table define (beside others) the macros \def\ftype@figure{1} and \def\ftype@table{2}. The LaTeX ...
6
votes
2answers
1k views

Different float types side-by-side

I'm familiar with using minipages inside a float to effectively place two floats side-by-side, but is there a way to do this with different float types? Eg a Figure and a Scheme (chemscheme)?
10
votes
2answers
4k views

Equivalent of CSS “float:left;” for images

What I am try here is have the image on the left side and it should be surrounded by text on the right and bottom side. For example how can below image_3.png float to left? \usepackage{lipsum} ...
6
votes
1answer
2k views

How do I make a figure that spans a spread of two pages? [duplicate]

Possible Duplicate: How to include a picture over two pages, left part on left side, right on right (for books)? I have a huge TikZ graphic inside a figure environment. I would like it to ...
3
votes
1answer
658 views

Avoid consecutive figures in two columns layout

Is there a way to tell LaTex to avoid putting figures consecutively in a single column. Instead, I want to distribute the figures in the top of the columns and/or other pages in the same way (only ...
14
votes
1answer
1k views

Unsorted citations and floats

In attempting to answer this question Citations in order of appearance it's clear that unsorted citation schemes (ones in which the citations are numbered simply by order of appearance) can be easily ...
4
votes
2answers
1k views

How to make table extend onto second column

I have a two column document and a long table. I would like the table to start in one column and then extend into the next column. I know about the table* environment; I don't want a table that is ...
6
votes
1answer
2k views

Rounded corner colored box around figure

I'm trying to get Rounded corner grey-colored box around figures. One solution would be to use \usepackage{float} \floatstyle{boxed} \restylefloat{figure} but this results in black box around a ...
4
votes
2answers
114 views

A TeX example that fails to keep the sequence of floats

I wish to have a TeX example which includes text, figures and tables, where the sequence of elements in the resulting DVI is NOT as it is in the TeX file. I am looking for this so to see how well ...
3
votes
2answers
1k views

table causing misalignment in two column layout

I'm fairly new to LaTeX and I've run into a problem I'm not even sure how to Google. I'm using the two column document class IEEEtran for a scientific paper. However the text in the right hand column ...
0
votes
2answers
1k views

How to control float element to achieve compact output?

You may say the second question is duplicated. There are so many discussions about how to control the position of float. But they don't meet my needs. I want to reduce the blank area whilst float ...
11
votes
3answers
4k views

Nature style files and figures

I downloaded a Nature style file from here but I don't see any images when I build my figures. Do you know if this is intentional or if I've done something wrong? If you've drafted a LaTeX paper for ...
5
votes
2answers
6k views

A style prevents me from setting \belowcaptionskip, how do I change that?

I am writing a paper using the llncs style (Springer lecture notes for computer science). Using the default formatting, the distance between and the caption and the caption and the table is very big, ...
40
votes
1answer
116k views

Displaying a wide figure in a two-column document [duplicate]

Possible Duplicate: How to make a figure span on two columns in a scientific paper? It's my first time working with a two-column document (declared as an argument to \documentclass) and I ...
7
votes
2answers
829 views

How can you change the font for the contents of all tables in a document

Is there a simple way to set the default font for all tables in a document?
14
votes
3answers
5k views

How to place a footnote inside a float environment

How can one declare a footnote within a float environment, such that it appears on the same page with the float (regularly on the page, not inside the float)? Is there any trick or additional package ...
12
votes
1answer
16k views

Algorithm over 2 pages

I am writing a few rather large pseudocode functions using algorithm and algorithmic, i.e. my code looks something like: \begin{algorithm} \caption{Coolest Algorithm ever} ...
5
votes
3answers
301 views

Text that doesn't affect the placement of other text

I would like to be able to put blocks of text in a document that don't affect the layout of the main part of it. (Specifically, I'm writing the solutions to a previously written exam; I'd like to be ...