{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)

5
votes
1answer
763 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
425 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
684 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
33k 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
364 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
276 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
215 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
461 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
46k 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
597 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
250 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
46k 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 ...
30
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
510 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 ...
12
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
127k 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
782 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
616 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
663 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, ...
41
votes
1answer
120k 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
844 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 ...
13
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
305 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 ...
4
votes
2answers
513 views

Convert a picture or figure to EPS or PDF file

In my document I'm embedding figures using the following code: \begin{figure}[!t] \centering \def\svgwidth{1.2\columnwidth} \resizebox{\columnwidth}{!}{ \endlinechar=255\relax ...
13
votes
1answer
582 views

\ref, make figure/table reference automatically toggle between “above” or “below”

Is it possible to automatically include a reference to the position of a labeled object (Table, Figure) in text? By this I mean the following: Say I have labeled a figure in chapter 1: ...
2
votes
1answer
2k views

Float positioned in the middle of an otherwise empty page [duplicate]

Possible Duplicate: Set table position to top My document (book) has text and floats. There is not enough text, so that all floats can be placed before the text finishes. Then pdfLaTeX puts ...
0
votes
1answer
1k views

How can I make a graphic appear underneath the \subsection it is inserted under? [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I have a .tex document which generates a several paged .pdf document. I have inserted several images of charts ...
4
votes
1answer
382 views

Forcing figures position in (last page) column

I'm writing a two columns document and I have two figures on the last page stacked in one column. The first one at the top and the second one almost at the bottom. How can I force the second one to be ...
22
votes
3answers
23k views

How to limit the figure caption width?

Figure captions seem to wrap at the page width. How could I make them wrap at the figure width instead? Currently, they can easily be mistaken for normal text. \begin{figure}[!htb] \begin{center ...
12
votes
2answers
15k views

Forcing bibliography to the end [duplicate]

Possible Duplicate: How do I ensure that figures appear in the section they're associated with? I'm using the thebibliography environment, in a paper that has three floating figures. ...
1
vote
0answers
205 views

Avoid splitting of itemize lists by floats? [duplicate]

Possible Duplicate: How to protect text from being split by a float? I have a list constructed using itemize which is split by a figure. Is it possible to prevent the figure from splitting ...