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

6
votes
2answers
1k views

pst-circ: figure and caption overlapping

I'm writing a thesis and need to get this problem solved. I just started to use pst-circ as an alternative to cirtuitikz (seemed to me like it has better documentation), however I'm kinda stuck with ...
9
votes
2answers
5k views

Table of Figures

Is there a nice way to include multiple figures in the format of a table? I want it to look something like the following mock-up (pardon my terrible MS Paint skills), and am willing to include any ...
4
votes
1answer
1k views

Line breaks within a figure environment in memoir

I am trying to set up the following layout on a figure in a document typeset with the memoir class:                             ...
6
votes
1answer
727 views

Incorrect figure numbering when using subfloats in a subfloatrow

I have a document with a lot of subfigures which are different heights and need to be placed side-by-side and centered vertically. It seems like the floatrow package is ideal for this. After much ...
2
votes
1answer
201 views

Is there a modern equivalent to the midfloat package?

The package claims to do the wonder of placing a one-column text in a two-column document, without ejecting the page. This seems to work, but breaks when I try to place a figure within the strip ...
21
votes
1answer
8k views

Turning off and on images in figures

Is it possible to prevent the contents of a figure from being rendered? I have a large book document, and to speed up compiling while working on a draft, I would like to have some way of ignoring the ...
9
votes
1answer
3k views

Change caption width together with subfloat

In the following code the package that give the problems is \usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up,width=0.85\textwidth]{caption} What I want to do is change ...
3
votes
1answer
528 views

Creating a new float (memoir)

I recently started using memoir. Previously I had a number of floats defined using float package-- attachment, code, and illustration in addition to default figure and table. Now that I'm trying to ...
4
votes
1answer
27k views

Align figure to the right (with \raggedleft) while still centering its caption with respect to the image

I am wondering if it is possible to align an image to the right margin of the page (with \raggedleft) while still having it's caption nicely centered (with \centering) under the image (centered with ...
6
votes
3answers
5k views

How to set a background color of figure environment?

Currently I've this situation: \newenvironment{inline}[2]{ \begin{figure}[h!] \caption{#1}\label{#2} \vspace{10pt}% }{ \end{figure} } How can I set a background color to whole content, ...
23
votes
3answers
10k views

How can I remove the figures from a draft of my document?

I'm working on a research paper with many figures in it. To save paper, I would like to exclude the figures when I print drafts of the paper. Is there an easy way to do this (via command-line option, ...
3
votes
2answers
2k views

Two pictures and text on one page

I got the following problem: I want to have two pictures at the end of a subsection just before the next subsections starts. I tried it with: \begin{figure}[ht] \centering ...
9
votes
3answers
323 views

Hyperref is loaded by the class, and I need to load packages that are supposed to be loaded before

I am using the lipics documentclass, which loads hyperref. Since I want my figures boxed, I added the following \usepackage{float} \floatstyle{boxed} \restylefloat{figure} The problem: I receive ...
0
votes
1answer
5k views

Image positioning problems [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I'm having troubles positioning some images. Some appear where i want them to, others appear right at the end ...
2
votes
1answer
2k views

Non superscript citations for figures

Is it possible to reference figures like so taken from \emph{ref. \cite{reference}} with non superscript numbers, while leaving the rest of the references in the bulk of the document untouched? ...
25
votes
2answers
45k views

Landscape figure in LaTeX

I have a figure I'm trying to insert which is in landscape and I'm using the following (snipped) code: \documentclass[12pt, oneside]{book} \usepackage{graphicx} \usepackage{wrapfig} ...
7
votes
4answers
3k views

Making a fake figure that holds a text box of specified dimensions

I think I have seen this done before, but I am not sure. Is there a way to build a fake figure in LaTeX? I would like to do this while the other figures in the document render correctly. Ideally, I ...
9
votes
1answer
7k views

Put text to the right of figures

How can I display text to the right of figure, vertically centered? "Caption" is only displaying text below it, as it seems to me.
7
votes
1answer
209 views

Move sidecap images to the end of the document

I'm trying to move all the figures to the end of my document, so I can judge its length based on text alone (My undergraduate thesis has to be no more then 20 pages, not counting figures). I've been ...
8
votes
3answers
4k views

How do I make figure captions span multiple pages?

How do I make figure captions span multiple pages? I have a very long caption for a figure and would like it to carry on to the next page. EDIT: I would like this to work in both one sided and two ...
5
votes
1answer
556 views

Setup a newenviroment for figure with includegraphics and caption

Here is my MWE, I want to 'refactor' the code so that I do not need to write so much when I import source code into my document: \documentclass[12pt,a4paper]{article} \usepackage[demo]{graphicx} ...
2
votes
1answer
194 views

Force impagination sequence

I want to force my document to be in this order: text tabular image This group is repeated some times; as you can imagine the compiler mix the elements (e.g. text1, tab1, text2, tab2, img1, img2). ...
2
votes
2answers
4k views

Figures and Tables 'push down' text in the right column

When I use the IEEE two-column latex template, sometimes the text in the right column does not start at the top, but gets 'pushed down'. This happens sometimes when adding figures or table. A similar ...
1
vote
1answer
284 views

Can't include child document in subfigure

I'd like to save the PSTicks code for my images in seperate files and then include them with \include{image.tex}. This works fine with normal figure floats. But when I use subfloats, I get the error: ...
3
votes
2answers
2k views

Page breaks after images in figures / minipages

I'm using minipage environments for two images next to each other in a paper. My code looks like this: \begin{figure}[htb] \centering \begin{minipage}{0.5\textwidth} ...
2
votes
1answer
603 views

How to refer to a figure created by tikzpicture in paper body?

I am relatively new with LaTeX. I created an image by \begin{figure} \begin{tikzpicture} .... \end{figure} \end{tikzpicture} I just don't know how to refer it in paper body by \ref{compression}, ...
7
votes
1answer
438 views

Guaranteeing that the vertical space above and below a figure are equal

How do I guarantee that the vertical space above and below a figure (including the caption) are equal? The automatic [h!] placement is not doing this by default. In my particular case, it's leaving ...
3
votes
2answers
723 views

How can I put a page of figures as the next to last page?

Right now, at the end of my document I have my bibliography and then I do \clearpage followed by my 4 figures which occupy a page in total. This figure page is the last page of my document. However, ...
6
votes
2answers
282 views

How can I list items created with the float package in the ToC

I created a new type of float using the float package. \floatstyle{plaintop} \newfloat{recommendation}{htbp}{lop}[section] \floatname{recommendation}{Recommendation} I would like it listed in the ...
4
votes
6answers
455 views

Make the width of the figure (including 2 minipages) same as the paper

I have 2 minipages side by side as follows: \begin{figure} \centering \fbox{ \begin{minipage}[t]{0.48\linewidth}% \begin{minipage}[t]{0.48\linewidth}% left part ...
4
votes
1answer
2k views

You've lost some text [closed]

I had several figures included in my .tex file with the use of \usepackage{graphicx} written like the following: \begin{figure}[ht] \center \includegraphics{compton.jpg} \caption{Compton scattering} ...
0
votes
2answers
93 views

Inserted figure is appearing later than it should in when compiled to pdf [duplicate]

Possible Duplicate: How to influence the position of float environments like figure and table in LaTeX? I have two sections in my document: sectionA and sectionB. The code for the document ...
0
votes
1answer
163 views

Using \label within a figure float [duplicate]

Possible Duplicate: Where to put the \label on a figure environment? My question is rather simple. I have noticed that when I use \label like this \begin{figure}[h] \centering ...
4
votes
1answer
2k views

Floatstyle how to come back to the default theme

How can I come back to the default floatstyle after I called the floatstyle{boxed} and the \restylefloat{figure} command?
0
votes
1answer
1k views

Graphics not showing up where I want them to [duplicate]

Possible Duplicate: Force figure placement in text Quite new to LaTeX so I apologize if this is a rookie/obvious error. I'm trying to include some figures in a college report I'm doing. ...
6
votes
1answer
1k views

Avoid showing all figures at the end of the text by setting \topfraction to a value larger than 1.0?

Jakob's LaTeX tricks read: Be careful not to make \floatpagefraction larger than \topfraction, then you risk to produce a figure that can neither go on the top of a text page, nor on a page by ...
2
votes
2answers
164 views

How to embed figure short descriptions (as would be displayed in the List of Figures) within the table of contents in LaTeX?

The document I'm writing has all the figures in Appendix A (since there is a lot of source code included in latter appendixes, it would not make sense to put the figures as the final part of the ...
4
votes
1answer
1k views

Customizing figure counters [duplicate]

Possible Duplicate: Continuous v. per-chapter/section numbering of figures, tables, and other document elements I'm using the book class. I want to count my figures as "Figure 1.", "Figure ...
2
votes
1answer
1k views

mdframed around figure with threeparttable

I'm trying to draw a border around a figure (using mdframed) with a threeparttable. However, the size of the border is not adjusted correctly. How can I adjust the border to correctly wrap around the ...
13
votes
3answers
5k views

Turn off List of Figures for Appendix material

How do I prevent figures in the Appendix from appearing in the list of figures? It seems that after the command \appendix the numbering automatically starts. I've tried leaving the first part in ...
1
vote
1answer
3k views

Image (figure) positioning

I got two cases with images I wish to use within a document. One is a logo, I would like to use it in the front page, at the top-right corner. How do I do that? The second are a drawings which I ...
4
votes
1answer
1k views

longtabu and floats: wrong table breaks on pages with floats

I noticed that the tabu package seems to have problems with its longtabu environment, if it is placed on a page, where a float already is placed. Consider the following MWE: ...
2
votes
2answers
6k views

How to add a newline after a figure?

It seems that after figures there is no vertical space whatsoever. LaTeX doesn't seem to like me adding a \\ after the figure, too. How can I accomplish some vertical spacing after a figure? Here's ...
2
votes
1answer
2k views

pdflatex: an empty page appears first when include a large figure

Here is my simple code. The figure is 11in x 8.5in. (or in letter size). My purpose is to emerge these pdf figures together and generate pdf with bookmarks. But the first empty page is very annoying. ...
4
votes
1answer
343 views

Full width text shifts all marginfix-ed floats off the page to the right

I'm using marginfix to fix the positioning of sidenotes in some Tufte documents, but whenever a page contains any text in a fullwidth environment, all marginal material on that page is shifted to the ...
2
votes
1answer
684 views

How can I redistribute floats towards the top of the page?

I'm using Tufte classes and am trying to gain some general control over the distribution of floats (including Tufte's implementation of citations and footnotes) on my pages. Without intervening, I get ...
3
votes
1answer
1k views

\twopagepicture package refining

I have been able to use the \twopagepicture package with success (all margins, appearances, etc.) correspond to what I have been looking for one of my wide figures in the thesis, however, it only gets ...
0
votes
0answers
41 views

Why am I getting errors about defined references? [duplicate]

Possible Duplicate: Why does an algorithm's label have to appear after the caption? I have the following in a paper: See~\ref{fig:quicksort}. \begin{figure} \label{fig:quicksort} ...
12
votes
1answer
14k views

Include table as a subfigure

Is it possible to include "table code" as a sub-figure (instead of an image) using the package subfig? If so, how?
11
votes
2answers
6k views

Height of figure + caption textheight

I have a figure with a 3 line caption. I would like to insert the figure as tall as possible. If I use \includegraphics[height=\textheight]{file} The figure is as high as the textblock and the ...