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
10 votes
5 answers
17k views

Problem compiler error about figure/subfigure ' caption using latex IEEE ACCESS template

In IEEE ACCESS template latex file, there is a example code of "\Figure", when inserting pictures into paper. But I want to use figure and subfigure environment to fit my requirement. So I add ...
1 vote
1 answer
48 views

Placing a figure at the bottom left of the page and wrapping the text around it properly

I need to place a figure at the bottom-left of the page and wrap the text around it. The text comes via \input, hence I do not have direct control on where to put the \wrapfig environment within the ...
1 vote
2 answers
51 views

How can I create different margins for figures and text in a two column document?

I have a two column document with images. If an image is put in the left column, I want it to extend all the way to the edge of the page. Images in the right column should extend all the way to the ...
1 vote
1 answer
8k views

Aligning side-by-side table and figure [duplicate]

I have a table and figure that I need them to appear side-by-side. The figure appears in a higher position than the table. I need to align them so that their sizes are equivalent. This is the script ...
269 votes
4 answers
278k views

Two figures side by side

How can I put two figures side-by-side? Not two sub-figures, but two actual figures with separate "Fig.: bla bla" captions. A figure is supposed to spread over the entire text width, but I have two ...
0 votes
2 answers
66 views

How can I place figures beside items?

I'm trying to recreate a national math exam in LaTeX, but I'm struggling to put a figure besides the number of the question. The original idea was to make the final product like this: Question 16 (...
1 vote
1 answer
44 views

How can I put a full-width figure on a partial page in a two column LaTeX document?

I'm trying to include a full-width figure on the last page of my two column document, and LaTeX insists on placing it on a page by itself which looks terrible. MWE: \documentclass[twocolumn]{article} ...
0 votes
1 answer
97 views

Section name and figures on different pages

\documentclass[11pt,a4paper]{article} \usepackage[hyperref]{eacl2021} \usepackage{times} \usepackage{placeins} \usepackage{latexsym} \usepackage{dblfloatfix} \usepackage{stfloats} \renewcommand{\...
1 vote
1 answer
54 views

How to avoid page breaks before or after 'figure' environments

I was trying to reference some pictures in my document but something went wrong. Here is the code : main.tex: \documentclass[french, 12pt, twoside, openany]{book} \usepackage[utf8]{inputenc} \...
3 votes
2 answers
61 views

Arrange subfigures in 2x2 + 1 centered shape

I'd like to arrange my 5 subfigures like this, where each column is the same width. It must compile with LuaLaTex. Basically there is a 2x2 matrix occupying the two left columns and two rows, and a ...
0 votes
1 answer
26 views

Appropriate Font for Figure Legends in Elsevier's Journal

I'm preparing a manuscript for submission to Elsevier's journal Chaos, Solitons & Fractals. In the past, I've had issues with the fonts used in axis labels and figure legends being rejected for ...
0 votes
1 answer
214 views

Figures in Latex template for JETP Letters on Overleaf

I am trying to insert a figure in the LaTeX template of JETP Letters journal. The template is here (example.tex): http://www.jetpletters.ac.ru/en/info.shtml In the template there is no figure, so I ...
1 vote
1 answer
28 views

Extending the header to cover the entire width of the pdf

I'm stuck in a process that is seemingly trivial but I cant find an easy solution to it. I want to replicate the following docx header Imagine the black and white rectangles are a pdf and png figures....
1 vote
2 answers
1k views

Using table inside solution environment of exam documentclass

I am trying to use the table environment inside the solution environment of the exam documentclass. Unfortunately this doesnt work as stated in this question since table is also a float. The ...
25 votes
1 answer
54k views

How to write multiple line caption with figure

How to split a long figure caption to multiple line? Using \\ doesn't work. \begin{figure}[H] \includegraphics[width=1\textwidth]{x.jpg} \caption{line 1... line 2... line 3...} \label{fig1} \...
19 votes
5 answers
61k views

Table reference

I wrote a long table with a label in a tex file and \input it into my main tex file. The reference in the main tex file to the table, however, does not show the numbering of the table but the one of ...
0 votes
0 answers
30 views

Positioning of figures are automatically changed [duplicate]

Why position of figures are automatically changed and figures moved on to last page
3 votes
2 answers
3k views

Diagonal line for a table with multiple rows

Considering the answer of question, I used the slashbox package to draw a diagonal line. But the problem is I have multiple rows in my table and that makes the line not aligned well within the cell ...
1 vote
2 answers
40 views

How to get equations and picture side by side?

\documentclass{book} \usepackage[export]{adjustbox} \usepackage{nccmath} \usepackage{graphicx} \begin{document} \section{Introduction} \subsection{Example} {Evaluate the limit using the graph on the ...
1 vote
1 answer
2k views

Continuation of figure in tabular format in multiple pages

I am facing problem writing my thesis in Latex. The trouble is I have a bunch of figure that I want to present in tabular format (shown in the picture below) but the figure is larger and do not fit in ...
1 vote
2 answers
33 views

Unable to control the layout of the images in two columns, even if there is enough space?

I would like to place the three figures in the paper as follows: Figure 1: Top of the left column. Figure 2: Top of the right column. Figure 3: Bottom of the page, Figure 3 needs to occupy the ...
2 votes
2 answers
83 views

How to use page number instead of \thefigure for figures

I would like to try a little experiment. I'd like to number figures in a document with the number of the page it is on. When the text refers to "Fig 34.2", it means look at the second figure ...
0 votes
0 answers
52 views

soulpos: Formatting breaks when used in footnotes

I'm using the package soulpos, but run into a problem when I use a soulpos command in a footnote. The following MWE reproduces the behavior : \documentclass{article} \usepackage{soulpos} \...
1 vote
2 answers
60 views

How to add vertical spacing that is allowed to stretch for layout?

I've got two images above each other in a figure environment, with \vspace{1cm} for spacing between them. I believe that if I had used two separate figure environments, LaTeX would have been able to ...
0 votes
1 answer
61 views

How to get caption below Fig x.y. and have control on the space separating the picture and the text

I need two things while inserting a picture in a document. First, I want the caption text to also extend below the word, say Figure 1.1. In my case, below Figure 1.1. there is no text. The caption ...
0 votes
1 answer
64 views

Way to span a picture/table across all columns in multicolumn article/report and placing them precisely where they should be

I'm using the KOMA-SCRIPT class for my two-column journal article, and I'm struggling to place a figure where it should be (near its explanation). I tried the {figure*}[option] environment with \...
0 votes
1 answer
25 views

stacking two page-width figures on top of each other in a two-column document

I would like to place two page-width figures on top of each other in a two-column document: Fig.1 on the top of the page and Fig.2 just below it. These are separate figures, with own numbers and ...
0 votes
0 answers
30 views

How to fix the position of a figure which spans across two columns? [duplicate]

I'm using the following code to make a figure span across two columns: \begin{figure*}[th] \includegraphics[width=\textwidth]{figure} \caption{This is a figure caption} \end{figure*} However, the ...
0 votes
1 answer
26 views

Adding sub caption under an aligned figure

Is there any way to align vertically the figure on the right in the middle of the figure on the left AND add a sub-caption to fill the blank space below the figure on the right ? Thank you in advance ...
0 votes
0 answers
31 views

continue subfig in the next page

I have hundreds of feynman graphs in the subfigure environment. The code is the following: \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \usepackage{multicol} % Allows for ...
-1 votes
1 answer
57 views

h float specifier changed to ht [duplicate]

I am getting LaTeX Warning: `h' float specifier changed to `ht'. h is an option to place the float here, i.e., approximately at the same point it occurs in the source text (however, not exactly at ...
0 votes
1 answer
88 views

Generating a figure with the package TikZ

I am working on an article in LaTeX and am trying to generate a figure with the help of the package TikZ. Since it's my fist time using this package (and I've only just started learning to use LaTeX) ...
1 vote
2 answers
33 views

Incorrectly positioned text in revtex4-2 after figure embedded in \onecolumngrid ... \twocolumngrid

I'm using "\onecolumngrid ... \twocolumngrid" to accommodate a wide figure in Revtex4-2. However, the text that follows the "\twocolumngrid" command is positioned incorrectly and ...
0 votes
0 answers
48 views

I'm writing my thesis and I want to number the figures and tables of a certain section with roman numbers and the rest with numbers

I'm using an overleaf template link (https://www.overleaf.com/latex/templates/thesis-template-faculty-of-engineering-ain-shams-university/ykvrxppdjqmz) to write my thesis and I wanted to number the ...
2 votes
1 answer
31 views

Align float to end of twocolumn section

I have a Document in two column mode. As the document is a kind of form, I want to fill the end of the document with textbox for additional remarks. Idealy I would move that textbox to the next page ...
0 votes
1 answer
28 views

Double longtable

I need to use tabular for 2 cases: one for numbered data(table float) and other for text data(I named quadro). Now Im need to use longtable for both, the way I thought to do that is load the longtable ...
1 vote
1 answer
223 views

Moving horizontal (landscape) figure to the right

I want to move these horizontal figures using the landscape package to the right side, since I have a lot of space left. I have tried to do it unsuccessfully. \documentclass[12pt,twoside]{report} \...
76 votes
3 answers
289k views

Is it possible to scale an entire \begin{figure}?

I have a bunch of LaTeX-output from Gnuplot which I would really like to leave alone. Is there an easy way of scaling an entire figure? Something like \includegraphics[scale=0.5]{...} but just for ...
4 votes
1 answer
5k views

How to insert first subfigures with caption in IEEE ACCESS LaTeX?

I want to insert first subfigures with caption in IEEE Access LaTeX by using subfloat but I can't do, because I think It can be only able to insert after using \Figure(topskip=0pt, botskip=0pt, ...
1 vote
1 answer
101 views

tikzscale does not preserve clickable reference location with hyperref+cleveref

I am using tikzscale to shrink a tikz figure located in another .tikz file. While the color of the references is preserved, the reference clickable regions are no longer aligned with the text. When I ...
0 votes
0 answers
41 views

How to add a float to an enumerate

So I decided to use LaTeX to do my homework, but I'm facing a little problem, the first image shows how I want it to be, the second image shows how I manage to get it, my temporal solution is to use a ...
1 vote
3 answers
25 views

How to align text to the bottom right of centered image

I have a figure at the centre of the page. I would like to keep it centered, but write text to its right, to the bottom. \documentclass{article} \usepackage[a4paper]{geometry} \usepackage{graphicx} \...
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: ...
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% \...
0 votes
2 answers
522 views

Independent labelling of a Figure and Table (in the same Figure environment) with a combined caption

I am trying to reference a Figure and Table (with ~\ref{}) in my document. I placed both elements in a figure environment (figure first, table second, both inside of a minipage) to have them displayed ...
0 votes
2 answers
26 views

FloatBarrier not working for sidenotes

I use tufte-book and have difficulties with using FloatBarrier. I constructed a simple test case and found that it does not work as I understand it: I assume that at the point of \FloatBarrier the ...
4 votes
1 answer
83 views

ConTeXt: Use Figure and initial in the same parapraph

I would like to get placing both an intial and a figure in a paragraph working. I am using the following MWE in this question: \mainlanguage[de] \useMPlibrary[dum] \setupinitial[n=2] \starttext \...
0 votes
0 answers
21 views

Wrong numbering of figures and figures+subfigures with tcolorbox

I have 3 new environments based on tcolorbox, Figure, SFigure and Subfigure. When I use environment Figure, the first 2 boxes are numbered 1.1 and 1.2. Then when I use SFigure with Subfigure, the next ...
0 votes
0 answers
27 views

tableoffiguresandtables

I want to make listoffigures listoftables listoofgraphes all of them as image below this is my cod tex \documentclass{report} \usepackage{xcolor,graphicx,lipsum} \usepackage{lipsum} % for dummy text ...
3 votes
2 answers
58 views

Colorating title lists

How to coloraate title of Listoffigures Listoftables Listofgraphes as image beloe This is my cood tex \documentclass{report} \usepackage{xcolor,graphicx,lipsum} \usepackage{lipsum} % for dummy text ...

1
2 3 4 5
125