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
1 vote
1 answer
38 views

How can I vertically align four different sized subfigures and their respective captions?

I want to have a Figure out of 4 different sized subfigures in one line. The subfigures should be centered vertically and the captions should be at the same height. I tried with and without [c] after \...
Lennart J.'s user avatar
0 votes
0 answers
22 views

Difficulty Placing Table in its indended place in my LaTeX Document

I'm struggling with placing a table in my LaTeX document where I intend it to be. I've tried using the table environment with [h!t] placement, but the table doesn't seem to position where I want it to....
Bryan C's user avatar
0 votes
0 answers
23 views

Composition of multiple figures [duplicate]

I'm trying to compose multiple figure into a singular figure block. I would like to obtain something like what in the picture.
john's user avatar
  • 163
0 votes
0 answers
28 views

How to remove vertical skip between caption and text inserted by KOMA-Script

When running script with scrreprt class, I get space below the figure's caption: When running with report, there is no it. This is the code: \documentclass{scrreprt} \usepackage{scrhack} \KOMAoption{...
Intolighter's user avatar
2 votes
1 answer
32 views

How can I make sure that the tables and figures don't divide the paragraphs?

According to the rules for written work at my university, a table or figure cannot divide a paragraph. In the following MWE, the table doesn't fit on the first page and is therefore placed on the ...
Daniel Valencia C.'s user avatar
0 votes
0 answers
28 views

how do I clear these errors and turn this code into a document using latex in codio?

I'm using latex inside of codio for class and can't turn code into pdf. the errors are keeping me from compiling and turning this into a pdf document.
Sherrod's user avatar
2 votes
1 answer
72 views

LaTeX TikZ: Drawing several neural networks in one figure

I would like to create a figure showing the structure of the critic in the DDPG environment, which consists of three connected neural networks. Here (TikZ: draw two Neural Networks side by side ...
Diodendomme's user avatar
0 votes
1 answer
34 views

Equation layout when using figure* for long equations occupying two colums

\begin{figure*}[!b] \begin{equation} XXX \label{equ:xequationmodify} \end{equation} \end{figure*} This is the LaTeX code. I want to display the long equation on two columns ...
Haojie Wu's user avatar
1 vote
0 answers
31 views

\includegraphics[width=100mm]{./images/8} in the images folder [closed]

\begin{figure}[h] \centering \includegraphics[width=100mm]{./images/8} \caption{Particle identification in stages (Source: CERN/LHCb \cite{ref:18},\cite{ref:24})} \label{fig:8} \end{...
Anukriti and  AdvSumanchna's user avatar
0 votes
0 answers
39 views

Alignment of figures

I am struggeling with the following problem: I want to add some pictures to a report in a 2 column geometry. I am using the following code: \documentclass[ngerman,german,14pt,twoside,openany]{scrbook} ...
mario1000's user avatar
0 votes
0 answers
30 views

Vertical alignment of boxed environment created with mdframed

I'm writing a math exercise book for my students. I want each exercice to be in a framed box so I created a new environment called "Exercice" using mdframed. I'm having trouble with the ...
FunkiePhil's user avatar
1 vote
1 answer
37 views

how to put 4 figures upside down with subcaption in acm journal two column template

how to add pictures like this in ACM ACR this template https://www.ctan.org/pkg/acmart.. minipage and subfig subcaption packages are not working in my template i am getting this error LaTeX Error: ...
user12's user avatar
  • 559
0 votes
1 answer
11 views

place four picture next to each other in ACM 2 column journal template

I wanted to place these pictures like this in ACM journal template my current code is this \begin{figure} \centering% \includegraphics[width=.45\linewidth]{example-image-a}\hfill% \...
user12's user avatar
  • 559
0 votes
1 answer
42 views

Cannot add pictures to new environment

I copy pasted an environment I found around here to create an "Example" section as defined below: \usepackage[framemethod=tikz]{mdframed} \usepackage{amssymb} \usepackage{etoolbox} \...
kid_a's user avatar
  • 1
0 votes
1 answer
23 views

Title image in LaTeX double column

How do I add a title image in the first page in a double-column LaTeX template? I tried the following, but the image crosses to the right column \titlepic{\includegraphics[image.png}} Basically, I ...
Manogna Sreenivas's user avatar
0 votes
0 answers
23 views

table gets moved between references and appendix

I want to include a table right after a paragraph. I placed it after the text, but it gets moved down between the references and the appendix. I tried to force the position using h! or H, but nothing ...
TexLatrina's user avatar
1 vote
1 answer
86 views

Invert image colors in latex [duplicate]

I have figures which I use in several places, some of them in dark context and some of them light (for example, a my obsidian vault is dark but a PDF of my thesis is light). As such, some of the ...
DeadlosZ's user avatar
  • 111
0 votes
0 answers
39 views

Extra white borders showing when using .pdf format to include figures in LaTex

i'm writing my first document using LaTex. I want to include good-quality figures, so i opted to use the PDF format. i saved the images from the plots in Matlab as pdf files, and when i included the ...
joy's user avatar
  • 1
8 votes
1 answer
112 views

Conflict between memoir class and float package?

I'm trying to put a table float in a book manuscript that uses the memoir class. This used to work fine until a few days ago, when I ran an update using the TexLive utility. (I think the memoir class ...
Guido Vanden Wyngaerd's user avatar
0 votes
1 answer
57 views

How to create double fullpage spreads in a two-column environment

To create a double-page spread, in which an image is spread across two pages of an open book, with no white space (no margins, headers, and footers), the package hvfloat is recommended. This package, ...
Sowberry Hagan's user avatar
0 votes
0 answers
36 views

Why does a `tcolorbox` code listing box using `listing above text` not keep the output with the code?

I'm trying to use a tcolorbox to list code above output in a document with 2 geometries. My attempt is failing utterly and I can't figure out why. Here's the problem: The box is being split into two, ...
cfr's user avatar
  • 189k
0 votes
1 answer
71 views

How to overlap subfigure with caption

Consider the following \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \begin{document} \begin{figure*}[htpb] \centering \begin{minipage}{0.3\linewidth} \begin{subfigure}[t]...
sam wolfe's user avatar
  • 265
0 votes
2 answers
34 views

How can I put the wrapfigure picture in the top of the page and not in the beginning of the paragraph

How can I put the image in the top of the page in between the paragraph? \documentclass{article} \usepackage{lipsum} \usepackage{wrapfig} \usepackage{graphicx} \begin{document} \lipsum[1-6] \begin{...
Tigas's user avatar
  • 475
0 votes
1 answer
67 views

How to draw a sparse matrix pattern (using TikZ or not)?

I would like to draw sparsity patterns with overlapping blocks and at the same time be able to write operations in the picture like in the figure below:
jvictormata's user avatar
6 votes
1 answer
161 views

Descenders in floats

In a two-sided document it is important to vertically align the left and right pages. When I use a bottom-aligned float, it does not align perfectly (there is a mismatch between how descenders are ...
Ondrian's user avatar
  • 1,536
2 votes
1 answer
105 views

Why are my tables being spread out?

My tables are being spread out across a page, and using t for placement wouldn't help. What should I do? I've tried \raggedbottom, which does not work. MWE: \usepackage{array} \usepackage{booktabs} \...
Shiran Yuan's user avatar
2 votes
1 answer
67 views

How to increase inner padding of the 'figure' environment?

This is my document: \documentclass{article} \usepackage{float} \floatstyle{boxed} \restylefloat{figure} \begin{document} \begin{figure} Hello, world! \end{figure} \end{document} It renders as such: ...
yegor256's user avatar
  • 11.5k
2 votes
2 answers
34 views

I have a big figure with long caption, how could I put the caption in the next page?

I have a big figure with long caption, how could I put the caption in the next page? My code is: \documentclass{report} \usepackage[utf8]{inputenc} \usepackage{graphicx} % Required for ...
Annie's user avatar
  • 93
0 votes
3 answers
39 views

Unable to insert image using wrapfigure [closed]

I am trying to add an image to my document (\documentclass[english]{report}). This is what I wrote: \documentclass[english]{report} \usepackage{graphicx,wrapfig} \begin{document} \begin{wrapfigure}{R}...
Sycamore's user avatar
2 votes
2 answers
83 views

Long text below two figures

In my document I would like to include two figures side by side (this part I know how to do it). Below these two figures, I would like to include a long text, in footnote size, which is the ...
MG Fern's user avatar
  • 23
0 votes
0 answers
15 views

Problem when redefining the list of figures

When I redefine in a separate preambule \listoffigures I get a blank page in my test file, I'm going to post in this question only the code of the redefinition. \titlecontents{figure} [0em]{} {\...
Echelle-courte's user avatar
1 vote
1 answer
27 views

Exchange captions in lyx

Consider the following picture In standard configurations, lyx provides "Figure 1: DNA double helix...". How can I change for "Figure 1 - DNA double helix...", i.e., I wish lyx ...
Hugo sanchez de araujo's user avatar
1 vote
0 answers
60 views

! Argument of \caption@@@withoptargs has an extra }. error. aip-cp doc class using miktex. It compiles in overleaf

\documentclass{aip-cp} \usepackage[numbers]{natbib} \usepackage{placeins} \usepackage{caption} %Added my self \usepackage{bm} \usepackage{multirow} \usepackage{bigstrut} \usepackage{epsfig} \...
Rui Gonçalves's user avatar
-1 votes
1 answer
53 views

Insert pdf between text

I want to insert figure below into my document to a specified scale of 0.7 between text and I also want it captioned. If I use the figure environment it creates a whole page for itself(even after ...
Megamind's user avatar
0 votes
1 answer
40 views

Subfigure and \textwidth not working correctly

I want to use subfigure to put one image next to the other in my document. I literally copy-pasted the code from Overleaf and modified it to have 2 instead of 3 images. I am working on Overleaf ...
nico_so's user avatar
0 votes
0 answers
13 views

Figure credits misnumbering in tuftebook with {figure*}

I'm writing a large book in tuftebook (TeXShop, MacOS) with a "home" .tex file (PaP.tex) that includes calls for individual chapters (\include{PaPCh1}, \include{PaPCh2}...). (This likely ...
David G. Stork's user avatar
1 vote
0 answers
38 views

Place Bottom Floats over Footnote without Footmisc Package

I'm redefining the footnote layout and want to have them displayed always at the bottom of the page. For pure text it was easy by putting an \vfill at the beginning of the \footseprule definition; ...
lukeflo's user avatar
  • 1,091
0 votes
1 answer
43 views

Automatically establishing new floattype

Inside a macro I would like to establish a new type of float. One of the parameters to be set during that process is \ftype@TYPE, where TYPE is the float type: figure, table, and so on. I know, that \...
ThorstenL's user avatar
  • 161
3 votes
1 answer
32 views

Spacing above and below a figure in wrapfigure mystery

In a simple setup that is \documentclass{report} \usepackage{amsmath,caption,wrapfig} \usepackage{lipsum,blindtext} \usepackage[demo]{graphicx} \begin{document} \lipsum[2] \section{A Small Section} \...
aminitindas's user avatar
0 votes
1 answer
31 views

Figure float is sticking in the middle of the page instead of top

I am trying to set up the figure float in such a way that if there in not enough space after the text in that page, it goes to the top of the next page. Then the text after that float is written in ...
aminitindas's user avatar
1 vote
0 answers
21 views

Force figure to be on the first page of chapter even if too big [duplicate]

Given the minimal working example below: How would I force the figure to be on the same page as the chapter headline "The End", without making it smaller? \documentclass[12pt]{report} \...
schoeni's user avatar
  • 19
0 votes
0 answers
31 views

Subfloat spacing issue: Why the difference?

I'm having a spacing issue with a figure environment inside a framed box. The figure has two subfloats on each row, like what the MWE below is showing: \RequirePackage[l2tabu,orthodox]{nag} \...
Cham's user avatar
  • 2,190
0 votes
1 answer
47 views

Allow text to sit over out-of-bounds graphic

I have a feathered graphic which extends beyond its bounding box. It blends into the background, and is not supposed to interfere with main text setting. Unfortunately, text set before the graphic is ...
Liam's user avatar
  • 3
0 votes
0 answers
30 views

Reuse a counter for numbering floats

I can’t find how to number floats created with \newfloat using an existing counter (like sibling=theorem but for \newfloat). Any idea? MWE: \documentclass[options]{article} \usepackage{amsmath} \...
tobiasBora's user avatar
  • 7,417
2 votes
2 answers
72 views

Problem with Figure counter in the 0th chapter in book class

I have a 0th chapter in my book to recollect the prerequisites. The figure environment is supposed to follow the default numbering scheme: \thechapter.\thefigure. However, this scheme is violated in ...
Subhajit Paul's user avatar
1 vote
2 answers
42 views

How to control subfigures through pages?

I am trying to place multiple subfigures into 3 columns. I have large no. of figures to display. Naturally, keeping the figures visible for readers in an article, I am trying to fit 9 or 12 figures in ...
aminitindas's user avatar
0 votes
1 answer
31 views

In classicthesis, is it possible to have lists of figures, listings etc. without leading "figure", "listing", etc?

In classicthesis, how can I remove the leading "Figure", "Listing", or "Table" before the actual figure/listing/table number? In other words, what I have is: Figure 1.1 ...
inmyutopia's user avatar
4 votes
3 answers
204 views

How to let a figure appear exactly on page 16?

My MWE \documentclass[twoside]{book}% % 2 Packages only for demonstration purposes: \usepackage{tikzducks}% Delivers figures for testing purposes \usepackage{lipsum}% Delivers blind text \begin{...
ThorstenL's user avatar
  • 161
0 votes
0 answers
21 views

How to put multiple figures (with partial regular name) into Latex with section ranking number and picture name [duplicate]

I want to put multiple figures (with partial regular name) into Latex with section ranking number and picture name, could you teach me how to do that? The picture's format is .jpg, please find the ...
Sean Yen's user avatar
0 votes
0 answers
22 views

Image moving to next page and text is not. Why? how to fix it [duplicate]

I am writing a thesis. I have big figures, about a page long. I want them to come after certain text/paragraph, but they are moving way ahead from that text and going to several pages. Figure is in ...
EY RC's user avatar
  • 1

1
2 3 4 5
122