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
0answers
15 views

How to make 2 subfigures to take up whole width in 2 column document without minipage, float

I would like to put a figure with 2 subfigures at the top of the same page that they are included in the code. The document is in 2 column format, but I want the figure to take up both columns (placed ...
4
votes
1answer
55 views

Two tables side by side in two column document

I need two tables to be placed on top of the page and side by side in a two-column document. Each table should have its own caption, in its own column, and needs to be nicely centered to its column. ...
2
votes
1answer
27 views

float placement for listings causes warnings in make4ht

The following examples compiles but creates warnings just when the float parameter is used. \documentclass{article} \usepackage{listings} \begin{document} \begin{lstlisting}[float, language=tex, label=...
1
vote
2answers
133 views

Background image (Logo) gets hidden when I put another image

I am making a latex beamer presentation. The blank slide (with logo of a lion in background) looks like as shown Now, I want to add an image of a figure to this slide. When I add the figure to slide,...
0
votes
0answers
17 views

Subcaptions below each other with figure and table side-by-side

I have a question regarding placing captions with subfigures. I know there are several posts already which are pretty close to what I would like to achieve, but not exactly. I hope the question has ...
0
votes
1answer
18 views

how to wrangle float.sty, caption.sty, and wrapfig.sty interaction

I am writing a book that has figures, which are ruled and with fancy captions. Now I decided I also want to insert a few cartoons into my paragraphs. I need the text to wrap around them, which is ...
2
votes
1answer
39 views

How to have a word floating to the left of a paragraph

I am trying to achieve the same as what is shown in the figure below. Basically, I would like to have a word, or a couple of words, floating to the left of a paragraph where the term is first ...
0
votes
0answers
38 views

List of figures in latex document

every time i run my program the list of figures doesn't show so i need to know where the problem is , can someone help me please ?thank you here's my program : \documentclass[a4paper,12pt]{report} %--...
0
votes
2answers
35 views

Top alignment of three minipages while inserting TikZ images

I want to have top alignment of three minipages. I tried the following code: \documentclass[10pt]{article} \usepackage{graphicx} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \...
1
vote
1answer
114 views

How to combine code listings and graphics in a complex layout using LaTeX?

I have tried many things to no fruition, including tables and subfigures. My goal is to achieve the layout below, where: the grayed out parts represent code listings and the plot rectangles represent ...
1
vote
1answer
52 views

Insert multiple TikZ images side by side

I am using the following code borrowed from here with some modifications: \documentclass[10pt]{article} \usepackage{graphicx} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{...
1
vote
0answers
23 views

Float if not larger than otherwise be page-breakable

In my thesis I am embedding a few pseudocode algorithms using the algpseudocode and the algorithm packages. Thus a typical example would look like \begin{algorithm} \caption{My caption} \label{alg:...
0
votes
0answers
31 views

every figure is placed on a different page and alone. how I can fix that and put 2 or 3 figures on the same page

\begin{figure} \centering \includegraphics[width=1.1\textwidth]{1.jpg} \caption{Sum-rates with respect to signal to noise ratio} \end{figure} \begin{figure} \centering \...
0
votes
0answers
22 views

position of included figure inside a itemize element

I need to include a figure inside a itemize element, like: \begin{itemize} \item Some text \includegraphics[width=0.2\linediwidth]{figure} \item etc \end{itemize} How to I control the vertical ...
0
votes
0answers
23 views

How can I solve the problem of matrices moving below the footnotes in a page? [duplicate]

I am trying to write a payoff matrix in latex, but when I do so, the outcome that I take is the following: As you can see, the matrix is in the end of the page, below the date and the footnotes, ...
0
votes
2answers
34 views

Fit three algorithms in a single page

I am using the algorithm2e package to write algorithms. I have three algorithms that I want to put in a single page. I tried using subfigures and minipages but it got me no where. Any help to get me ...
1
vote
1answer
28 views

place an image in the middle of the page if it is the only image?

I apologize if this is a basic question: I have to include a fairly large diagram that takes up at least half or more of a page and would not mind if that is the only thing on the page (it is a ...
3
votes
2answers
103 views

Figures side by side

SOLVED - see edit 2: I am trying to place two figures side by side in a single-column document. I have attempted several suggestions I found online (the subfig package, the minipage environment, just ...
0
votes
1answer
52 views

How to Keep Multiple Tables Beside Each Other Under a Section?

I want to represent 3 tables beside each other under the same section. But whatever I tried to do, \FloatBarrier never seemed to do anything. Keeping the 3 tables beside each other is done using ...
0
votes
0answers
45 views

How to place figure or text before a paragraph?

I need a way to display warnings (figure and text, exactly like the image attached) in a manual I'm creating. I'm trying to create an environment in order to replicate this behaviour easier in the ...
0
votes
1answer
76 views

Problem with \usepackage{caption}. The error: "Undefined control sequence in \caption" comes up. If \usepackage{caption} is removed pdf shows no error

\documentclass[msom,nonblindrev]{informs3} \usepackage{caption} \usepackage{subcaption} \usepackage{setspace} \usepackage{tikz} \usetikzlibrary{automata,arrows,positioning,calc} \begin{document} \...
2
votes
1answer
48 views

Figure caption on the next page

So I have some very large figures (~80-90%) of the page and large captions (~30%) of the page. Because of that I set up the figure to show the caption on the next page, looking something like this: \...
1
vote
2answers
51 views

Remove float numbering in lof and lot, but ONLY there

I am in a situation of having usual tables and figures that receive a number each through use of \caption. Because my article has to conform to APA style rules, which are basically opposite to ...
0
votes
2answers
44 views

Side-by-side pictures on a landscape page [closed]

How to fit two pictures side-by-side on a landscape page? (EDIT: I have answered this Q&A style below. Other approaches or suggestions for improvement are welcomed)
0
votes
1answer
35 views

wrong page number in list of tables with subtables over several pages

I have a table over several pages that I've split in subtables (part 1 and part 2), so I have this float over my pages, and in my listoftables there is only de "ending" page of my float. ...
1
vote
1answer
24 views

force floats to end of pdf, number per chapter, with appendix

This question is an extension of force floats to end of pdf, but keep numbering per chapter (two versions of document pdf). Like the original post, I would like to have a version of my document with ...
0
votes
1answer
39 views

renumbering or adding S to supplementary section

I'm writing my thesis right now and I want to add a \section{Supplementary Section} at the end of every chapter. Is there any way I can add a S prefix to figures in the \section{Supplementary Section},...
0
votes
0answers
37 views

above- and belowcaptionskip with Floatrow package

Is it possible to force the floatrow package to take into account the values of \abovecaptionskip and \belowcaptionskip? Even if I (re)define these two lengths after \usepackage{floatrow}, they are ...
0
votes
0answers
28 views

Placement specifier for figures does not work [duplicate]

I have been writing in an overleaf document where it worked fine to place my figures. When I copy-pasted some content into a different template, all figures and tables got placed at the end regardless ...
0
votes
0answers
33 views

Removing blank pages after figures

In order to force my figures to be in their subsections I'm using the \usepackage{float} package, and using \begin{figure}[H]...\end{figure} However, this somehow caused several blank pages in various ...
0
votes
0answers
21 views

How to force figures positions for only 1 section?

Instead of using \usepackage{placeins} to force all figures to be in their sections, I need only 1 specific section that has multiple subsections, to have the figures in their corresponding ...
0
votes
0answers
17 views

Forcing only one section to have the figures in their subsection without placeins package [duplicate]

I found that I can use the following to force figures to be in their sections: \usepackage{placeins} But I actually want most of my figures to go wherever, and only 1 specific section that has ...
0
votes
2answers
50 views

How can I prevent short figures with placement option p from being pushed to the end of the document?

In the MWE below, the 3.65" x 2" figure is placed roughly in the middle of the document. However when the caption is shortened by commenting out \lipsum[1][1-2] and commenting in \lipsum[1][...
2
votes
1answer
45 views

Predefined contents at a fixed document location (page number)

In a two-column XeLaTeX setting, I'm trying to get a framebox to completely take up the full height of one of the two columns in order to display some contents independent of the actual document (...
0
votes
1answer
38 views

How to place 2 figures in 1 column and then another figure in the 2nd column with double the size?

I am trying to do as described in the title. This code below returns \begin{figure*} \centering \subfloat[]{ \begin{tikzpicture} \node[anchor=south west,inner sep=0] (image) at (0,0) {\...
1
vote
1answer
31 views

how to fit two figures into one column

Ho, my code is this and it is placing figures in center using ieee 2-column format. I want to fit these figures in one column. \documentclass[conference]{IEEEtran} \usepackage{lipsum} \...
5
votes
2answers
153 views

add multilevel caption in figures

I am working on overleaf, i need to place images caption like this (highlighted with red pen and blue pen in figure below) separate caption for every image then one caption for two images. The code is ...
1
vote
1answer
48 views

Can you make several pages of figures in a row in the middle of a Latex document?

I have several figures, each of which needs to have its page. I want to put them in consecutive pages of an Overleaf document. The Latex code of these figures are written together, but Overleaf ...
1
vote
1answer
28 views

How to use subfigure labels without multiple images in a figure?

I'm working on a paper and the figures are quite complex. For this reason I'm making the figures as a single image in GIMP so I can arrange and place them as I like. In this single image I still ...
1
vote
1answer
17 views

R sweave - stop tables from floating

Please excuse my naive question: I am using R studio sweave with xelatex and tinytex I run this chunk to produce a table, but it is automatically printed on the last page, adding a huge blank space ...
1
vote
0answers
14 views

Figures not placed at desired spot when called from a macro [duplicate]

I need to intersperse my text with several figures, and I want them to be placed between correct paragraphs of text and in correct sections. For that reason I used \begin{figure}[!htb]. This worked. ...
2
votes
2answers
79 views

Placing three tikzpicture items next to each other in one Figure - adding two arrows between them

Hi, I have drawn three items in tikzpicture, and now would like to place them next to each other, in a row. Ideally placing a \leftrightarrow between them to indicate that they are equivalent. I have ...
1
vote
2answers
122 views

How to fill a page with subfigures that have different sizes

I have a 5x2 array of subfigures. My document has IEEEtran style and I am using this test code: \documentclass[journal,twocolumn,10pt]{IEEEtran} \usepackage{graphicx} \usepackage{mwe}% just for the ...
-1
votes
1answer
83 views

how to align multiple figures next to each other in ieee format (overleaf)

How to place 8 figures like this in start of page in IEEE format using overleaf. my code is this it only palced three figures in a row but when i put 4 figure it doesnt fit in a row. \begin{figure*}[] ...
1
vote
3answers
52 views

Vertically moving figure in minipage

I want to put plot 5 figures in a specific way like this: For this I use the following code in LaTeX: \begin{figure}[h!] \captionsetup[subfigure]{labelformat=empty} \begin{minipage}[b]{.3\...
1
vote
1answer
27 views

Per Subsection Figure Numbering in One Section Only

I have a large article with many sections and many figures. Generally, I use per section figure numbering, \numberwithin{figure}{section} In one particularly large section I'd like to use per-...
0
votes
0answers
17 views

Distributing figures (and theorems) vertically and automatically

I'd like to distribute figures vertically automatically when all the space in the page is not used. I can do this with the vspace and fill instructions, before and after every picture, but this is the ...
0
votes
0answers
24 views

Abnormally large figure's bottom margin when it's the first item on the page

Regardless of what comes before or after a figure (in the screenshots below I've added one word paragraphs to simplify the page layout calculation), I end up with huge bottom margins when the figure ...
1
vote
0answers
28 views

Placing a float after a \paragraph heading

I am composing a document, in which I have a heading followed by a table and that repeats every time. There is no other text. I have been trying to achieve that with the \paragraph heading, however I ...
0
votes
0answers
38 views

New Tcolorboxed Theorems and Same Counter

I have troubles with this code: \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[a4paper,top=3cm,bottom=3cm,left=1.5cm,right=1.5cm]{geometry} \usepackage{...