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

9
votes
2answers
732 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, ...
9
votes
5answers
7k 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
1answer
2k 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 ...
6
votes
2answers
3k views

multiple algorithm2e algorithms in two column documents

I tried this example Place four algorithms (algorithm2e) in a subfigure and arrange them in two rows and two columns on two column documents. It doesn't work. The error message is ! LaTeX Error: [H] ...
6
votes
2answers
5k views

Automatic vertical alignment of a single float on a dedicated page

In my large latex document, I have some figures which take a considerable height of the page (80-95%). Latex puts each of these figures alone on a page, aligned on top. I would like to have each ...
5
votes
2answers
5k views

Too much space around wrap figure

I am using the wrapfig package to have my text around the figure but there is too much space around it as you can see below. Here is the code that I am using, I looked at the wikibook on LaTeX for ...
4
votes
1answer
302 views

Placing listing and figure side by side in memoir

I am writing a document using the memoir class where I want to place listings (with the listings package) and figures side by side. My first approach was to save the listing in a box and use subbottom ...
4
votes
2answers
4k views

Inconsistent rotations with \sidewaysfigure

In my document I'm largely using \sidewaysfigure. However, this results pictures with inconsistent placement and direction of included pictures and captions. By inconsistent I mean that figures and ...
3
votes
1answer
971 views

Insert graphs and text side by side

I wanna know how can I draw graphs and arrows with text, side by side in Beamer as shown in the figure of this question Drawing arrows in beamer Can someone post the code?
0
votes
1answer
525 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 ...
18
votes
4answers
658 views

How exactly does \def\p@figure{Figure~} work?

I took this line from my thesis style and added it into my document (preceded by \makeatletter) and what it does that whenever I used \ref{figureid} instead of putting just the figure number, it puts ...
14
votes
1answer
842 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 ...
13
votes
3answers
17k views

Border or frame around figure

I'd like to place a border / frame around my figure. The figure is a bunch of equations: \begin{figure}[ht] \[ eqn 1 \] \[ eqn 2 \] \[ eqn 3 \] \caption{\label{myfig} My caption.} ...
12
votes
2answers
2k views

How can I place a double-wide figure float (ie, figure*) on the bottom on the first page of a two-column document

In what I would like to be a two-page, two-column document with two wide (figure*) figures, I need one to be on the bottom of the first page, and one to be on the top or bottom of the second. ...
11
votes
3answers
3k views

avoid that figure gets its own page

I have a couple of floats in my document, which contain large Images (it consumes the half of the page). In this case, the figure get's its own page and no text goes on this page. How can I configure ...
10
votes
1answer
517 views

How to make all figures float on the outer margins of two-side document?

I want to make a double-sided problem booklet that contains several questions. Each question has a distinct number and may have zero or more figures. Each figure has a caption and floats on the outer ...
10
votes
1answer
3k views

List of figures: source below image caption?

I'm relatively new to LaTeX and currently working on a paper. In my list of figures, I'd like to have a structure like this: Fig. 1: <Title of figure> . . . 1 ...
9
votes
2answers
2k views

Extra page at beginning of appendix containing big figures

I have an appendix that contains two full-page figures. The first page of the appendix is always blank except for the title -- I suspect this is a common problem with appendices of full page figures. ...
9
votes
1answer
231 views

How can I create a chapter with graphics only divided into different sections?

I'm trying to create a chapter with pictures only, but keep running into troubles. The chapter is an appendix, where only some graphics should be displayed, placed in different sections. I don't need ...
8
votes
2answers
296 views

Looking for three images on top of each other with text underneath each

I need to place three images on a page with text under each, and then one 'overall' caption for the figure. This code puts the images on top of each other but the text is to the left of the images, I ...
8
votes
2answers
2k 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} ...
8
votes
1answer
764 views

Replicate Figure w/out Inserting New Entry in List of Figures

I would like to replicate a figure in Chapter 3 within Chapter 6 such that the figure is displayed and optionally, it has the caption and Figure number of the figure in Chapter 3. If that is not ...
7
votes
1answer
675 views

References inside floats as footnote bibliography

I'm working on my thesis and I would like (for the sake of readability) the references to appear at the bottom of each page as footnotes, as well as at the end of the text, in the bibliography. This ...
7
votes
2answers
4k views

subfigures with memoir

I switched to memoir and stopped including subfig and now all my subfigures interpret the caption as actual text, i.e., "[caption...]" shows up in the document with the square brackets. How do I have ...
6
votes
1answer
482 views

Splitting an algorithm across two columns

Consider the following short example, where a two column page is selected, and the algorithm is split across the two columns using a manual \pagebreak within the algorithm's code: ...
6
votes
1answer
199 views

TikZ's extended line penetrates the figure caption

Here is an example: \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure}\centering \begin{tikzpicture}[extended line/.style={shorten >=-#1,shorten <=-#1}] \draw [very ...
6
votes
2answers
771 views

Spacing between figures and texts

I'm having some issues dealing with figures. It happens that when I have a page with some text and then it comes a figure, with H property, who doesn't fits into the same page as the text, the text ...
6
votes
1answer
509 views

How to use figure inside a exercise environment?

Trying to use figure inside an Exercise environment (exercise.sty) gives me "LaTeX Error: Not in outer par mode." Example: \documentclass{article} \usepackage[]{exercise} \begin{document} ...
6
votes
1answer
4k views

\renewcommand\tablename{name} does not work

I am completely noobie in LaTeX. I need to change table name in all captions. But when I write \renewcommand\tablename{newname} at the beginning of document, it doesn't do anything. It's still "Table" ...
5
votes
2answers
217 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 ...
5
votes
1answer
1k views

floatrow: Changing the formatting of table footnotes

The floatrow package, which is useful for customizing the layout of floats, also allows to add footnotes as well as additional explanations (besides the caption) to tables. (The main commands are ...
4
votes
1answer
2k views

Numbers of figure references

I use enumerating of figures within the section \renewcommand{\thefigure}{\arabic{section}.\arabic{figure}} however, when I use a reference to subfigure, instead of 1.1 (a) I get 1(a). How should I ...
4
votes
1answer
264 views

Avoid line break after macro

The following example produces a line break after the second text. \define[2]\smallfigure{\placefigure[margin][#1]{#2}{!}}% \starttext text text\smallfigure{fig1}{A}text text \stoptext The ...
4
votes
1answer
3k views

Ignore figure for list of figures

I'd like to include some figures in my LaTeX document just like every other figure but don't have exactly these figures included in the list of figures. Since I couldn't find a solution I have to ask ...
4
votes
2answers
5k views

sidewaystable vs landscape environment (pdflscape-package) for landscape tables spanning double pages

As explained in several other posts, I'm currently trying to create wide tables. The document is in portrait format A4, but the tables shall be typeset in landscape format. As the tables have more ...
4
votes
1answer
1k views

Numbering figures and tables by their section

I am having trouble formatting my list of figures and list of tables. Currently, my tex document is printing the list in the following manner: 1 Foreign Key Constraint Problem Due to Improper ...
4
votes
1answer
167 views

How to retain figures only with captions in their original positions

The publisher of our book has requested us to modify the source of the book so that only figures with their captions remain retaining their original positions in the document as if the rest of the ...
4
votes
3answers
1k views

How to wrap around a figure in a theorem-like environment?

I want to illustrate my examples, which are set in a theorem-like environment. Is it possible to wrap the text and equations around the figures? I have read about several packages but I can't get them ...
3
votes
1answer
221 views

How to allow page break inside a float environment?

I'm using new float enviroment to show some examples in my document. This enviroment contains tcolorbox which provides a gray background. The main text in the enviroment is a mixture of plain text ...
3
votes
2answers
143 views

Placing a table next to figure (align table vertically centre)

I would like to place a table and figure side by side in my document. I have achieved this with the following code \documentclass[a4paper,10pt]{article} \usepackage{floatrow} \usepackage{color} ...
3
votes
1answer
99 views

How to measure the vertical space that was typeset without placing it into an environment?

I would like to achieve automatic clearing of a {floatingfigure} at the beginning of a new \section for texts automatically created by Pandoc. For this to work, I am in need of a way to measure the ...
3
votes
2answers
1k 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 ...
3
votes
1answer
5k views

Insert image in latex [duplicate]

Possible Duplicate: Force figure placement in text Hi! I'm trying to insert an image in latex with some text around: Here is our image: \begin{figure}[h!] \centering ...
2
votes
2answers
124 views

Plenty of space on page but can't make figures bigger

I am trying to put two figures on one page in latex, without using minipage. But the second figure is moved to the next page at a certain size, even though there is plenty of white space left on the ...
0
votes
1answer
403 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
424 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: ...
10
votes
2answers
2k views

How to put table and PNG next to each other in the same figure?

How can I put a table and a PNG (using \includegraphics) next to each other in the same figure, in the following way? +----+ +-----+ |png | |table| |png | |table| |png | ...
9
votes
2answers
2k 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 ...
9
votes
1answer
395 views

How to place all floats (tables in particular) at a certain point in the document

I would like to place all of the tables in the document at the end but before the bibliography generated by biblatex and the notes printed by endnotes. In other words, I'd like to collect the tables ...
8
votes
3answers
255 views

Changing the number of figure or equation automatically in text by changing the places of figures and equations

Is it possible to automatically reference a figure and equations in text? I meant sth like bibliography references. Moreover, by changing the place of the figures or equations relevant figure or ...