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

18
votes
4answers
10k views

How to find the lost text part when having “Float(s) lost” error

I've lost some text. I don't know if theres something missing, so how can I find it? I'm not in the mood to compare the chapter1.tex to the pdf file by reading both. Chapter 1 (chapter1.tex) is rather ...
8
votes
1answer
215 views

Figures Grouped at the End

A requirement for a paper I'm writing is that all figures occur at the end of the document, with one figure per page, and with a page of figure captions preceding the pages of figures. Is there any ...
2
votes
0answers
341 views

Transparent block and picture inside the environment itemize [closed]

Using Beamer I have one figure inside the environment block that is also inside the environment itemize. Using begin{itemize}[<+->] I have 3 items and the block with the figure is the 4th item. ...
3
votes
1answer
76 views

Change the textwidth in a graphic caption?

Following a minimal code from somebody who asked why it produces a longer line for caption text of the figure, than a line in the main text. \documentclass[12pt]{article} \usepackage{array,latexsym,...
2
votes
1answer
379 views

Minipage: trouble getting figures at top of page

I'm trying to fit these to flowcharts in one page. This is what I got so far, not so nicely done I think. Any suggestions how I can get the flowcharts at the top of the page, nicely next to each other ...
6
votes
2answers
2k views

Placing two figures (each having subfigures) next two each other

I would like to place two figures, where each figure has subfigures next to each other. I tried with minipage, but tex does not like the \subfigure as Not in outer par mode. Is there any way to place ...
2
votes
1answer
363 views

Setting parent of a counter and removing counter from caption

I guess, I have two questions. My very concrete problem is that I want \caption{xyz} to not print a table counter within a table. By now it prints “Table 0.1: xyz“. How would I remove that? But ...
2
votes
2answers
947 views

How do I change the label separator for marginfigure in Tufte Book/Handout?

I'm trying to use the caption package to do this and I've used the following code, but it's still not giving me a period as a label separator. How can I go about fixing this? Here's what I have: \...
5
votes
2answers
2k views

Reference to figure label in adjustbox

\begin{figure} \begin{adjustbox}{addcode={\begin{minipage}{\width}}{\caption[bla] {% bla ..., fig. \protect\ref{fig:fig1}, ...bla. } \end{minipage}}} \includegraphics[scale=1]{figure.png} \end{...
7
votes
1answer
630 views

Can I have bigger margins on pages containing only floats?

Latex sets the margins to give a good reading experience for text. For pages containing only figures this generally does not matter and I would like my figures to fill as much space as possible, in ...
6
votes
1answer
770 views

comment package - \excludecomment{} gives error

I'm trying to generate a pdf file without the pictures for draft revision, and as seen here and here the \excludecomment{} is not working for me. Here is my error: line 31: Extra }, or forgotten \...
18
votes
1answer
525 views

Flushbottom columns when \parskip has no stretchable glue

In the following example, the columns on page 1 and 3 "sit" perfectly on the frame, while on page 2 (with the large float) the columns end a bit above the frame. Does anyone have an idea what I could ...
13
votes
3answers
43k views

How do I remove white space before or after the figures and tables?

Whenever my figure or table has to move to the next page it is placed exactly at the center of the page, and thus occupies the whole page by itself. I tried all the combination in: \begin{figure}[htb]...
3
votes
1answer
98 views

Placing a float at the end of page number (x)

So sometimes I'd kinda like to position my floats (tables, figures) in specific places in a document (bottom of second column on the first page, top of the third page, etc) and have the text fill up ...
4
votes
1answer
81 views

Negative or zero chapter number not appearing in list of figures (lof)

Usually figures 1,2,3 of chapter n appears as "n.1, n.2, n.3" in main text and in List of Figures (lof) but this format is not respected if n <= 0, in this case figures appear simply as "1, 2, 3" ...
11
votes
2answers
742 views

Conditional figure environment (sideways, bottom captions)

For my phd dissertation I would like to have a new environment for figures that gives me the possibility to either place the caption sideways if there is enough space (say the figure width is < 0.6 ...
5
votes
2answers
833 views

How can i change the fontsize with KOMA-script?

I need to change the fontsize to 11pt inside a table environment. The default setting of the document is 12pt using scrartcl, but I need to change this to exact 11pt in the float (the reason is that ...
1
vote
1answer
410 views

How to move figures to an extra page?

I have two large figures that I'd like to put on an extra page, meaning there should be no text on that page, only the figures. Bla bla. \begin{figure}[t] ... \end{figure} \begin{figure}[b] ... \...
19
votes
2answers
4k views

Find optimal figure size to fit two images on one page

I often encounter a situation where I would like to fit two or three figures on one page. I define my figures as follows: \begin{figure}[htpb] \centering \includegraphics[width=0.xx\...
0
votes
1answer
111 views

figure environment and contiguous images [duplicate]

Possible Duplicate: How do I ensure that figures appear in the section they're associated with? I have a set of images and I want them all to appear in the same \section of my document, ...
0
votes
1answer
3k views

Figure inside a minipage [duplicate]

Possible Duplicate: How to use figure inside a minipage? For a kind of report, I have to write each section in a boxed space. To do that, I use the following : \newcommand{\textbox}[1]{ \...
1
vote
1answer
219 views

table numbers are wrong for double column table

My: \begin{table*}[t] \begin{minipage}{\textwidth} \begin{tabular} \end{tabular} \CaptionType{table} \caption{...} \label{tab:res2} \end{minipage} \\ %...
4
votes
2answers
5k views

Changing vertical position of a figure caption with sidecap/SCFigure

I use the sidecap package to add small graphics with captions on the inner side of a page with the following options in the preamble: \usepackage[innercaption]{sidecap} \sidecaptionvpos{figure}{t} ...
0
votes
2answers
875 views

float placement using endfloat

I have a lyx file in which there are several figures and tables. The preamble has been amended to have: \usepackage{multirow} \usepackage{rotating} \usepackage{subfig} \usepackage{longtable,...
6
votes
1answer
282 views

Place a figure at the beginning/end of a specific page

So I'm putting together a paper using LaTeX and I know that I want to place a specific figure at the bottom of page 1, another figure at the top of page 2, etc, and let the text just wrap around the ...
3
votes
2answers
3k views

Referencing a table vs. a figure in LyX, format

Currently, when I reference things using labels I have setup LyX simply inserts the table number. I would like it to insert Table N where N is the table number. Similarly, I would like it to insert ...
1
vote
0answers
103 views

float placement at the end of the document [duplicate]

Possible Duplicate: Force impagination sequence How can I remove the figures from a draft of my document? Is there a way I can specify an option to tell TeX to place all of the floats I have ...
8
votes
2answers
18k views

Insert figure in a multicol article

I am trying to insert a figure with a caption into a multicol article. When the figure was inserted on its own, it was fine: includegraphics[width=0.5cm]{image} However, when I tried to insert the ...
7
votes
3answers
383 views

Using full stops in figure name to replace spaces: error (confusion of file extension)

I am not sure this has been asked before, but I couldn't find it and I am hoping to get a solution or at least a good explanation of why this is a bad idea. (there are questions about using underscore ...
9
votes
1answer
691 views

Different margins for text and figures

Is it possible to have it so that the text has smaller left and right margins than figures? I am using memoir.
0
votes
1answer
832 views

Using KOMAoptions to produce landscape output produces empty page

I am writing my thesis and received a template for inserting landscape graphics on a typical paper when using pdflatex (which I am). It looks like this: \newpage \KOMAoptions{pagesize,paper=landscape,...
7
votes
1answer
2k views

How to layout four figures with floatrow, two of them vertically?

how can I get a layout like the one below in my document? _____________ _____________ _______________ |Big Picture1| |Big Picture2| |Small Picture1| | | | | |______________| | ...
6
votes
2answers
2k views

Indenting the first line of figure captions

I want to create a small indentation in the first line of figure captions, similar to the way LaTeX indents the first line of paragraphs. The caption package does not seem to support this. Is it ...
0
votes
0answers
46 views

My figures end up outside the document [duplicate]

Possible Duplicate: 19 simple tables giving “TeX capacity exceeded” / “Too many unprocessed floats”? I have 11 tables and 10 figures that I have put in an appendix to ...
1
vote
1answer
461 views

LyX: number table by section suddenly default, how to remove

I just installed the newest version of LyX 2.0.4 and notice that the table numbering is by section. How do I remove this so that it is naturally incremented for each table created, like it was before? ...
4
votes
1answer
16k views

Wrong display order of figures and text

Why do the figures appear BEFORE instead of AFTER the section title ??? \documentclass[pdftex,12pt,a4paper,english,dutch,leqno]{article} \usepackage[top=1cm,right=1cm,bottom=1cm,left=1.5cm,...
12
votes
2answers
556 views

Center and yet align figures on opposite pages

This is an extension of the question "How to ensure that 2 couples of figures are on 2 facing pages?". I not only want to ensure that the figures are on facing pages but also that the one with the ...
4
votes
1answer
286 views

Rotating figures to point to the outside edge

I am writing my thesis in LaTeX book style. I have a large figure that I want to rotate to make it viewable sideways. I can do this with the includegraphics option angle=90. My question: Is there a ...
2
votes
1answer
3k views

Using \includegraphics before my new line of text, but on pdf image is after the text [duplicate]

Possible Duplicate: How to influence the position of float environments like figure and table in LaTeX? sometimes im in trouble with my images. Because if there is no space on one page, the ...
1
vote
1answer
742 views

How to number tables and figures according to sections and subsections independently?

I am writing a document that does not required much formalisms, but I want to implement the following numbering system: 1 Section Table 1: Caption Figure 1: Caption 1.1 Subsection Table 1.1: Caption ...
2
votes
1answer
407 views

Automatically change the text width for all table environments using memoir

I'd like to redefine the table environment in a document I'm writing so that the tables and captions are wider than the text block. I'm using the memoir class, and an example given in the manual is \...
6
votes
2answers
512 views

How to define, once and for all, the size of the area (for an epigraph following a chapter)?

I am using 'memoir' for a thesis, and I have chosen the vertical space between a chapter title and the following section to be exactly fixed, \afterchapskip being 120pt for each new chapter. What I ...
7
votes
1answer
16k views

Add four images on a beamer frame

What is the best way to add four images on a beamer frame? I am using \documentclass[slidestop,compress,11pt,xcolor=dvipsnames]{beamer} \usefonttheme[onlymath]{serif} \definecolor{LHCblue}{RGB}{4, ...
4
votes
1answer
170 views

Use float counter in a section title

I defined a new float environment for examples \usepackage{float \newfloat{example}{htp}{example} \floatname{example}{Example} that I the use throughout the document \begin{example} ... \caption{...
9
votes
1answer
844 views

Lost float in exam class

For some reason, I can't seem to put a figure or a table environment inside a solution environment while using the exam class. It produces a float is lost error. Has anyone found a way to bypass this ...
3
votes
1answer
2k views

centering figure, containing a \subfigure with customized \includegraphics

My Problem: I would like to have all images in my Latex document beeing well sized in height and width. Precisly I want, that protrait and landscape images get a predefined size in the document. I got ...
8
votes
1answer
2k views

Shortcut commands for referencing floats

I always include the following commands in the preamble of my latex documents to make sure I refer to floats consistently in the text. I was wondering if the community had any thoughts about this, is ...
6
votes
1answer
6k views

Image on top of another one in Beamer

I am trying to place an image on top of another in beamer. I am using \documentclass[slidestop,compress,mathserif,12pt,xcolor=dvipsnames]{beamer} \graphicspath{{images/}} \definecolor{LHCblue}{RGB}{4,...
7
votes
1answer
124 views

Where to put floats definitions?

I always use floats for figures, tables, graphs, and any other object that is not part of the text. LaTeX do a really good job. Normally I put the definition after the paragraph that contains the ...
1
vote
1answer
201 views

Properly reference figure? [duplicate]

Possible Duplicate: Figure numbers using the section number I have a figure inside a section, like: \subsection{Something} \begin{figure}[htbp] \centering \includegraphics[height=2in]...