{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
636 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
667 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
2k 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
201 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 ...
13
votes
2answers
2k 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
2k 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
620 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
3k 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.} & \textbf{...
7
votes
1answer
2k 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
706 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
315 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
5k 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
11k 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
598 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
2k 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 ...
5
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
636 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 ...
14
votes
1answer
9k 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 ...
11
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
523 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
473 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
14k 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} \end{...
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, @...
6
votes
2answers
1k 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
245 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 ...
5
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 ...
108
votes
3answers
38k 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
219 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
3answers
3k 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 ...
6
votes
1answer
10k 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 sep=...
4
votes
2answers
452 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
776 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} \...
31
votes
3answers
5k 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} \inputminted{java}{...
7
votes
1answer
4k views

Why does a figure capture a whole page?

I have a figure in a whole page, even though I do not intend it to capture a whole page. There is a lot of white space around it, and I definitely think there could be some text surrounding it. Is ...
37
votes
2answers
31k views

multicol and figures

I have a two column document (using multicol) and want to insert figures so that they do NOT span columns. I have searched around and the only thing I can find says that only figure* is supported ...
5
votes
3answers
2k views

Continuous table numbering

I am listing a bunch of pages in an Appendix. If I do the appendix as \appendixpage, after a chapter 1 (for testing), I get all tables numbered 1.1, 1.2, ... 1.436. (Yes, I have 436 tables, and it's ...
5
votes
2answers
33k views

Reference to a table before it appears

I want to reference a table before it appears.The TeX code is pasted below \documentclass{article} \begin{document} The results given in Table~\ref{tab:a} show the performance of the class. \begin{...
6
votes
2answers
2k views

How can I inhibit LaTeX to float a table across a section boundary? [duplicate]

Possible Duplicates: How to avoid splitting tables between sections. How do I ensure that figures appear in the section they're associated with? I have a couple of tables that are ...
64
votes
1answer
26k views

Captions for figures in \listoffigures

When I use \listoftables and \listoffigures I get in the list long captions that appear next to the tables/figures. I would like to use short captions for this list which summarize these captions. Is ...
5
votes
1answer
3k views

Column width in multicol and using float environments

I'm trying to write my first report ever using LaTeX. I want it to have two columns so I'm using the multicol package. The columns are too narrow though, I want it to be wide like, say, elsevier style ...
16
votes
2answers
5k 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. ...
57
votes
6answers
53k views

How can I get the figures not to be pushed to the end of the document?

For some reason, my figures get pushed to the end of the document. I tried begin{figure}[t], [h] and other options, but none helped. Any ideas how to get the figures to appear much earlier in the ...
9
votes
3answers
2k views

Macro for figure position?

Why is the following minimal example not working? I.e., what do I need to do, in order to define the float placement specifier of a figure within a macro? (I know that I should use \newcommand, but ...