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

12
votes
2answers
554 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
285 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
731 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
404 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
509 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
15k 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
839 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
197 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]...
2
votes
1answer
500 views

Numbering trees/diagrams in tikzpicture

I want to number my trees/diagrams according to section number and at the center and bottom of them. Like Diagram 1.1 Here is a simple one that I wrote. \usepackage{tikz} \usepackage{amsfonts} \...
2
votes
2answers
4k views

Center table on landscape page

I have a rather wide table for which I have a designated page in landscape mode. The rest of the document is in portrait mode. Currently, the first row of the table begins at the very top of the page ...
0
votes
0answers
34 views

Commands defining espacement around floats [duplicate]

Possible Duplicate: How to define different spaces below float and non float listing? What are the commands that define the espacement before and after a float? I use the \captionof command ...
6
votes
1answer
1k views

Figure appears in bibliography

i used all possible options for the figure placement [h], [!h], [ht], [htb] and the figure always appears in the middle of the bibliography, since the figure is near the end of the paper. is there an ...
14
votes
4answers
931 views

How to 3D rotate figures in display

I have a bunch of 2D figures which I like to use latex to display them in a row (side by side). Since the number of the figures is a lot I cannot show them all horizontally. For this I would like to ...
5
votes
1answer
165 views

indent of custom float

In my preamble I defined a custom float to use it for my equations like this \newfloat{formula}{ht}{frm} \floatname{formula}{Formel} then I use it like this \begin{formula} \begin{equation} \begin{...
4
votes
3answers
539 views

Center table and align caption over table

I have a small table that I want to center in a document. I can do this but the caption then is left justified rather than aligning with the centered table. I'd like to center the table and make the ...
8
votes
2answers
4k views

wrapfigure problem: text over figure

I am a relatively new LaTeX user, so bear with me. I am using wrapfigure to present figures in a grant application (read: space is at a premium). All of a sudden, one of my figures is being ...
4
votes
1answer
326 views

Floatrow package causing missing algorithm lines

Hi I started using floatrow and noticed that it is breaking functionality of my algorithm code, both the algorithm header and footer have disappeared. Here is a picture of before and after: Here ...
31
votes
3answers
18k views

Avoid page breaks in \lstlistings

I'm trying to avoid page breaks in my lstlisting (seen in section 0.0.2) I know I can remedy this by floating my lstlisting, but it adds some unwanted white space (seen in section 0.0.1). Is ...
5
votes
1answer
6k views

Having a table in an enumerate environment

I have a problem trying to add a table in an enumerate environment in LaTeX. I want the table to act as if it were just another piece of text. i.e. showing up exactly right next to the \item in an ...
2
votes
1answer
5k views

Figures overlapping text above it

I am writing a two column technical paper and have a number of figures. The figures are included in the following way: \begin{figure} \includegraphics[bb=0 0 160 160,scale=0.5]{figures/...
5
votes
2answers
3k views

Side by side figures containing subfloats

Is it possible to get two figure environments side by side across the top of a page, where both (or at least 1) contains subfloats? IE: And if so, how? I am currently using the subfig package with ...
9
votes
1answer
2k views

How can I an place a figure next to an equation?

I'm new to LaTeX. This is my first script, an exercise. I'm try to place a 4 figures (SCfigure) I already charted with KmPlot next to its correspondent equations, but they always appear on the next ...
13
votes
2answers
296 views

Objective: To separate text column from figures column in every page

I don't know if this has been asked before. But so far nothing has come up with my search. In some books, the figures are placed at the outer side of the page like in the picture below. Is this ...
4
votes
2answers
878 views

Create landscape image page in pdf, without breaking text flow

Here is an MWE. If you compile this to PDF, you get a half-empty page on the first page, as the last part of the text doesn't come up, but is forced onto a new page. Compare this with the same thing, ...
2
votes
2answers
568 views

One column figure blocks text in adjacent column

I am facing this strange problem where a figure in one column of a two-column page is blocking the second column. In other words, text is not going there in other column with a figure in the adjacent ...
6
votes
1answer
2k views

how to put figures on a page in exam class!

I am trying to put four figures in one page. I have tried using \clearpage, \afterpage{\clearpage} with afterpage package as suggested and worked successfully in many other cases. I have also tried ...
2
votes
2answers
261 views

Best way to centre figure in float [duplicate]

Possible Duplicate: Should I use center or centering for figures and tables? There are (at least) two ways of centering a single figure / graphic horizontally in a figure float: 1) using \...
2
votes
1answer
571 views

elsarticle figure to left in LyX

I use elsarticle 2 docment page in LyX. I put figure in left column partion and use \resizebox{3.4in}{!}{ Figure.png } to make it smaller But I still need to align the figure to left of the page ...
4
votes
1answer
3k views

elsarticle table and figure caption

I want to change the caption of elsarticle in LyX for table to be and for figures to be Mine is the following: I use the caption package in document preamble \usepackage[labelfont=bf,...
5
votes
0answers
146 views

fontspec features not working correctly in floating environment [closed]

The fontspec properties seem to work not correctly inside a floating environment, if used with LuaLaTeX. \documentclass{article} \usepackage{fontspec} \begin{document} { \fontspec[Color=FF0000]{...
2
votes
1answer
987 views

Error when setting a label in an alignat-environment which is embedded in a figure-environment

I want to label equations in a alignat-environment which is embedded in a figure-environment and it won't compile. Example: \documentclass[11pt,a4paper,twoside,openright]{book} \usepackage{amsmath} ...
2
votes
1answer
8k views

beamer struggling with subfig (subfig doesn't work!)

I want to put multiple figures in one frame. I am trying different combinations but neither works. I used subfigure (worked) but I didn't manage to put in a proper way the figures. As I read, it's ...
7
votes
1answer
882 views

How to ensure that 2 couples of figures are on 2 facing pages? [duplicate]

I would like to reproduce the following layout with two figures on one page and two others on the facing pages. I would like the first couple to be on an even-numbered page and the second on an odd-...
1
vote
0answers
101 views

Multiple citations after float object [closed]

Placing one citation with footcitetext after the float is no problem. But how to o this with multiple citations? Footcitestext doesn't exist. \documentclass[a4paper,12pt,bibtotoc,liststotoc,toc=flat,...
5
votes
0answers
2k views

Expand placeins functonality to subsections [closed]

I'm using the placeins package to ensure that floats stay within their respective sections (using \usepackage[section]{placeins}). I'd like to expand this functionality to include subsections, ...
7
votes
1answer
3k views

Three-columns text with figures of 2\columnwidth

Although in multicol environment (not the twocolumn option in document class) is problematic to place floats, there are some ways to put figures within a single column or occupying the entire width of ...
5
votes
1answer
2k views

How to get a double column verbatim in a single column table, in a double column document?

I have a double column document in which I need to place two source code listings side by side. Naturally a two column document's single column is too narrow so the two listings need to span the page ...
3
votes
2answers
747 views

Forbid LaTeX to place float before mention [duplicate]

Possible Duplicate: Force floats to be typeset after their occurrence in the source text? I've already found houndreds of useful answers. But I can't find anything about this one. Is there an ...
2
votes
1answer
6k views

How to put a figure on below paragraph in latex

I want put figure below the paragraph in Latex (one page) i use winshell but always it's apply the figure above the paragraph note: there is enough space to put figure I want to put figure below the ...
4
votes
1answer
12k views

How to put a figure on below paragraph in latex

I want put figure below the paragraph in Latex (one page) i use winshell but always it's apply the figure above the paragraph note: there is enough space to put figure I want to put figure below ...
19
votes
3answers
2k views

What are some best practices for the typography of tables and figures?

I put captions above my tables and below my figures. I use the booktabs package (and no vertical lines) for my tables. Do I show both tables and figures (graphs) for the same data? If so, in what ...
1
vote
1answer
2k views

how to allow figures to float inside paragraph?

I have a problem with floating figures... It seems like latex does not allow the figures to float inside a paragraph, but only in between them. This results in a big waste of space, espacially with ...
4
votes
1answer
8k views

Floats appearing in wrong places

In Lyx I'm using float figures. I have to put three pictures one after the other, so three different float figures. When I output a pdf, the floats all appear at the top of three different pages. ...
3
votes
1answer
275 views

best practice to present multiple images in paper

I want to present 8 images one by one. This is an evolution of a system, so the images should be big that reader can spot the difference. I want two images on a single page. The problem is that ...