Skip to main content

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

How can I put a figure and text side by side in one column [duplicate]

I have a table in .png format and want to place it in half a column, the other half of the column will have text as in this example figure. How do I do that?
afsara_ben's user avatar
0 votes
0 answers
149 views

.eps files not working with pdfLaTeX

As the title suggests, I'm trying to use .eps files for my figures but pdfLaTeX can't seem to find the converted PDFs. Package pdftex.def: File `Figures/fragment 1ab-eps-converted-to.pdf' not found: ...
m0n74g3's user avatar
  • 77
0 votes
0 answers
69 views

\pageref refers to second to last page of document part with floats cleared by \clearpage instead of last page

I have a document where I input the main part via \input{}, add a label to refer to for the page numbering (similar to how the lastpage-package works) and use a \clearpage to start the appendix on the ...
UberLu's user avatar
  • 9
0 votes
1 answer
37 views

how to align four figures (3 figures with a caption and 1 figure with another caption) next to each other in a single row in ieee format in latex

How I can add 4 figures, three figures within a caption and fourth figure with another caption in a single row in overleaf? Thanks.
Krishnendu K's user avatar
2 votes
1 answer
132 views

Tikz rotation sequence

I am quite new to Latex. I want to create a figure representing the slip systems of unit cells in different crystal orientations. I am using TikZ and was able able to create the figures for the 100 ...
mattka's user avatar
  • 21
0 votes
0 answers
15 views

Image not being compiled in an orderly fashion [duplicate]

I was writing out a document, and tried to insert the image of a graph. However, the image gets displayed before the text it is placed after. How do I rectify this? \section{Problem 3} Find the number ...
Doge with shades's user avatar
1 vote
0 answers
39 views

How to match subfigure height to other subfigure?

I am trying to have two subfigures with significantly different aspect ratios have the same height by calculating the height for one of them then using that height for the other, following the method ...
sandwich's user avatar
0 votes
2 answers
45 views

Make length persistent between subfigures

I am trying to have two subfigures have the same height and have defined a length for this purpose, but the length gets set to zero between them. My understanding is that this is tied to the subfigure ...
sandwich's user avatar
0 votes
1 answer
33 views

Float a table* above twocolumn text but below chapter in book class

Pretty much the title. I have a feeling this isn't possible, but I feel like its worth asking. I had been using multicols to switch back and forth, allowing me to put the table beneath the chapter ...
Jason Murray's user avatar
1 vote
1 answer
53 views

Images and sections ordering on PDF output doesn't follow LaTeX code [duplicate]

I'm trying to rewrite Life in Squares - Composing in Square Format in LaTeX. This is the outline of the original document (capitalized texts mean section): MOVEMENT THROUGH THE FRAME { 6 images } ...
anta40's user avatar
  • 111
0 votes
0 answers
27 views

Trouble using multicols and figures

I'm just learning LaTeX and experimenting with multicol and figures. Firstly I was wondering if there is a better way of inserting a wide figure than what I have been doing where I enter and exit the ...
007Funk's user avatar
0 votes
0 answers
41 views

Figure \ref{fig:figname} does not work as expected

I'm using \center command to display a figure over two columns. The problem is that I cannot refer the figure properly. Below is the minimum example: \documentclass[11pt, twoside]{scrartcl} \...
Ogiad's user avatar
  • 83
0 votes
1 answer
113 views

Scope command problem

I have a latex document in which I have drawn a figure with two tikzpictures, I need to place the two tikzpictures in specific locations. for this I used the "scope" command with "shift=...
moumou85's user avatar
  • 433
2 votes
1 answer
22 views

Controlling vertical space below a caption placed above a table

I'm writing a larger document with several tables, the content of which is inline in some cases, and included from external files (created by other programs) in others. Captions are placed above these ...
chsk's user avatar
  • 3,697
1 vote
2 answers
56 views

Insert an already splitted image (graph) that spans two pages

In the paper I'm working on I need to insert an image (.png) of a quite long timeline graph. At first I tried to make it fit on the page by simply rotating the page in landscape mode (package ...
Literary Locust's user avatar
0 votes
0 answers
66 views

How to avoid cut corners of pictures in a collage?

I am working on a picture gallery of three colums and randomly rotated pictures: \usepackage[left=2.5cm,right=2.5cm,top=2cm,bottom=2.5cm]{geometry} \usepackage[ngerman]{babel} \usepackage[utf8]{...
mario1000's user avatar
  • 336
0 votes
0 answers
29 views

Additional question to "Intended random rotation of figures "

Several days ago I asked a question about random rotation of figures and the user "Skillmon" provided an excellent answer: Intended random rotation of figures Now I would like to go one step ...
mario1000's user avatar
  • 336
1 vote
0 answers
11 views

Center horizontally and vertically text in table with figures [duplicate]

I would like to have a table with figures in some columns and text in others. But I need the text to be both vertically and horizontally centered. Moreover, since I am using a double column ...
tupoliedro's user avatar
0 votes
0 answers
26 views

Figures and Tables mislocated in compiled document

My figures don't show up in the compiled document in the location that they are in the code. I've tried typing \begin{figure}[h] or \begin{figure}[!h], but the figures still don't show up where I put ...
Vishank Battar's user avatar
1 vote
1 answer
92 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
26 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
26 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
1 answer
154 views

How to make vertical spacing between figure's caption and text be equal \baselineskip

My code: \documentclass[12pt]{scrreprt} \usepackage{float} \floatplacement{figure}{H} \floatplacement{table}{H} \usepackage{graphicx} \usepackage{array} \usepackage{tabularx} \RequirePackage [ ...
Intolighter's user avatar
2 votes
1 answer
112 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
53 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
236 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
55 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
0 votes
0 answers
46 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
  • 336
0 votes
0 answers
39 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
162 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
  • 579
0 votes
1 answer
32 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
  • 579
0 votes
1 answer
46 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
30 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
100 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
454 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 ...
Yoav Zack's user avatar
  • 111
0 votes
0 answers
92 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
128 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
82 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
66 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
  • 207k
0 votes
1 answer
272 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
  • 257
0 votes
2 answers
86 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{...
Tiago Prazeres's user avatar
0 votes
1 answer
105 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
166 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,546
2 votes
1 answer
117 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
89 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
  • 12.2k
2 votes
2 answers
41 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
53 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
119 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
  • 27
0 votes
0 answers
16 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
44 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