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

1
vote
1answer
233 views

How to get figure counter to follow theorem counter?

I am trying to get my figure to counter to follow my theorem counter. I created a few different environments: lemma, example, definitions, etc. I have gotten all of them to follow my theorem counter. ...
1
vote
1answer
198 views

How to make caption of a subfigure wider after scaling the figure?

i wanna scale (a) similar to (c) unfortunatelly, the caption is scaled too how can i make the caption of (c) wider (similar to caption of (a))? thank you \documentclass[12pt]{article} ...
1
vote
1answer
97 views

What is the best way to achieve Figure - Comment structure in article class?

I'm writing my thesis in LaTeX. However, as most of the users do, I face the problem of placing figures. I tried various methods to place figures, and all of them were perfect -- except, when I add ...
1
vote
1answer
117 views

figure different numbering \only - beamer

I am using beamer and i want to create a set of slides with the same title, but different content so i use the command \only. Per each \only{} i inserted different pictures, but they appear with the ...
1
vote
1answer
282 views

Problem with caption, hyperref and algorithm2e

I'm trying to mix the caption, hyperref, and algorithm2e packages, but I am having some issues. Here is a MWE. \documentclass[12pt]{book} \usepackage{float} ...
1
vote
1answer
114 views

Move figure away from first page, in two-column mode

I'm trying to suppress any floats, tables and figures, from appearing on the first page in a two-column ieeetran document: Furthermore, IEEE journals never place floats in the first column of ...
1
vote
1answer
256 views

A figure-like environment that can contain many subfigures and break over pages: How to align double-column starts after the thing properly?

I have a problem similar to post 11059, i.e., I need a figure-like environment that can contain an arbitrary number of sub-figures. These may take so much space that the figure may span over multiple ...
1
vote
1answer
56 views

is possible to use a part of the margins with figure?, as with tabular

is posible to use a part of the margins with FIGURE?, as in this example with tabular \documentclass{article} \usepackage{subcaption,mwe} \usepackage{graphicx} ...
1
vote
1answer
141 views

include figure, auto-fit image and add caption at same time

I have to include some images to illustrate a problem. So I used the following code to auto-scale them to text-witdh, which works amazing. But how can I add some caption? (I have to label and number ...
1
vote
1answer
74 views

Two figures with two sub-figures each on same page

I need a layout like this on a single page without any other text or floats. | figure 1a | figure 1b | Caption for Figure 1 | figure 2a | figure 2b | Caption for Figure 2 Do anyone know ...
1
vote
2answers
82 views

how to put a figure on the side of text?

I have a figure which does not occupy a lot of horizontal space, and I want to put text on its left side. Is there a way to put a figure environment such that the text naturally flows on the left, ...
1
vote
1answer
74 views

Referencing a figure in the text before the figure

I'm wanting to reference a figure, but I know that the usual way of doing it: \begin{document} \begin{figure}[h!] \centering \includegraphics{image.png}\\ \label{fig:fig1}} \end{figure} ...
1
vote
1answer
48 views

How to direct all sub-captions of the subfigures in a central caption

Is there a way to direct all the \caption{}'s found within multiple nested subfigure environments within a central \begin{figure} environment given as \begin{figure} ... ...
1
vote
1answer
45 views

Lower page number for selected pages

Is there a possibility to lower the page number at a single page where a large figure (float) with a height nearly pageheight is positioned? So the command must probably be used inside the figure ...
1
vote
1answer
240 views

Centering Xcircuit Figure

Hi I am using a program called xcircuit to make circuit diagrams and I cant seem to get the figure centered. I have tried \begin{center}, \centering. I have tried messing with \flushleft but it needs ...
1
vote
1answer
57 views

Figure location in the bottom of the document

In my paper the last page should contain reference only, but my figures keep popping in the last page. How can I force them not to appear in the last page / force the last page to consist of reference ...
1
vote
1answer
116 views

81 figures in a Latex document

I have 81 figures saved as .png files . I want to display them all on a Latex document . I can plot about 10 of them before Latex starts complaining . Here is my Latex code : ...
1
vote
1answer
298 views

Table coming before appendix despite being placed in appendix section [duplicate]

I am looking to have a table as the first item in my appendix but when the file is built the table is coming above the appendix. So it builds as: Table Appendix Title Appendix A Where I want: ...
1
vote
1answer
58 views

How is it possible that references are not in the correct order if I put them in a figure caption in LyX?

I'm using LyX and I added a reference to a figure caption. Now this reference is the number [1] in the reference list even if it appears later than many others. It looks like the float captions have a ...
1
vote
1answer
127 views

Pop-ups for a preview of raster images (.jpg,.tiff etc.) as they are while writing LaTeX code

I usually have a lot of figures to comment in my latex document sometimes for me would be helpful have a look to the figures as they are (not a preview of the final formatted results) just a very fast ...
1
vote
2answers
185 views

How to insert images in a table's colum?

I want to display my testing on some images. And i want to display it in the table. so the table has 3 column. first : number 2nd: image 3rd:sentence \begin{table}[!h] \centering ...
1
vote
1answer
1k views

Indented before caption in a Latex table or figure

I have a problem with the space before my caption. When I run this sintaxis Latex throw a table and a figure. My problem is the position of the caption. The first one (table) is ok; it is at the ...
1
vote
1answer
1k views

How to position wide figures in two column documents

I want to an image at the bottom of a page in a two column document. Using figure* causes the image to jump to the bottom of the document. Is there a way to avoid this? Here is an example: ...
1
vote
1answer
72 views

Hyperref a subfloat figure

Here is a sample code from my document, \begin{figure}[H] \centering \begin{tabular}{cc} \subfloat[$a=0.2$]{\includegraphics[width=2in]{Chapters/BMethods/figures/Airy_Rings_0.pdf}}~~~~~&~~~~~ ...
1
vote
1answer
1k views

How to solve hyperref anchor warnings? [duplicate]

I'm writing a report document, at some point I create a new section inside a chapter and I got this message from sharetex LaTeX compiler: main.tex:122 [hyperref] The anchor of a bookmark and its ...
1
vote
1answer
81 views

Require two figures on consecutive pages to be horizontally aligned

How can I require two (large, near page-size) figures (on separate though consecutive/facing pages) to be horizontally aligned? I've tried \begin{figure}[t] but LaTeX ignores me. If they simply are at ...
1
vote
1answer
761 views

Figure not automatically being placed on two pages

My figures are not being placed on 2 pages, instead they are disappearing off the end of the first page. \documentclass{amsart} \usepackage{graphicx} \usepackage{subfig} \begin{document} ...
1
vote
1answer
450 views

Figures and tables do not fit on page

I am using the elsarticle class and the standard template provided by them (see below). My problem is that all the figures are being put on the last page of my paper all tables are not being shrinked. ...
1
vote
1answer
301 views

Setting a new Float at the exact place in the code

I am using the following code for reporting algorithms. \usepackage{caption} \floatstyle{ruled} \newfloat{Algorithm}{thp}{lop} \floatname{Algorithm}{Algorithm} ...
1
vote
1answer
2k views

Aligning figures using subfigure Error: Not in outer par mode

I am soooo lost! have no idea why I keep getting this error. I have tried almost every combination of subfigure, float, centering but I keep getting "Not in outer par mode" error \begin{figure}[htp] ...
1
vote
1answer
629 views

Can not use float placement options with algorithm2e

I am using algorihtm2e and I am formatting a new command to align comments in the algorithms like in the answer of Align comments in algorithm with package algorithm2e. Now when I try to use ...
1
vote
1answer
80 views

Abstraction layer for creation of floating figures with caption

A floating figure or table typically consists of the following parts: The floating environment The figure itself A caption Optionally, rules before/after the figure Perhaps a "source" statement ... ...
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 ...
1
vote
1answer
175 views

Controlling table at the beginning of a section [closed]

I have a document, and there is a chapter with few tables. In this chapter I have this section: \section{Some section} \begin{table}[H] \begin{tabular}{|l|l|l|l|} --- \end{tabular} \caption{Some ...
1
vote
1answer
209 views

Floating object inside another floating object in ConTeXt

I need page where is text column with pictures on the left side. Inside the text column I need on the right side floating letter. Here is code: \starttext \startfiguretext[left]{none}% ...
1
vote
1answer
643 views

Renew command begin figure? [duplicate]

Possible Duplicate: Macro for figure position? Is it possible to make change that changes all instances of \begin{figure} into \begin{figure}[h] ?
1
vote
2answers
162 views

Custom figure insertion in tex document

I have a report of 3 pages - the first page and the quarter of the second page have texts. I have to include a figure which needs another page. The problem: Figure is appearing only on the 3rd page ...
1
vote
0answers
18 views

Lyx can no longer find images

I have update a number of images in lyx and changed the contents of images but not their path. I import images as follows: \begin{figure} ...
1
vote
0answers
34 views

How to put the text after the figure?

I have inserted a figure in LaTeX using \includegraphics{} and then I typed a paragraph. In output its half above the figure and rest below. How do I correct it?
1
vote
0answers
19 views

Large figure and legend on opposing pages in a two-sided book

I have a 500 pages book with some figure and tables. Sometimes a figure needs to fill an entire page. The legend for this large figure is going to the previous or the next page. I wonder whether this ...
1
vote
0answers
21 views

Insert Figure in multicolumn environment

I have problems with the package multicol. I have read a lot about solutions, but still it does not work. I have used the following packages: \usepackage{amsmath}% \usepackage{amsfonts}% ...
1
vote
0answers
31 views

How to get rid of the extra spacing before figures?

I'm using a custom class which bases on the a4paper documentclass. When I add a table or a figure which doesn't have enough place on the current page, it is moved to the next one. This is fine for me. ...
1
vote
1answer
35 views

table in the middle of the page

I'm creating an Appendix of lots of tables. I write \newpage \section{Appendix} \label{append} \begin{table}[h] \input{table1} \caption['Tis table1]{'Tis table1} \label{table1} ...
1
vote
1answer
21 views

Compatibility issue with \renewenvironment{figure} and [H] placement

This is related to Shift all floats on page horizontally. While trying to redefine the standard figure environment I've run into compatibility issues with the [H] placement specifier from the float ...
1
vote
1answer
13 views

Custom numbering of tables, equations and figures

I am writing a chapter for a book. The chapter number is 5.4. The chapter has multiple sections. I would like all the figures, tables and equations in my chapter to be labelled as 5.4.X. For example, ...
1
vote
1answer
51 views

Using [H] to control figure [closed]

Why can't I use [H] instead of [h] in the figure? I get a lot of errors then. I'am using the float package, \usepackage{float}. \begin{figure}[h] \begin{minipage}[t]{0.45\textwidth} ...
1
vote
0answers
26 views

Behaviour of section, subsection… in text and figures

I am using sections, subsection,... in my document. Sometimes, I need to have a certain format, such as 1, 1.1, or 1.a, 1.1.a or 1.1.1, and so on. Also, I have a chapter of figures. In this case, I ...
1
vote
0answers
36 views

Include figure not working

I am trying to load a figure and use math in the caption. But after I compile (without errors) the file there are pages missing. If delete the figure everything is fine, so I think it has to do ...
1
vote
0answers
18 views

apa6: Controlling the size of figures in man mode

I'm using the apa6 class to prepare a manuscript. My figures appear in any sizes in man-mode, whether .png or .pdf. How is it possible to control the size of figures in man-mode? The ...
1
vote
0answers
36 views

Beginner's problem - Undefined control sequence… Problems with RITA package [closed]

I am having a lot of "small" problems with my code in ShareLatex. I think the most of them because the package provided from the Journal (I copied the code for new project in ShareLatex and it worked ...