{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
20 views

How to add left top-aligned letter to LaTeX subcaption figure?

I am using the subcaption package to place figures side-by-side, and I need to have labels in the form of letters to the top left of the figures. I.e. I am trying to achieve A [Figure] B [Figure] ...
5
votes
2answers
51 views

Forcing subfigure caption to right-middle of figure

I want to plot say two figures with their respective sub captions on right-middle side of the figure. Any help?
8
votes
1answer
137 views

Penalty-enhanced approach to float placement in LaTeX3

This question is quite related to Penalty-enhanced approach to float placement, but here I am focusing on the situation for LaTeX3. The LaTeX2e float placement algorithm does not look backward ...
1
vote
1answer
84 views

A question about latex formatting

I am authoring a report that runs into hundreds of pages. In one particular chapter, I have a large number of tables and figures. I use the setting [htb] for both the tables and the figures, so that ...
12
votes
1answer
80 views

Penalty-enhanced approach to float placement

Background I have seen Increase badness based on distance between float and reference which was closed as a duplicate of our generic How to influence the position of float environments like figure ...
2
votes
1answer
21 views

Tabulate text within caption

I would like to tabulate text within a caption. See below what I obtain with my code: \begin{figure}[htbp] \centering \includegraphics[width=6in]{topfigure.png} ...
0
votes
0answers
22 views

Float interferes with breakable tcolorbox

Today I noticed, that a breakable tcolorbox can be interrupted by a floating object, e.g. a figure. IMHO this is rather strange and shouldn't happen. Thus I wonder, how I can force the floating object ...
2
votes
1answer
62 views

an other ! LaTeX Error: Float(s) lost

I am writing a big LaTeX document (doctoral thesis). And I've adopted a "complex" structure with \include{} and \input{} and I have obviously : ! LaTeX Error: Float(s) lost. See the LaTeX manual or ...
2
votes
1answer
13 views

syntonly + float package : not compatible

I try to use syntaxonly + float package. See the MWE \documentclass[oneside]{book} \usepackage{graphics} \usepackage{syntonly} \syntaxonly \usepackage{float} \newfloat{carte}{h}{carte} ...
0
votes
0answers
37 views

Automatic numbering TikZ figure exported from Geogebra

In my book, I have to draw a lot of figure by Geogebra and then exported to LaTeX. I used to numbering them by a caption below but sometimes I have to add more figures among them, so there is a huge ...
3
votes
2answers
40 views

Trouble inserting picture in CV template

I'm making a resume based on a latex template (link: https://www.sharelatex.com/templates/cv-or-resume/cies-breijs-resume ) and I'd like to insert a figure. There is some free space in the template ...
6
votes
1answer
65 views

Using a figure again in document

I have drawn a schematic geometry an I want to describe the results of simulations I did with several configuration. So in Section XY I describe the simulations I did with a case set-up using the ...
5
votes
1answer
93 views

Change caption font using xelatex

I'm new to xelatex, but I've managed to change the font of the chapter, sections, and so on. Now, I want to change the global font of the float captions (figures, tables...). I've named the font ...
3
votes
2answers
53 views

Placing Image within double column text without resizing

I want the image to occupy both columns for good resolution within a two-column document and also want the text in two column format. I used following command, but it overlaps with the text in other ...
6
votes
1answer
120 views

Turning off figures in latex completely (without placeholders)

Is there an easy method to compile a LaTeX document ignoring contents of \begin{figure} ... \end{figure} blocks altogether? I am looking for an equivalent for draft and demo options (as in ...
2
votes
1answer
70 views

When citing inside caption, it starts at number one

When using \cite inside a figures caption, it ignores all my previous citation and assign the used source as number one? I have even tried with \protect, but still it starts at 1. ...
0
votes
2answers
43 views

Image covers whole of a column and not at desired location

I am new to Latex and want to insert a figure into my document. I used following commands: \begin{figure}[hbtp] \centering \includegraphics[scale=0.5]{PTS.eps} \caption{Figure PTS} \end{figure} ...
0
votes
0answers
36 views

Why are my images not being inserted?

I don't know why but when I compile this document, only the first two figures are inserted. I tried changing the order, by putting the third image at the top (simply but cutting and pasting) and then ...
1
vote
0answers
31 views

Figure with caption at its side

I need a help with figure caption for a figure where the figure caption is placed at the side of the figure. I'm using \documentclass[a4paper]{jpconf} and writing: \begin{figure}[h] ...
1
vote
1answer
50 views

Text goes over image in two-column article document

I want to have two images side-by-side in a two-column article. I tried to use the second part of Gonzalo Medina's answer to this question but, my text flows over the second .eps image. I thought the ...
1
vote
1answer
42 views

How can I fit all my figure's subfloats and caption on the same page?

I have a subfloat containing five pics (each of size 1040x463). I want them to fit on the same page. This is the tex I'm using but the the result is that the last pic is not appearing on the same ...
2
votes
3answers
61 views

Is it possible to produce a comparison network

Is it possible to produce a comparison network, similar to the one shown in the diagram here: I've looked at using \rule's, but I can't get them to produce lines in my code. Also how can I add a ...
2
votes
1answer
39 views

caption with ltablex and ThreePartTable - the caption is increased by 2

I'm using threeparttablex and tabularx packages. I have 2 problems: caption only enumerates right if put before \begin{tabularx}; notes are not center aligned with the table; My code is the ...
4
votes
1answer
57 views

Box environment created with frame box

I am creating the box environment using packages environ and float. But I will try to put the \BODY part after the caption and also try to fix the "framebox environment" by using \fbox{} command. ...
3
votes
2answers
49 views

Boxed caption and figure, with colored caption

I'm trying to recreate a figure and caption effect from a journal. An example of it can be seen on PDF version of Figure 1 from this article: It's basically a large grey bordered box that goes ...
0
votes
0answers
7 views

pdf inclusion multiple pdfs with page group included in a single page [duplicate]

I was reading about this strange fail in different post, but I observe that only ocurs if the image it's in the same page as another created with the same editor (in my case Inkscape). Two figures in ...
1
vote
0answers
51 views

Blank space in text after figures and tables

I usually position my tables and figures with [H] and after tables and figures the text suddenly has an empty space as shown in the above picture. I am not totally sure but this also happend since I ...
1
vote
1answer
13 views

How to customize the caption as a figure number in the algorithm2e package

I want to show the algorithm as a figure and cite that figure using the figure number anywhere in the page. Below is the code: \documentclass[a4paper,11pt]{report} ...
1
vote
2answers
52 views

Wrap text around a figure starting at the same vertical level

The title may sound like a duplicate and you may think that the package wrapfig deals with that. But, what I am asking for is quite different. I am not sure if the wrapfig package could help. I have ...
0
votes
0answers
19 views

Undesired space before the section title when a figure is inserted after the section title

After I used a template, Latex gives me a lot of white space before the section title because a figure is inserted after the first paragraph of the section. I used [H] as the floating parameter for ...
0
votes
0answers
45 views

\FloatBarrier behaving like a \clearpage

The \FloatBarrier command from the placeins package is frequently used before a section in order to certify that any floats from previous sections have been properly flushed. Such is not my case. I ...
3
votes
2answers
25 views

minipage caption overrides

I am using two mini pages side by side. The caption of both the figures are too long, that the caption of both the figures merges each other. I would like them to be separated by some space. *edited ...
4
votes
1answer
49 views

IEEE Class File 'ieee.cls' Error When Using PGF and Friends (root cause is the color package)

I have to use the IEEE class file which can be found here: http://mocha-java.uccs.edu/ieee/ There you can download the class file itself (ieee.cls) and a demo tex file called ieeecls.tex. When I ...
2
votes
2answers
67 views

Complex positioning of multiple figures

I have multiple figures that are included in my tex file. My tex code is : \documentclass[a4paper]{article} \usepackage[pdftex]{graphicx} \begin{document} \begin{figure}[h] \centering ...
1
vote
0answers
32 views

Correct way to make \externalfigure[] to look in only current directory of ConTeXt file?

I'm trying a document directory structure like the following: proj/proj.tex proj/env.tex proj/product/product.tex proj/product/entries/comp1/entry.tex proj/product/entries/comp1/image.pdf ...
1
vote
2answers
92 views

2D and 3D Tikz pictures side-by-side

Previously I've had problems with 3D Tikz pictures having a lot of whitespace added to one side which was solved by using \documentclass[varwidth,border=5pt]{standalone}. Now, however, I'm trying to ...
1
vote
1answer
89 views

table over two columns in twocolumn mode [duplicate]

Here's my code: \documentclass[fleqn,10pt]{SelfArx} \setlength{\columnsep}{0.55cm} \setlength{\fboxrule}{0.75pt} \definecolor{color1}{RGB}{0,0,90} \definecolor{color2}{RGB}{0,20,20} \begin{document} ...
0
votes
0answers
38 views

Placing pictures in twocolumn page balanced with cuted

I would like to place pictures on the twocolumn page striped with the cuted package and it's strip environment. I used [ht] placement of the figures. Only four pictures allowed on one page. ME is ...
0
votes
0answers
48 views

Resize tikzpicture without change \node position

I'm using tikzpicture to create some graphs. But I have a problem, when I change graph size for better position on text, all \node goes to wrong position. Here is my code. This are my .dat. ...
4
votes
1answer
98 views

Inserting two figures with two captions in one column

Using IEEEtran package, I want to place two figures with two captions (one right one left) in a column. A layout like this ---------------------------- ---------------------------- ...
4
votes
1answer
42 views

Why this float in multicols is moved to next page while there is enough place on the current one?

In the following MWE, the second float (within a multicols environment) is moved to page 4 while there is (seems to be) enough place where its code is given (on page 3). Why? \documentclass{article} ...
0
votes
1answer
20 views

Border around a caption but not the figure

I'm looking to get a border/box around the captions for my figures and tables, but without wanting to border the figure/table itself as well. I currently have something that works, but the box takes ...
0
votes
0answers
37 views

Multi-page pdf in figure environment

I want to include a multi-page pdf file into a figure environment, as it serves as one of the figures in the appendix. I know that normally one could also use the pdfpages package to include such a ...
0
votes
1answer
46 views

positioning the photo at where it placed in latex [duplicate]

every time that i put a (figure) in latex, it appears in some random places rather than the place I actually write the code. for example, for the following code, it will be appeared at the beginning ...
3
votes
1answer
45 views

Multiple panel figure, with caption in one of the panels?

I want to put three figures inside a multi-figure with a single caption. If you imagine a 2x2 table, I want to place the three figures in three of the table cells, and the caption in the remaining ...
0
votes
0answers
19 views

why is the placement of the table wrong? [duplicate]

I'm new Latex, I want to use make a table, and it works fine. the problem that I have is the position of table in the document : \chapter{chapter description } \section{section name } ...
7
votes
2answers
79 views

Flafter sometimes ignores a section title

I'm using the flafter package to prevent floats from appearing before their positions in the LaTeX source code. When I put a float just after a section title and the section starts at the beginning ...
2
votes
1answer
34 views

How prevent \maketitle refusing floats on title page? (pdfLaTeX)

everyone, I am writing a paper and I want to have a Figure on the first (title) page, but after using \maketitle this page refuses all floats even though there is a plenty of space for them to fit in. ...
3
votes
1answer
27 views

Align subfigures centrally in LyX

In LyX, I am placing 2 figures side-by-side by placing 2 subfloats inside a single float. This allows me to have individual captions for each subfloat and hence, each sub-figure. My problem is that ...
0
votes
0answers
15 views

Numbering figures based on chapters [duplicate]

I want to achieve figure numbering based on chapter numbers. The first image located in chapter 4 should be numbered 4.1, the second image 4.2 and so on. The first image in chapter 5 should be 5.1 ...