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
39 views

Idiom for an explanatory note at the bottom of a float, other than the caption?

I've placed a float in my document, and given it a caption, saying what the float contains (e.g. "Effect of Foo on Bar, by year"). But - I also want to add a bit of text below the main ...
einpoklum's user avatar
  • 12.4k
0 votes
1 answer
50 views

Error when trying to add Pgfplots to figure environment

I am relatively new to LaTeX, but I have been attempting to write my Master's thesis using it. I have been creating several plots using the pgfplots package. However, when I attempt to insert these ...
artfer81's user avatar
1 vote
1 answer
53 views

3 Graphs horizontally and equations for each one

I used the answers from similar discussion to create a somehow working graph, the problem is that nothing really aligns well. \documentclass{article} \usepackage{graphicx} % Required for inserting ...
Sebastian Bätz's user avatar
0 votes
2 answers
38 views

Align a figure with a bullet [duplicate]

I want to align vertically a figure inside a itemize environment. The MWE is: \documentclass{article} \usepackage{graphicx} % Required for inserting images \begin{document} I want the bullet ...
Angelo Aliano Filho's user avatar
1 vote
1 answer
38 views

How to change the numbering system of figures in LaTeX?

This is probabily a very simple issue but I only have used templates of LaTeX so far and I am not used to the coding itself. I have a template that uses the numbering of figures as for example Figure ...
Victor's user avatar
  • 11
0 votes
0 answers
26 views

PDF figure as A4 landscape page

I have a map with a given scale as a PDF in A4 that I want to insert as a figure (with a figure caption) in a document. Since the map has a scale (1:50000), I want the figure to fill the whole page ...
Guro Lilledal Andersen's user avatar
0 votes
3 answers
95 views

Draw picture using PSTricks

I am using MikTex and Texmaker, and the configurations-LaTeX+dvips+ps2pdf+View PDF. I have the following latex commands: \documentclass[11pt]{article} \usepackage{graphicx} \usepackage{amsmath,...
gete's user avatar
  • 251
0 votes
1 answer
69 views

How can I increase the width of a tabularray table?

I am having trouble increasing the width of a tblr environment: \begin{table}[h] \centering \begin{tblr}{ % Doesn't do anything. width = 5in, hlines, ...
Oliver's user avatar
  • 219
0 votes
0 answers
69 views

how can I set the table and figures on the right as the text

Somebody can help me out with my program? \documentclass[a4 paper, 11pt,twoside]{article} \usepackage{fullpage} % Makes the page margins smaller to a predefined ...
Chamanga's user avatar
  • 166
0 votes
0 answers
103 views

Seeking Automated Text Wrapping Around Figures in LaTeX: struggling with wrapfig

I would like to have figures with automatic text wrapping around them. I am trying to keep having to tweak figure locations to minimum. I am also not allowed to use two columns for this document. ...
user1992705's user avatar
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 ...
Anna's user avatar
  • 837
0 votes
0 answers
18 views

Inserting subfigures between text [duplicate]

\documentclass{article} \usepackage[demo]{graphicx} \begin{document} \begin{figure} \centering \subfigure[]{\includegraphics[width=0.3\textwidth]{MainFolder/a.png}} \subfigure[]{\...
sara lee's user avatar
4 votes
2 answers
210 views

Understanding the Need for \null After \hfill in LaTeX Figure Environment

Hello TeX Stack Exchange, I am working on a document using the figure environment and have encountered a layout issue related to the \hfill command. My aim is to evenly distribute two tikzpicture ...
LeafGlowPath's user avatar
1 vote
1 answer
26 views

Footnotes and figures exceed margin [duplicate]

I must have messed something up with the packages that I load. Figures and footnotes exceed the margin of the text. Anybody knows why? See the MWE below which includes my full preamble. Some of that ...
Papayapap's user avatar
  • 421
2 votes
1 answer
264 views

TeXShop only inserts first 60 photos of 70 in book

Preparing book with 70 images and only first 60 are put in. Using graphicx. Calling files: \addphoto{IMG_6977.jpg} \addphoto{IMG_4494.jpg} \addphoto{m - 159.jpg} \addphoto{IMG_0853.jpg} \addphoto{...
mh2000's user avatar
  • 151
0 votes
0 answers
26 views

How to write FIGURE ... under a graph/diagram and not above it

Good day. This is Fomum.I have diagrams/graphs in my work that are labelled as figures. My problem is the code to make these labellings fall below the diagrams and not above them.
FOMUM NDE ROLAND's user avatar
0 votes
0 answers
40 views

Table using Latex in overleaf shows at the bottom of the table

Despite specifiyin that the table should show where it is place in the code \begin{table}[ht] it shows at the bottom of the document. I am using Latex in overleaf. Here is what I try: \begin{table}[h!]...
Ayoze Alfageme's user avatar
0 votes
1 answer
58 views

How do i make it so that my figure automatically conforms to geometry margins via some command or other method?

(Read before replying:) I will not replace the second picture with another example image, the point of this post is to show the problem that i faced when trying to use a real image. i have the ...
Ferrius Undermine's user avatar
3 votes
1 answer
50 views

figure-page float "preferably" on even pages

In a book, I have some figures, that are so big that they get their own [p] page. If possible (by restrictions of the next chapter for example or some other semantics), I would prefer having figures ...
mike's user avatar
  • 343
0 votes
0 answers
23 views

Trouble with texshade package

I have the issue that there are "@"s in front of my figure of a multiple sequence alignment. The figure itself looks fine. I just have no idea what I am missing in my document. Does anybody ...
nibsy's user avatar
  • 1
0 votes
0 answers
89 views

Can I automatically have Figures be auto-fitted according to my margins?

First question here. I'm trying to figure out if there is a way that i can automatically have a figure like the second one in the 2nd page be in the paramaters of the margins i have set. I would like ...
Ferrius Undermine's user avatar
0 votes
1 answer
50 views

How to arrange 4 JPG files (plots) in four quarters of one full page? [closed]

I have four figures marked as Plot1.jpg, Plot2.jpg, Plot3.jpg and Plot4.jpg. I like to divide one full page into four quarters of equal length and place one plot in each quarter and also allow some ...
Sundar's user avatar
  • 725
0 votes
1 answer
50 views

Force two figure "floats" on the same page [duplicate]

In my memoir LuaLaTeX document, I have two figure floats that fit together on a single page if there is no other text. \begin{figure}\centering% \includegraphics{fig_a.png}% \caption{My ...
Anna's user avatar
  • 837
2 votes
1 answer
59 views

Locally redefine figure environment as figure* for automated export

I'm using a workflow based on pandoc and Latex to produce papers with my companies layout. Part of the formatting are captions set inside the margin and sometimes using images that span text and ...
lukeflo's user avatar
  • 1,597
0 votes
0 answers
57 views

How to rotate the figure and caption?

I have an image in landscape type; hence, I placed it by rotating it (angle = 90) to 90 degrees using a figure environment. However, I noticed the image caption is on the side but not at the bottom. I ...
vinoth kumar's user avatar
0 votes
0 answers
38 views

How to change the position of all figures to float [duplicate]

I wrote following program to insert figures. \begin{figure} \includegraphics[option]{file} \caption{hoge} \label{fig:hoge} \end{figure} I want to change positioxn of all figure environment to [...
Koki MIZOGUCHI's user avatar
4 votes
3 answers
229 views

How to rotate figure with caption

I have an image in landscape type; hence, I placed it by rotating it (angle = 90) to 90 degrees using a figure environment. However, I noticed the image caption is on the side but not at the bottom. I ...
vinoth kumar's user avatar
0 votes
0 answers
32 views

Add margin top to all figures [duplicate]

How can I add a margin (white space) on top of ALL figures? Say, 1 cm or so. Note that I don't want to separate the figure from the page margin, I want to add a top margin to the figures. As example, ...
user171780's user avatar
0 votes
0 answers
35 views

Excess vertical space when top-aligning in a two-column minipage environment

I have a two-column minipage environment with a figure in the left minipage (represented by a box) and some text in the right, see below. \documentclass[12pt]{article} \usepackage[T1]{fontenc} \...
DavidH's user avatar
  • 79
1 vote
1 answer
35 views

'Here definetly' when editing floats doesn't work in APA v7 class

So there i think MWE is. I cut out almost every piece od text that was there bc i didn't think it was relevant and I tried to make it MWE shorter. If sth is not right just let me know and I will try ...
Mikołaj Krysik's user avatar
0 votes
1 answer
29 views

Keep text colour inside tables and table/figure captions

I have the following environment definition: \newif\ifrev \newenvironment{revision}{% \begingroup \revtrue% \color{blue}% }{% \revfalse% \endgroup } This ...
Mate de Vita's user avatar
0 votes
1 answer
59 views

Using figure* moves image to a new page in a 2-column document. Is there a way to prevent it? [duplicate]

I am using \begin{figure*}[H] since I want my figure to span to the whole page width while on double column page but it is causing the figure to move to a new page (despite using [H] to place the ...
Basileus's user avatar
  • 101
0 votes
1 answer
22 views

Include figure in the part environment

I am currently writing a script for Algebra and I use the \part{...} command. I wanted to put a rubics cube .pdf figure on the same page where the title of the first part is stated but it does not ...
calculatormathematical's user avatar
0 votes
1 answer
102 views

Figures in Two columns

I'm using overleaf. It's two column and I need 6 figures comes one by one. two figures in column 1 and another 4 in column 2.
Appandairaj R oe23s001's user avatar
0 votes
0 answers
18 views

Two-sided float barrier? [duplicate]

The \floatbarrier command prevents the floats declared before the barrier from moving past the barrier. However, it does not prevent floats declared after the barrier to move before the barrier. How ...
QNA's user avatar
  • 101
0 votes
0 answers
24 views

Figure and colorbox position [duplicate]

sorry cause I know it's a current trouble but I cannot find a reliable source to solve my problem: I'm using LaTeX and my figures are going all over the place even when I'm using [h], it looks like ...
gaby8gaby's user avatar
0 votes
1 answer
50 views

Not all the content of my latex file gets included when the pdf is compiled

I am using the float package to insert images into my latex file and for some reason the last image and whatever text is written after it does notm appear in the output pdf file. I have for now solved ...
Jure Kos's user avatar
3 votes
1 answer
321 views

How do I define alt text on images in tagpdf?

I installed the latest version (install-tl-20231205) and am tying to build an accessible document. The first line of the document is: \DocumentMetadata{testphase={phase-III,math}} I am following the ...
Chris Dugaw's user avatar
-1 votes
2 answers
162 views

Is there a way to have "Figure 1" INSTEAD of just "1" in List of Figures WITHOUT messing up the existing document? [duplicate]

I have the following situation: In my document the caption of a figure appears normal like "Figure 1: example". BUT in the List of Figures the caption appears like "1 example". Is ...
DGuys's user avatar
  • 57
0 votes
2 answers
73 views

Warning errors for floats and subfloats in my main document

I found this piece of script to place three images all on top of each other \documentclass[preprint,12pt,review]{elsarticle} \usepackage{multicol, blindtext} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \...
Alex Poyser's user avatar
4 votes
1 answer
72 views

Delay macro execution to when the container float is placed

I need an absolutely-positioned textblock* and a float to appear together on the same page. When the textblock* is written inside the figure, it is executed rightaway and thus seen on the page where ...
hschmauder's user avatar
2 votes
1 answer
64 views

Cite references ( \cite{} ) in Tables/Figures

I have the following table: \begin{table}[hbt] \centering \tabcolsep=0.3cm \caption{Gram Negative Bacteria.}{\cite{Bacterial_Classification}} \label{Tab:Gram Negative Bacteria} \renewcommand{\...
DGuys's user avatar
  • 57
0 votes
0 answers
36 views

How to get red of these markers on pdf [duplicate]

I was using Latex to write my report and whene I open the pdf generated I had (equations, Notations, list of figures, list of tables...) marked in red or green as shown in the image. How can I get rid ...
user13091672's user avatar
0 votes
0 answers
64 views

How can I let floats interrupt my text, but only at paragraph-resolution?

I'm writing some text, with a float at some point. I don't mind where my float is placed exactly, but - I do mind if it breaks up individual paragraphs into two pieces, before and after the float. I ...
einpoklum's user avatar
  • 12.4k
1 vote
0 answers
59 views

White space above and below images using two columns

So I'm writing an article using the "LaTeX Templates Journal Article", and I seem to have trouble getting my white space above and below figures under control. I have tried redefining the ...
NooCh's user avatar
  • 11
1 vote
0 answers
25 views

How to make the appendixes?

I'm writing a book where the appendix is located after the bibliography. If I place the appendix after the \backmatter, it eliminates the number or letter of the appendix, affecting the numbering of ...
Eloy Ávalos's user avatar
0 votes
1 answer
69 views

How to make the multiple floating blocks not occupying the whole page while keeping the `\intextsep` rule?

I want the floating block used in algorithm2e at the page's top instead of the middle. Here is my sample code with this Tex SX link's help: \documentclass{article} \usepackage{lipsum,mathtools} \...
An5Drama's user avatar
  • 163
1 vote
0 answers
31 views

Whitespace appearing after first figure and before text but not after second figure and before text [duplicate]

I am using the twosided book document class, and I am trying to place two figures with text after each figure. I am noticing that after the first figure, the text is placed at the bottom of the page ...
Charlie Chen's user avatar
3 votes
0 answers
49 views

Wrong order of citations in floats (without list of figures)

I have a problem with the sorting of my citations when using an unsorted citation style within a floating envireonment (e.g. a caption). I found a similar question here, but the possible solutions don'...
Jakob's user avatar
  • 31
3 votes
2 answers
118 views

Problem with alignment with wrapfigure

I have this compilable MWE: \documentclass[a4paper,12pt]{article} \usepackage[italian]{babel} \usepackage[utf8]{inputenc} \usepackage{mathtools,amssymb} \usepackage[top=2.5cm,bottom=2.2cm,left=1.5cm,...
Sebastiano's user avatar
  • 56.7k