{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
0answers
19 views

Implementing marginfigure

sorry for the absolutely beginner question here. I've been looking at the tufte-latex class, specifically the sample book (found here). It makes use of marginfigures, which I believe are provided by ...
1
vote
0answers
20 views

Ensure float appears directly after `\afterpage` and `landscape`

I have a large (full page) landscape figure that I would like to appear on the page opposite to a large (full page) portrait figure. The landscape figure is generated like so: \afterpage{ ...
1
vote
1answer
24 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}}~~~~~&~~~~~ ...
0
votes
1answer
32 views

Adding image file in Latex

I'm trying to add a image file in the middle of report but it always go in the next page. \begin{figure}[h] \centering \includegraphics[angle=45,width=62mm]{images/X} \caption{Diagram} ...
2
votes
1answer
25 views

Figure caption runs off page

How can I get latex to place my figure sufficiently at the top of my page to allow for my caption to nicely fit at the bottom? \documentclass{amsart} \usepackage{graphicx} \begin{document} ...
1
vote
1answer
40 views

Text Wrap with algorithm2e

I'm using algorithm2e for algorithms and for some of the longer algorithms, (eyeballed at > 50% of a page) there is no other text on the page with just an embarrassing amount of white space above and ...
0
votes
0answers
29 views

figure reference links go just below the figure [duplicate]

Is it common that when you click the reference it takes you just below the figure? If I scroll up, the figure is right there. I am using the standard procedure \begin{figure}[H] \centering ...
3
votes
0answers
64 views

How to have headers, section headings, and figures expand into the margin?

I am interested in the following page layout. How to have headers in margins (up to margin) Is it possible to start section headings from margin How to set figures occupy the margins. I can ...
0
votes
0answers
23 views

Text and caption overlapping on includepdf image

I have recently discovered includepdf for a cropped pdf image I have wanted to insert. However, both the surrounding text and the image caption itself overlaps the image, what do I do?! I've tried ...
3
votes
0answers
16 views

revtex incompatible with dblfloatfix?

This minimal example makes my latex/pdflatex from MiKTeX (or TeX Live of a colleague) crash: \documentclass{revtex4-1} \usepackage{dblfloatfix} \begin{document} Hello World! \begin{figure} ...
0
votes
1answer
34 views

Cannot include caption on figure [closed]

I'm having trouble including a caption on a figure in my thesis. The code I'm using to do this is below: \begin{figure}\label{FillExample1} \includegraphics[scale=0.8]{FillExample.png} %\caption{ ...
2
votes
1answer
41 views

Arrange multiple graphics inside a subfloat

I'm using the subfig package to arrange multiple graphics inside a figure. I'm trying to arrange two graphics vertically inside a subfloat but keep getting an error. I'd like the figures to be ...
8
votes
1answer
41 views

Prevent the insertion of figure after the footnote

How can I prohibit putting figure after the footnote? I have pretty simple LaTeX code that has a lot of figure environments, and I see the figure is inserted after the footnote. \documentclass[10pt, ...
4
votes
1answer
45 views

Using LyX, how do you put a table and a figure side by side and caption them Table XX and Figure XX?

I have found solutions for them to be done in normal TeX, but how do I do this in LyX? What I wish to obtain is something like that shown in Table and Figure side-by-side with Table caption above, ...
1
vote
0answers
15 views

latex: how to insert oneside figures in a twosided article?

I'm writing a 2 sided article with latex, but I'd like to insert a figure in appendix with width of the whole page to make it clearer. I tired with this script but it did nothing... ...
0
votes
1answer
26 views

Adding \includegraphics totally abolishes all \citep and \ref links [closed]

I have something very peculiar, and I have been trying for several hours now, without success. I will try to describe it as well as possible. I must say beforehand that I used Word2010 as editor. So I ...
0
votes
0answers
31 views

Chapter header is not placed right before pagebreak

I have a document that is followed by a set of appendices. In one of these appendices, I want to include flowcharts as figures that take a whole page. The way I want it to look is as follows: First ...
0
votes
0answers
15 views

Different number in image caption and in ref to figure [duplicate]

I have figure with image like this: \begin{figure}[h!] \centering \label{fig:controlsOpacity} \includegraphics[width=120mm]{img/image_01.png} \caption{some text} \end{figure} then I am referencing ...
1
vote
0answers
25 views

Fine Tuning Float Positioning [duplicate]

How can I make a float have a dedicated page AND be always placed on an EVEN page (ie left page of double sided book)? I explicitly do not want to have certain floats taking up a whole page on the ...
1
vote
0answers
31 views

Latex float so no stretching appears, but everything is placed on top

It has probably been already answered, but I cannot find it. If I include images as floats, LaTeX places the last one on a single page in the middle. How do I make LaTeX to put in on the top of the ...
0
votes
0answers
67 views

Unable to use subfigure package together with subcaption packages [closed]

I am using following code to place two sub figures one below another but it is giving multiple error \begin{figure}[ht] \centering \subfigure[Feb 25]{ ...
0
votes
1answer
39 views

Is it possible to add hidden text to a caption that only appears in the table of figures? [duplicate]

I want to add additional information about some figures that should only show up in the list of figures. Is this possible?
4
votes
1answer
71 views

Caption placement for new float in tufte-book class

I am using the tufte-book document class and I am trying to create a new float environment for example boxes that will include captions in the right margin similar to table/figure captions. However, ...
15
votes
1answer
94 views

Order of float types on float pages

Is it possible to always have a certain type of float, i.e. in my case figures or tables, come first when they end up on a float page? I don't want to change the order in the source.
0
votes
0answers
32 views

LaTeX numbering one figure incorrectly (Figure 2 instead of Figure 2.1) [duplicate]

All of my figures seem to be referencing correctly except for one. I have Text text text \ref{fig:label}. \begin{figure} \begin{center} <TikZ Drawing> \end{center} ...
2
votes
1answer
48 views

ieeetran caption question

In the ieeetran how to, they are using caption with their examples; however, latex tells me not to use caption. So if I use subfloat, all my figures are labeled as such (a), (b) and don't have a main ...
0
votes
0answers
34 views

line spacing in lstinputlisting with floats

I have a document with many code listings using \lstinputlisting. Some are floats for convenience and some (multipage listings or others that need explicit placement) do not float. If the listing ...
0
votes
0answers
22 views

let latex decide where to place a picture in multicol environment

I have a three column text with floating pictures. The whole latex code is made by scripting. The pictures are sometimes badly placed, so that the text is streched out (vertical space in between ...
0
votes
0answers
20 views

Use a column in a twocolumn layout only for images when requested

to present additional informations I would like to use one column of a twocolumn layout, whichs moves to a certain header. That would mean that all written informations should be presented in the ...
5
votes
1answer
74 views

How can I give the same figure number to five different figures on five different pages?

How can I give the same figure number to five different figures on five different pages using latex? For example, fig. 1.1, fig. 1.1 cont'd (player I), fig. 1.1 cont'd (player II), fig. 1.1 cont'd ...
1
vote
0answers
14 views

Figure section including image goes above the section definition [duplicate]

Trying to use the following code: \subsection {Shop} \begin{figure} \makebox[\textwidth][c]{ \includegraphics[scale=0.65]{shop.png} } \caption{Shop Tab} \label{fig:shopTab} ...
3
votes
1answer
59 views

Floating longtable in Latex

I have a short table but I want to use the longtable environment for it because I have also some other long tables in my document and I want they have the same appearance. However, I do not know how ...
2
votes
1answer
50 views

Latex Section header and figure won't print on same page

I'm trying to print a section that has only figures (no text aside from captions). I have a figure that clearly does not take up a whole page (it takes up half a page at most), but for some reason I ...
8
votes
2answers
80 views

Extra page at beginning of appendix containing big figures

I have an appendix that contains two full-page figures. The first page of the appendix is always blank except for the title -- I suspect this is a common problem with appendices of full page figures. ...
0
votes
1answer
48 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
0answers
36 views

includegraphics stopped working after including another graphic [closed]

Currently using Texmaker and using this line of code: \begin{figure}[h!] \includegraphics[scale=.5]{Figures/Blah} \caption{\label{Blah} BLAH BLAH} \end{figure} Everything worked with several other ...
4
votes
1answer
47 views

How to write multiple line caption with figure

How to split a long figure caption to multiple line? Using '\' doesn't work. \begin{figure}[H] \includegraphics[width=1\textwidth]{x.jpg} \caption{line 1..... line 2...... line 3 ....} ...
1
vote
1answer
27 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 ...
4
votes
2answers
62 views

Assign numbering of theorems to figures

How can I assign numbering of theorems to numbering of figures? I have a certain figure and instead of it being called Figure 2.1: Figure for Theorem 2.2, it would be much batter to have it simply ...
1
vote
1answer
82 views

Wrapping text around a pdf

I am making a poster and have an image which is of PDF format. I want the picture to be to right of the block it is in and the text to run down the left hand side of it? I have searched but can not ...
2
votes
1answer
62 views

How to get a nice code to insert pictures on the right?

In my document must insert many pictures. I don't know how to get a nice code? I tried \documentclass{article} \usepackage{amsmath,amsxtra,amssymb,latexsym, amscd,amsthm} \usepackage{color, graphicx} ...
3
votes
1answer
49 views

Break figure description over two pages

I use figures with a caption and a description below. Sometimes the figures are large and also the descriptions. If I keep the images to a not very low scale (to make them understable) the ...
2
votes
0answers
49 views

Numbering figures and tables in part

Here is the deal: I'm writing my thesis and I divided the thesis into 3 parts, each part had 2 chapters. At the beginning of each part, I added two pages of introduction. However, the numbering of ...
1
vote
0answers
51 views

Positioning figures

I want to force a table and a figure to appear in a page with nothing except them. I've tried \clearpage but it makes lots of extra spaces in the document. Also some of the figs appear in the end of ...
1
vote
1answer
56 views

How to split the page with images on the right and information to the left

I would like to do the following but more correctly: I would like to have to have the images on the right and information on the left. I tried using wrapfigure package to do it but I don't think ...
1
vote
0answers
14 views

Underful hbox with revtex4

When I insert a figure into my two column report I get underful hbox error. Even if I scale this figure to 0.1/pagewidth I still get this error. How can I remove it? \begin{figure}[H] \centering ...
2
votes
1answer
32 views

Customised format floating itemized list

I'd like to add floating itemized lists in a format illustrated below: More specifically, I would like The title above rather than below the float, with bold font for title and horizontal line ...
6
votes
1answer
76 views

How do I make the title 'Figure' appear on the same page as my first figure

This is my code: \documentclass[twoside, a4paper, 11pt]{article} \title{} \author{} \usepackage{amsfonts} \usepackage{amsthm} \usepackage{mathtools} ...
2
votes
0answers
98 views

Picture “stuck” in a position

I am inserting several figures in my text with the \includegraphics command but some of them are not being placed correctly and they don't move when I change the command's parameters. This works ...
4
votes
1answer
43 views

Dirtree and lstset side by side

A \dirtree and a \lstset should be shown side by side. With the code below the \dirtree is vertically not on the same level as the \lstset (above the \dirtree is some empty space). How can I fix that? ...

1 2 3 4 5 23