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

3
votes
1answer
907 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 ...
4
votes
1answer
641 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 ...
4
votes
1answer
3k 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/}} ...
7
votes
1answer
109 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 when i use a withe line (after the ...
1
vote
1answer
137 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 ...
2
votes
1answer
288 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
2k 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 ...
5
votes
1answer
205 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
529 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
139 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} ...
4
votes
3answers
304 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
1answer
2k 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
203 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 ...
10
votes
2answers
3k 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 ...
2
votes
1answer
2k 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
2k 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 ...
5
votes
2answers
1k 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
625 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
240 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 ...
3
votes
2answers
501 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
304 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
532 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
175 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
346 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
2k 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 ...
5
votes
0answers
133 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} { ...
2
votes
1answer
614 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
4k 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 ...
5
votes
1answer
387 views

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

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 ...
1
vote
0answers
89 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. ...
5
votes
0answers
861 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
1k 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
936 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
408 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 ...
2
votes
1answer
2k 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 ...
2
votes
1answer
3k 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 ...
16
votes
3answers
986 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
502 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 ...
1
vote
1answer
3k views

Lyx: float figures 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 all appear at the top of three different pages. Help! Why ...
3
votes
1answer
187 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 ...
3
votes
2answers
474 views

Tables as PDF images

Due to time constraints I'm considering cheating a little and importing some tables I've created in Excel into my latex document. I realise I can do this quite nicely as a 'figure' using something ...
2
votes
1answer
2k views

Subfigure float - caption above, and how to break figure over two pages

Firstly, thanks a lot in advance for your help with this problem. I've looked long and hard but not found a solution anywhere. I am writing my PhD thesis in Lyx and love how it makes the formatting ...
0
votes
0answers
14 views

Display table in correct subsection [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned In my example I have two subsections. Each of them contains single table. I need each table to be displayed ...
6
votes
1answer
188 views

Force all floats to the end of the document without using endfloat, compatible with htlatex

What is the easiest way to have all floats forcibly appear at the end of the document? The solution should work with htlatex, the floats should appear at the end of the HTML document in this case. ...
5
votes
1answer
230 views

Force all floats to the end of the document without using endfloat

What is the easiest way to have all floats forcibly appear at the end of the document, one per page? The endfloat package is not an option, see below. The following questions are related but not ...
5
votes
1answer
3k views

Subfloat with subcaption package: Missing number, treated as zero

I want to make a figure consisting of two subfigures. Having read the Wikipedia subentry on subfloats, I tried to follow it exactly, so I did not use the subfig or subfigure package, only the caption ...
1
vote
0answers
54 views

Prevent float from splitting paragraph [duplicate]

Possible Duplicate: How to protect text from being split by a float? I have this LaTeX like code \begin{figure}...\end{figure} [my paragraph text] The output is my paragraph ------ ...
2
votes
1answer
233 views

figures numbering to 3 levels rather than 2

For some reason my current 'report' has started numbering figures to 3 levels... so if something is within chapter 1, but section 1.3, the figure gets numbered 1.3.1... This isn't what I want... it's ...
4
votes
1answer
224 views

Figures not obeying margins

I have a few figures in my document not obeying the margin constraints: \usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry} Most do. But these one's don't... they are defined as the ...