{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
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
11k 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
324 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? ...
27
votes
2answers
47k 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
4k 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
570 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
196 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
289 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
674 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
441 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
730 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
285 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
464 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
164 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. ...
7
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
165 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 ...
3
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 ...
5
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
698 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 ...
4
votes
1answer
2k views

Reducing R figure sizes in lyx?

I am using LyX with the Sweave module to generate some R figures within a document. I can't seem to get the figures to be smaller, and they tend to take up half a page which is far too large. I have ...
6
votes
1answer
16k views

Vertical space between figures

I really want to get rid of some of the whitespace between figures and subfigures, it is completley unecessary and sometimes causes a page of figures with a third landing on page two with text, while ...
3
votes
2answers
9k views

LaTeX Table Positioning

This is similar, but not the same, as a previous question. I want to do the following things: Number tables and figures separately Put tables exactly where I want them To do the first one, I just ...
2
votes
1answer
373 views

footnote in the column name of a table [duplicate]

Possible Duplicate: Footnotes in tables? I tried inserting \footnote in the column name of a table. The footnote did not appear at the bottom of the page as expected. Can someone help me? ...
2
votes
1answer
868 views

Frame around a page latex [duplicate]

Possible Duplicate: Creating Page Border for Single Page only Hello I need to put a double frame around an A4 page in latex. How to do this ? I looked into psframe. Did not quite get it !
68
votes
4answers
46k views

Too many unprocessed floats

I'm trying to a large number of figures. The code is \begin{figure} \includegraphics[scale=0.5]{m2T4.pdf} \caption{M2T, Problem Size 513} \end{figure} I'm not able to compile, I get the error ! ...
2
votes
1answer
796 views

A table and a figure, with captions, in the same wide float in a two-column document?

I'm trying to place a figure and a table inside the same wide float so that they are positioned together within a two-column document. However, they also need separate captions (i.e. a figure caption ...
11
votes
1answer
484 views

biblatex: How to suppress back references for certain citations?

When using BibTeX's standard citation commands, such as \cite, typically back references are generated (if enabled) in the bibliography pointing back to the place of citation. That's a nice feature. ...