Questions tagged [floats]

{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}.

Filter by
Sorted by
Tagged with
0 votes
2 answers
25 views

Picture from another subsection appears in another

Im trying to put my pictures accordingly to the content of my subsection but until one part where i had a figure in 2.1 subsection appears after the content as i want but my 2.2 subsection figures pop ...
0 votes
2 answers
24 views

Omit the the .1 from figure numbering when there's only one figure in a chapter

In the book class, figures are by default numbered as \thechapter.\arabic{figure}. However, the {figure} numbering is redundant when there is only a single figure in a chapter. In such a case, how do ...
  • 3
1 vote
1 answer
40 views

How can I arrange my figures like a self-defined matrix in LaTex?

I want to attach my figure like the below figure, The matrix with the independent figure or grouped subfigure. How I can make it?
  • 11
0 votes
1 answer
21 views

Non italic figure reference number

I am writing my thesis and I want to have italic figure label, but I want reference number of figure to be non italic(just normal text) in my later text. In preamble I have this part of code to get ...
2 votes
2 answers
144 views

How to make the figure and table as one float with captions for each?

The code below by Simon Dispa in my previous post creates a very nice table and image staying together. However, it is not float. I'm looking for something like this but float. If I just use two ...
  • 225
0 votes
1 answer
22 views

subcaption package not working

I am using miktex with all packages up to date, and I am trying an example from subcaption document as below \documentclass[10pt,a4paper]{article} \usepackage{graphicx} \usepackage{subcaption} \begin{...
  • 855
0 votes
0 answers
25 views

Elsarticle combining one column and two column results in missing text

I am submitting a revised version of my scientific article to Physica A. The rules at this submission stage impose submitting .tex source files using the elsarticle document class. On various pages ...
  • 650
1 vote
1 answer
42 views

Subfigures in Springer's book monograph class give error (but do work)

I'm using Springer's latex files to create a monograph book. The template can be found here: https://www.springer.com/gp/authors-editors/book-authors-editors/your-publication-journey/manuscript-...
0 votes
0 answers
37 views

How can I add different float names (respecting the page number) to a custom List of "something"?

Good evening, everyone. I'm creating a template for a thesis and I've managed to create float environments other than "Figures" and "Tables". And I'm able to generate a "List ...
2 votes
0 answers
37 views

How to resample (downsample) images while taking their actual size into account in ConTeXt?

I am currently typesetting a textbook and would like to implement a mechanism that allows me to resample images to exhibit a specific resolution, relative to their final size (mostly for the sake of ...
  • 661
1 vote
0 answers
17 views

Guidlines for (many and big) figures vs text placements in a long document

I know this is a common issue and that it generates a lot of discussion. I read tons of topics/blogs here and there, but nothing really helped me. I have a large document (with the report class) with ...
  • 235
0 votes
1 answer
13 views

Problem with figures numbering in poster format (baposter)

The figures have a wrong numbering in my poster. How can I fix it? The auxiliary files and the main code can be found in the link: https://www.overleaf.com/read/bskjppttymwm This is my code: %%%%%%%%%%...
  • 1,272
0 votes
1 answer
51 views

Table in the appendix is not placed on the top of a page

I have a long table which extends over two pages in the appendix below . The table is not placed on the top of these pages. Is it normal to leave it like this? How can I put it on the top of a page?...
  • 225
0 votes
1 answer
17 views

Problem of figure and algorithm being placed on the middle of a page instead of top

My last page of an article is similar to the one below. On the second column, the fig. 4 is not placed on the top and the algorithm is not placed just below the fig. 4. How can I fix this? The ...
  • 225
0 votes
1 answer
46 views

Let Latex decide where to place figures AND page break [duplicate]

Is there some way to let Latex set the figure position together with inserting page breaks in order to have the image in close proximity to where it is referenced? I am writing a large document with ...
0 votes
1 answer
34 views

make a figure of subfigures of tables of figures

This question builds off of the following: grid of subfigures with one caption per row on the left However, what I would like to do is to have a figure with subfigures having similar to these tables. ...
3 votes
2 answers
75 views

Set counter of subfigures of figures

This question builds off on the question here Subfigures in subfigures in latex enter link description here However, what I would like to have is an additional level of subcaptions for the individual ...
1 vote
0 answers
43 views

How can I change the default commands on a float environment?

I am making a template for my academic work for uni (with pdfLaTeX on Overleaf) and I wanted to set a different set of commands to \begin{figure} and \begin{table} environments automatically. I need ...
1 vote
1 answer
29 views

The top of the floated image is not in line with the text

It looks fine in the first picture, but notice in the second one, the top of the picture is not in line with the text. In the second picture the shift happens because I added a paragraph before the ...
0 votes
0 answers
18 views

Vspace creates huge jump [duplicate]

I have a bizarre problem with the arrangement of a figure and table. With the following code, I get the figure and table immediately after each other with a very small gap: \begin{figure} \...
  • 41
3 votes
3 answers
60 views

How to center align subfigures and bottom align the captions?

How can I center align the two subfigures and align the caption (a), (b) for the two figures like this? Assume that the image sizes are unknown. (or probably I can input it manually) I saw some ...
  • 225
2 votes
2 answers
132 views

How to equally align three figures in two-column IEEE format

I am working in Overleaf using the IEEE two-column format. Why are my first two figures too close, but the second and third have huge space? The code is this \begin{figure*} \begin{minipage}[t]{.31\...
  • 527
0 votes
0 answers
35 views

Change the numbering of figures in latex to per chapter and per section

I want to change the numbering of my figures in my latex file from ordinal (1,2,...) to chapter.section.number (1.1.1, 1.1.2 ,...). I used the chngcntr package and the \counterwithin{figure}{chapter} \...
0 votes
1 answer
22 views

Positioning of a figure at the bottom of a page

I am using the package \usepackage{graphix} to add a figure. I want the figure to go at the bottom of the page so I am writing the code like this: \begin{figure}[b] \centering \includegraphics{...
1 vote
1 answer
26 views

Two sideways figures on same page with two captions

I have two figures that need to be in landscape mode. I am using the rotating package for that. Right now, they are automatically going to separate pages even though they could both fit on the same ...
0 votes
0 answers
13 views

How to move the figure and title in the middle of page in MDPI latex template

I use the MDPI latex template in Overleaf, but my code for figure looks like: \begin{figure}[H] \begin{adjustwidth}{-\extralength}{0cm} *<----------- \centering \includegraphics[width=0.4\...
  • 1
0 votes
1 answer
48 views

How to place table just below a figure and they go together?

How can I make sure that the table is always just below the figure and they always go together? Each should have its own caption and the caption follows IEEEtrans as in the image. In the code below ...
  • 225
0 votes
2 answers
20 views

Custom float for algorithm does not position correctly

I'm trying to write a custom environment to style algorithms, and have LaTeX position them as floats. For now I have this: \usepackage{newfloat} \DeclareFloatingEnvironment[fileext=algf,placement={!...
  • 264
5 votes
1 answer
90 views

Tikzpicture laid over text

I am plotting a tikzpicture with the following code \documentclass[twoside,a4paper,bibliography=totoc]{scrartcl} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{tikz} \usepackage{graphicx} \...
3 votes
1 answer
75 views

How to put a halmos into a caption of a H-placed figure?

Let's say you want to put a theorem-like–environment—ending symbol on the last line of a non-floating Figure. So far, we tried to use the code we already have for putting the symbol after \end{center}...
  • 1,545
2 votes
1 answer
54 views

How to make Figures logically belonging to a long theorem-like halmos-terminated environment float within the environment and keep order

Let's assume that in a huge book of over 500 pages you often typeset long Notes (or other theorem-like environments) with Figures. You want that your Figures possibly stay near the declared places ...
  • 1,545
0 votes
0 answers
35 views

Caption shows but the image is not in pdf

When I put the following code in latex \begin{figure} \centering \includegraphics[height=5cm, width=8cm]{nnn} \caption{Different iterative schemes graphical behaviors.} \end{figure} Then I get only ...
  • 11
1 vote
1 answer
61 views

on the order of fixed and floating figures and on [(!)h] vs [(!)ht]

Let's assume you have a huge book with lots of floating and fixed-position figures: \documentclass{svmono}% V5.10 from https://resource-cms.springernature.com/springer-cms/rest/v1/content/20566/data/...
  • 1,545
0 votes
0 answers
21 views

Adjust margins of figure notes

\begin{landscape} \begin{figure}[h]\ContinuedFloat \centering \begin{subfigure}[b]{0.3\linewidth} \includegraphics[width=\linewidth]{./Figures/Figurex0303bldprsr.pdf} \caption{Hypertension} \...
  • 41
3 votes
1 answer
49 views

Figure with tabular environment

I am trying to create a figure a table, that is, with tabular on it. \documentclass[a4paper]{article} \usepackage[left=20mm, right=20mm, bottom=30mm, top=30mm]{...
  • 440
2 votes
1 answer
26 views

How to keep a float within certain boundaries (say, a section)? (\FloatBarrier doesn’t seem to help because of a bug)

As far as I know, the canonical way to keep floats from appearing above or below a certain point is the command \FloatBarrier from the package placeins. However, it doesn’t seem to work in the below ...
1 vote
0 answers
69 views

A float is stuck warning in Revtex4-2 [closed]

How to remove this warning in a revtex4-2 file. A float is stuck (cannot be placed) on line 203. Where line 203 is having an equation. Tried placing equation in \begin{figure}, \end{figure} body. It ...
  • 21
1 vote
0 answers
31 views

Unable to resolve warnings in revtex4-2 file [duplicate]

Unable to resolve these two warnings in my revtex4-2 file Package caption Warning: Unknown document class (or package), standard defaults will be used. See the caption package documentation for ...
  • 21
2 votes
0 answers
19 views

Captions in double pages in hvfloat package

I am trying to use hvfloat, to typeset a fulldoublepage float, as described on page 72 of its manual. It does not work as I expected, however, in that it appears to insert extra blank pages before and ...
  • 131
1 vote
1 answer
34 views

How do I tell a double page in hvfloat to start on even page?

I'm using hvfloat package as I want to have some full spreads in a photo book. Cannot find a way to have the spreads start on an even page. But they seem to start random based on the text amount ...
  • 131
1 vote
2 answers
34 views

How to create 3 subfloat (a) (b) (c) for 1 figure?

I have a script that generates a figure \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{float} \usepackage{subfig} \usepackage{graphicx} \begin{document} \begin{figure} \subfloat[]{\...
  • 1,705
2 votes
1 answer
35 views

Side-by-side captions in minipage run too long, don't wrap to second line

I'm writing some proceedings based on the style guide here. I have two images which I want to place side-by-side in my article, but when I do, the captions don't wrap onto multiple lines but overlap ...
  • 153
1 vote
0 answers
121 views

How to have fixed, consistent and uniform whitespace around captions

Problem Description I want to have my tables, figures, and listings have the same amount of white space above or below captions. At the moment space is different for tables, figures and listings. ...
  • 492
0 votes
0 answers
29 views

Two matlab2tikz figures side by side

I want to have two figures generated with matlab2tikz side by side. I tried \documentclass[12pt,a4paper]{report} \usepackage{parskip} \usepackage{blindtext} \usepackage[onehalfspacing]{setspace} \...
0 votes
0 answers
16 views

Overleaf is not compiling when using \begin{figure}

I am unable to include figures into my Overleaf-Document, and I have no idea why this is the case... This is what I am doing: \documentclass[a4paper]{article} %% Language and font encodings \...
  • 11
0 votes
0 answers
18 views

Space between the list of figures and the first figure

I would like to reduce the space between the title figure and the first figure. This is my code: \chapter*{Liste Des Figures} \renewcommand\listfigurename{} \addcontentsline{toc}{chapter}{Liste Des ...
  • 1
1 vote
1 answer
31 views

TikZpictures as wide as columns in the figure environment inside of the multicol environment?

I have been writing a document that has a bunch of geometric figures in it. Each geometric figure is accompanied by some remarks. The remarks always immediately precede (i.e., appear above) the figure ...
1 vote
1 answer
33 views

How to insert text next to figure and align two figures placed on top of each other?

How do I add a text beside a figure and still have the figure align? I tried using the \includegraphics[left] and \includegraphics[right] commands but you can see the figures and text are still not ...
  • 1,705
2 votes
1 answer
46 views

How to split a page into 6 parts, adding a centered image to each?

I have been trying to create a page which is separated into six parts, and then add a figure to each of the sections. Each picture must be centered both horizontally and vertically and must be ...
0 votes
1 answer
43 views

Automatic Line Break in Headings

I would like to have an automatic line break in the title of a table or figure if the title is too long so that the title has a justified alignment and the two line are exactly the same length. If ...

1
2 3 4 5
118