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

4
votes
1answer
1k views

Tables float into bibliography

I have a sequence of sections of my paper, followed by a bibliography (bibtex). It looks pretty much like \input{asection} \input{appendix} \bibliography(bibfile} The problem is, "appendix" ...
79
votes
3answers
31k views

Center figure that is wider than \textwidth

I have a figure that is wider than the \textwidth of my document. (I don't want to change the \textwidth.) As a result, the leftmost part of the figure is flush with the left margin, while the ...
0
votes
0answers
164 views

Positioning figures in specific places. [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned Whenever I insert a figure into my document, it is placed wherever it can fit. Sometimes this is before section ...
2
votes
3answers
2k views

Page numbering with figures and tables

I'm having a bit of trouble with my LaTeX document. I've been writing quite a bit, and have a few images and a table that I'm referring to. My first problem is, that I have some text, then image, ...
1
vote
1answer
2k views

A.0.1 figure labels in Appendix

I have two issues: The figures/tables in my appendix are being labeled A.0.1 instead of A.1. I assume this is because of the convention in my document is chapter.section.#. How do I change this ...
2
votes
1answer
143 views

Increase listings spacing through the package listings or use figure instead?

This is more a conceptional question on how to use LaTeX in the right way. So far I have striven to customize only those things in LaTeX which are supposed to be without messing to much with print ...
4
votes
1answer
724 views

Figure and table in one float

I was trying to put a figure directly above a table in a TeX document, which I achieved by putting the command \includegraphics directly after \begin{table}. This, however, leaves no space between the ...
15
votes
2answers
41k views

Image from \includegraphics showing up in wrong location?

I have the following situation: \subsection{Some subsection} Some text here... \\ \begin{figure} \caption{Raw} \includegraphics[scale=0.25]{raw.png} \end{figure} \begin{figure} ...
5
votes
2answers
970 views

How to make equations, figures and theorems use the same numbering scheme

It was asked a while ago how to make equation use the same counter as a theorem for example and one solution was to make the theorem counter use the equation instead by using ...
4
votes
1answer
2k views

(Beamer) Numbering captions by section in beamer

I'm writing-up a lecture course in Latex with an essentially identical set of slides in beamer. I'd like to have the figure numbering in the beamer slides to match those of the lecture notes, for the ...
8
votes
2answers
563 views

How do you print only the pages with figures on them?

A friend of mine recently completed his doctoral thesis. In order to save on toner, he printed the pages with figures on a color printer, but printed everything else on a black and white printer. In ...
5
votes
1answer
659 views

Table without the name “Table” in the head.

If I write \caption{This is the table.} in a tabular environment, then the head of the table will appear as: "Table #: This is the table." But I want the head of my table to be simply "This ...
4
votes
2answers
1k views

Make tikz picture floating

I'm inserting a tikz picture in my section headings with \titleformat (see this question) and I would like it to not affect the spaces in the headings. Right now, what I do is that I compensate the ...
4
votes
1answer
185 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 ...
12
votes
2answers
994 views

Force floats to be typeset after their occurrence in the source text?

AFAIK a figure or table should always be placed after the first reference to it in the text. So I always place the code for my figures and tables after the paragraph which contains the first ...
6
votes
2answers
1k views

How to give any figure a caption based on its horizontal size?

I have figures in both portrait and landscape and of various sizes. I'm trying to find a leeway to give any figure a caption based on its horizontal size. In my thesis.cls file, I've already set a ...
4
votes
1answer
605 views

caption of subfloat not fitting on page

In my thesis I have 13 figures I want on a single page. Since the last figure sits at the left side there is some space at the right side I would like to use for the caption. Somehow the caption goes ...
3
votes
1answer
2k views

Tables and sections get misplaced

These are my tables: \section{The status of respondents} \begin{center} \begin{table} \begin{tabular}{|l|l|l|l|} \hline \textbf{Sl.No.} & ...
6
votes
1answer
1k views

Is it possible to use the figure environment with the standalone package?

I can not get standalone to work with figures; I get the error Not in outer par mode. (The figure is in the included file.)
3
votes
1answer
672 views

Position tikz graph at the bottom of twocolumn page in memoir

According to section 10.4 of memoir manual double column floats may only be placed at the top of a page. However, I need a tikz graph at the bottom of the page. So I have tried using minipage(floating ...
1
vote
2answers
306 views

don't split verbatim by tables

I have quite long verbatim, which I don't want to be split by table, which is present in source document before verbatim. I have my table wrapped by \begin{table}[h]. Any suggestions?
3
votes
2answers
4k views

How to force text and figures to be on the same page when minipage, samepage, nopagebreak do not work

I'm trying to get four figures (centered on a page in a 2x2 grid) to show up on the same page as the section heading ("Appendix"). The following puts the word "Appendix" on one page (all by itself) ...
13
votes
2answers
6k views

Placing figure captions at the bottom

How do I get the captions for my figures to be placed at the bottom of the picture, just like the captions for tables?
2
votes
1answer
572 views

Caption Formation for Figure

I use the caption package. Somehow I got a period between the type (Figure) and the separator (:) When I wrote listformat=empty, for the Table of Figures, I just got the period and then the ...
3
votes
1answer
1k views

Align pictures in text

I have some code for a picture that looks like this: ...Text before pic... \begin{figure}[h!] \caption{caption stuff} \centering \includegraphics{somegraph.png} \end{figure} ... Text after ...
4
votes
3answers
2k 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 ...
5
votes
1answer
596 views

Caption on side of page

I have a image that I want to include in my thesis. It's long, so I have to rotate it, however when I do this the caption remains at the bottom of the page. How can I make the caption go to the side ...
2
votes
1answer
6k views

How to place image on same page as text

I am new to LaTeX. I am trying to include and graph in .eps format in my LaTeX document. I shrink the image to half its size, but for some reason, LaTeX still putting it on its own page, with a ...
12
votes
1answer
6k views

Pseudo code to be spread over multiple pages?

I am writing pseudo code in the algorithmic environment. It is quite long and doesn't fit on one single page. Instead of it continuing on the next page, it is cut off. I tried inserting it into a ...
9
votes
1answer
1k views

Floating wrapped figure in a twocolumn page

I am creating a big composite book \documentclass[A4,twocolumn]{book}. I need wrapped floating figures (and tables) over both columns. I know the enviroment figure*, but the full width of a page is ...
2
votes
1answer
443 views

Problem with side-by-side tables

I've checked out related questions here, and found similar answers via Google, and still can't figure out why the following code does not produce two side-by-side tables. They are narrow enough to fit ...
4
votes
1answer
423 views

Want figure height to ignore side caption height

I use beside captions placed in a large margin area. Sometimes, the caption text is taller than the figure and this causes too much vertical space around the figure. I'd like the effective height of ...
1
vote
1answer
2k views

Subcaption: wrong subfigure labels

I am having a problem with \subcaption labeling subfigures (c) and (d) instead (a) and (b). I don't know where the problem originates from. I have many figures that contain two subfigures and most ...
3
votes
1answer
6k 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 ...
4
votes
1answer
11k views

Insert image in LaTeX

I'm trying to insert an image in LaTeX with some text around: Here is our image: \begin{figure}[h!] \centering \includegraphics[width=0.5\textwidth]{idefA0.jpg} \caption{IDEF0} ...
0
votes
0answers
157 views

\subsubsection <— How do I ensure that figures appear in the section they're associated with? [duplicate]

Possible Duplicate: How do I ensure that figures appear in the section they're associated with? How do I ensure that figures appear in the section they're associated with? thanks, ...
5
votes
2answers
973 views

Large table is placed on extra page

I am using LaTeX, and I have a large table in my report, the height of table is a little more than half of the paper. all the text after the table will go to the next page, and in this page just the ...
2
votes
0answers
240 views

Incompatibility between classicthesis and afterpage [closed]

It looks like there is an incompatibility between afterpage and classicthesis :( I successfully run this example: How to wrap text around landscape page. But as soon as I incorporate it in my classic ...
4
votes
1answer
1k views

Figure reference management

I'm writing an academic report and it is required that I include my figure/picture references (almost exclusively URLs). Already tried to use BibLatex to make sub-bibliographies but that proved to be ...
88
votes
3answers
30k views

subcaption vs. subfig: Best package for referencing a subfigure

On this question, a comment by Martin H says: that one should forget about the subfigure and subfig packages and use subcaption. As subfig replaces subfigure, no argument there. I am currently using ...
7
votes
2answers
9k views

How to put two images next to each other with a) and b) labels?

I want to put two images next to each other and in order to do that I have written these code: \begin{figure}[h] \begin{minipage}{16pc} \includegraphics[width=16pc]{P_1.eps} \caption{\label{fig4} ...
1
vote
2answers
214 views

how to ensure formatting in tex doc remains same once it's compiled

Using \clearpage or \newpage will work sometimes or will ensure that the figure stays in the same section, but I cannot always get the heading of a subsection and the introduction to it to appear ...
3
votes
3answers
2k views

Using endfloat with Chapters [ Figure X about here] has incorrect numbering

Using endfloat and graphicx package. I place a figure in chapter 1. Which is assigned the figure number 2.1. A box in the position reads: [ Figure 1 about here ] How can we make the box read the ...
5
votes
2answers
1k views

Figure environment not working with included file (extra } or forgotten endgroup)

I've spent hours on this issue. I hope someone can help me. I'm running into some kind of interference when I try to use the figure environment (Likewise for table, might be related to floats). I ...
9
votes
2answers
2k views

How to remove header on the page with big picture?

Can you help me to remove header from the page where is only one big picture? I tried \thispagestyle{empty} but it removes a header on the next or previous page. I don't know how to remove it exactly ...
3
votes
1answer
5k views

How to force caption below figure

I find captions appearing above figures in the PDF output of a latex thesis file using the code below: \includegraphics{chapter2/fig5.pdf} \begin{figure} \label{Fig. 5} \caption{Time responses ...
3
votes
1answer
1k views

Table: Caption is centered but table itself not

I have another problem with a table in my document. The following code centers the caption but not the table itself. Any hints why? \begin{table}[htbp] \begin{tikzpicture} \node (table) [inner ...
4
votes
2answers
422 views

Powerdot shrink text in figure caption

I am using the powerdot class to make my first presentation in LaTeX (LyX). I have a figure whose caption contains a lot of text. Currently the text rolls off the slide. I can manually change the font ...
6
votes
1answer
755 views

How to insert an image into a two-column document such that the text flows from TL, BL, TR and finally BR?

I don't like the following: I want the following: Code: \documentclass[demo,12pt,a4paper]{article} \usepackage[margin=2cm]{geometry} \usepackage{multicol,lipsum,graphicx} \title{Foo Bar Baz} ...
23
votes
2answers
4k views

Code spanning over two pages with minted, inside listing with caption

I am trying using minted to display some code in my document, but the code is long and spans over two pages, this works fine, however when I place my code inside \begin{listing} ...