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

How do I fix a figure getting pushed onto another page. There also appears to be a large buffer area around the image

I am new to LaTeX so I apologize. I am adding figures to a report and they keep getting pushed to the next page. There is also a large border around the image that creates a gap between the image and ...
0
votes
0answers
21 views

Subsubsection floating [duplicate]

The images below and the code show how 50° subsubsection is not where I placed it. Any solution? \section{Experimental results} In this section the temperature vs time plots are shown and ...
19
votes
2answers
118k views

figure span to one column on double column page [duplicate]

Possible Duplicate: How to make a figure span on two columns in a scientific paper? I want my figures to span to whole page width while on double column page, I am using subfloat, how to do that? ...
1
vote
1answer
51 views

Delete ":" in the caption of figure and tables

Each time I cite a table or figure, the caption is preceded by ".:" Example: Figure 1.: The proposed approach, Table 2.: Mobile apps categories. How can I delete ":". I'm using ...
0
votes
2answers
22 views

How to add a legend next to a figure in latex

I created a 4-subfigures figure: \begin{figure*} \begin{subfigure}[b]{0.4\linewidth} \includegraphics[width=\textwidth]{1.png} \caption{1} \label{fig:1} \end{subfigure} \hfill \begin{subfigure}[...
2
votes
2answers
58 views

Geometric figure 'framing' forest tree

Is there any way I can, so to say, frame my forest-tree with the shape of a cone? This is what I got so far: \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage{float} \...
1
vote
0answers
42 views

Floating Theorem amsthm

I have an environment thm defined with newtheorem of amsthm, and one of my theorems has multiple small codes (lstlisting) and text in between. This theorem takes about 2/3 of a page and I would like ...
36
votes
2answers
133k views

"Environment subfigure undefined" on journal submission

I have a LaTeX file with packages \usepackage{amsmath,amssymb} \usepackage{graphicx} \usepackage[colorlinks=true,citecolor=black,linkcolor=black,urlcolor=blue]{hyperref} \usepackage{tikz,graphics,...
1
vote
2answers
79 views

Text flow is disrupted when inserting multiple TikZ figures inside multicol latex document

I am having trouble placing TikZ inside a multicol latex without introducing unwanted whitespaces. main.tex: \documentclass[10pt]{article} % Packages \usepackage{multicol,caption} \usepackage{...
0
votes
1answer
95 views

! Too many }'s.\color@endbox ->\color@endgroup \egroup \end{figure}

%====================================================================== %---------------------------------------------------------------------- % SPECIFICATION FOR COMMON IEEE STYLES %------...
7
votes
2answers
25k views

position caption of centered figure left-adjusted to figure

I have a problem with the alignment of the caption of an image. My image is centered and I need the caption to be left-adjusted relative to my image like that: -------------------...
0
votes
1answer
28 views

Figure numbers are same while using the continued float

My figures are very large and I need to use them one after the other and I need to continue the figure on the next page. But the figure number remains the same. Can anyone please provide me any ...
1
vote
1answer
78 views

Vertical gap appearing in the second column of a multicolumn environment (oxford bioinformatics template)

I have a problem with a vertical gap appearing in the second column of the second page, instead of text/figure. This problem is not exclusive to the pages near the bibliography because this gap also ...
0
votes
1answer
93 views

Images out of margins

I have the problem that by inserting 4 large images they do not fit in a single sheet (see attached image and code used). I would like that, if all the images don't fit on one sheet, they go to the ...
0
votes
2answers
68 views

How to put figures above the text [duplicate]

I am writing my first paper in latex and have problem when I am about to finish the paper i.e. at the end of the paper. I used the following code and want to display the figures first before the text. ...
1
vote
1answer
55 views

custom margin notes

I am trying to set up a custom margin note command for my lecture notes but I encountered a few problems. First of all, this is how it should look: As you can see in the screenshot above, the margin ...
1
vote
0answers
21 views

How to fit a wide picture on two columns [duplicate]

I am working in a two-column file and want to add a picture to the top or bottom of a page that stretches over both columns. \pdfoutput=1 \documentclass[11pt]{article} \usepackage[review]{acl} ...
1
vote
1answer
20 views

Sub figures of different sizes over two column text

I have two figures of different sizes, one which I want to extend on the full page and the other which I want only on one side of my two column text. Here is what I a achieve: And here is the code I ...
0
votes
0answers
22 views

pictures and stargazer table in wrong position [duplicate]

I am having problems with my overleaf document. I am trying to fit pictures and a stargazer table, but they appear in the wrong position. My current code is as follows: \begin{table}[!htbp]\centering ...
0
votes
1answer
49 views

Draw a caption rule connecting with the figure/table frame using tcolorbox and tikz in the tufte-book class

I am trying to reproduce, with minor differences, the caption style that I have seen in the microtype documentation: I am using a the tufte-book class with the [openany] parameter so the margin is ...
0
votes
2answers
91 views

Export inkscape formatted figure in a separate pdf

I am using input of pdf_tex files created by Inkscape as recommended, i.e. \begin{figure}[t] \centering \def\svgwidth{0.5\linewidth} \input{name.pdf_tex} \caption{Some text.} \label{name} \...
0
votes
0answers
19 views

How do I place an mbox command specifically?

I have a problem where a flaot (mbox paragraph) is not placed in the new page even when the code is: \newpage \subsubsubsection{Spell list} \begin{table}[H] I need a method to make the paragraph not ...
0
votes
0answers
16 views

restrict 11 images on a page

I want to present 11 images on one page, 3 in a row. Then start new page with different set of 11 figures with 3 images per row. But i am getting 2 pages per row with 8 in total and rest are ...
2
votes
2answers
361 views

Vertically centering figures that appear alone on pages

I am writing an article using the aa document class. I include two column figures using the figure* macro. Sometimes, this results in one or two figures being placed on a page with no other text. ...
0
votes
0answers
25 views

How can I '''\figurename'''bold?

I wish to rename \figurename the in my text. But when I use \renewcommand{\figurename}{\textbf{Figura: 1}} shows in text: Figura :1 :1. Why can I to solve it?
0
votes
1answer
40 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) {\...
2
votes
1answer
797 views

Best alternative to wrapfig?

I'm working on a textbook with many figures, and I've been using wrapfig to place ones that are less than a full-page wide. However, the results are often just plain awful. Reading around, I was ...
57
votes
4answers
167k views

Remove space after figure and before text

I have a figure in my paper (I am using IEEEtran package). After this figure there exists a space between the figure and the text. How can I reduce the size of this white space. To be specific the ...
0
votes
0answers
21 views

How can you create a table which contains images next to each other?

I want to create a table of images. The images should have some space between them and there should be text below some columns. I am unsure if I should use a table or figure. Here are two examples: ...
12
votes
6answers
14k views

Subfigure captions appear too close together

Is there anyway to avoid what is observed below with the subfigure captions appearing too close together? I would rather not use the minipage environment as a solution. \documentclass[]{article} \...
0
votes
0answers
27 views

save the position information of the tikzpicture bounding box

I learned from this question that each tikzpicture can generate a bounding box. I want to save the position information of the tikzpicture bounding box (such as the upper left corner and width and ...
1
vote
1answer
28 views

How to make the caption the same size as the footnotesize and always center the caption

I would like to make the caption the same size as the footnotesize and center the caption without having to use \captionsetup every time I insert a new picture. \begin{figure}[!htb] \centering \...
1
vote
2answers
46 views

Indenting the `table` and `figure` environments

This is a follow-up question to Create enumerate like indented nesting environment. The accepted solution to that question works well but it can not handle float environment like \begin{table}-\end{...
0
votes
0answers
32 views

Placing equations and sentences at specific coordinates

would like to create a document. On each page of the document, I would like to have three things: a) a few math equations (and a few short sentences) at very specific locations and with a specific ...
0
votes
1answer
45 views

Appendix prefixes in figure names, but not in section heading

I would like to have an A prefix in the appendix figures, but not in the section heading – and include the Appendix in the table of contents. A MWE inspired be this answer. \documentclass[a4paper,...
0
votes
1answer
46 views

pdfpages adds the page *before* the section title, despite being declared after

I'd like to add a "supporting information" section and include all of my NMR PDFs. This is what my LaTeX looks like: \clearpage \section{Supporting Information} \includepdf[pages=-]{../NMR/...
0
votes
1answer
27 views

Is there any way to force the bibliography in the end without pagebreaks?

So I have the following problem: I have a bunch of floats that have not been placed yet before the bibliography starts; If I don't do anything about it, I get the bibliography and then afterwards the ...
0
votes
1answer
32 views

Package hyperref warning on figures

For each \autoref that I use on my code to reference images, I get the following error: Package hyperref Warning: No autoref name for `{1}{3}' on input line 3 The name varies for each image: {2}{4} ...
1
vote
1answer
39 views

Forcing different size svg images into symmetric grid

I have a grid of 4 svg images that I am trying to force into a grid. My problem is that when I put them into LaTex the grid alignment is slightly off. I have tried: moving the \hfill to different ...
8
votes
1answer
40k views

Table and figure side by side with minipages

How do I put a table and a figure side by side with minipage? I have made it work, but then the figure's caption is table, because table was the surrounding tag. \begin{table}[ht] \begin{minipage}[b]...
7
votes
1answer
390 views

Force all floats to the end of the document without using endfloat, compatible with htlatex

What is the easiest way to have all floats forcibly appear at the end of the document? The solution should work with htlatex, the floats should appear at the end of the HTML document in this case. (...
9
votes
3answers
774 views

Place all floats last without changing numbering

I'd like to place some of my floats (specifically code listings) in my documents in a section at the end, without disturbing the numbering. Currently, I have them numbered within sections, so in ...
0
votes
1answer
26 views

Numbers appearing below figures when using gb4e

I'm trying to number my figures in Latex, and in linguistics it's conventional for the number to appear above the figure. It's also conventional for all tables, figures and examples to receive the ...
0
votes
0answers
16 views

Background color for all existing floats(documentclass revtex and aastex)

The question is a follow-up to this. I hope to add the background color to all floats in batches without changing the content of these existing floats. This code works well when the documentclass is ...
0
votes
1answer
39 views

Wrap figure working as figure

I have the necessity of doing a document with wrap figure. For some time I used minipage to take side by side the figure and the text, but this doesn't work always. So i tried to use wrap figure, ...
0
votes
1answer
28 views

Stretch textfloatsep instead of parskip to align columns to the bottom of the page

I have a large float on top of two-column text (with multicols), with a new paragraph in the second column. Before the second paragraph, parskip gets stretched to align the baseline of the second ...
0
votes
1answer
51 views

Fig 1a into Fig 1a (but with "a" is in \textit)

\documentclass[conference]{IEEEtran} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure}[h!] \centering \begin{subfigure}{.25\textwidth} \...
35
votes
4answers
20k views

Place figures side by side, spill into outer margin

I would like to place two figures side by side (not subfigures) and what’s more, I’d like to let the figures spill into the outer margin (since they are too wide for the the text width. Like this: (...
0
votes
1answer
23 views

Save position information of all existing floats

The question is a follow-up to this one. Background color for all existing floats I hope to save the generated yellow background box location information to a new TXT file, as the floating element ...
1
vote
1answer
74 views

Background color for all existing floats

I'm using this code to add background color to all floating elements: \makeatletter \def\foo#1\normalcolor\vbox\bgroup#2!!{% \def\@xfloat ##1[##2]{#1% \normalcolor \hbox\bgroup{\color{yellow}\...

1
2 3 4 5
113