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}.

2
votes
2answers
23 views

Formatting sub figures which use tikz

I'm writing an exam paper for a friend's tutoring business. One of the questions is going to be on velocity-time graphs. I wanted the 4 graphs to show up in a 2x2 grid but using the code below they ...
1
vote
0answers
19 views

How can I ensure a figure on an appendix page is constrained to a single page?

I'm currently trying to develop my thesis using LaTeX (specifically through TeXstudio) and am having issues keeping a landscape figure on a single page in my appendix section. \chapter{CHAPTER TITLE} ...
0
votes
0answers
11 views

How to fit a figure within a two-columns text in Latex

I'm using elsarticle-harv templates, which is a two columns article. I have a hard time trying to fit figures within the two columns the figure goes above the text margins. So this is how it looks ...
1
vote
0answers
22 views

Space between graphs

I'm trying to put two separate graphs on the same page. Unfortunately the top graph goes at the top of the page and the second graph goes right at the bottom with a big ugly gap between. Generically I'...
0
votes
1answer
27 views

I am getting a part of my figure name on the top of the figure. How to overcome it?

this figure delivers the flowchart of fragility curve development through IDA
0
votes
0answers
21 views

Landscape & Float & Text & minipage

Writing a landscape manual with subsection on the top, with images on the left using figures. On the right is the list of text. I have issues trying to have them on the same page when I use the ...
1
vote
1answer
27 views

Changing Figure numbering

I need to submit to a journal, separate files for each figure. I can submit figure 1. When I create the file for figure 2, the figure is automatically numbered "Figure 1". How can I begin numbering ...
0
votes
1answer
32 views

How can I create a two-column figure that spans across multiple pages?

Within a two-column article I would like to create a figure that spans both columns and extends over more than one page. The first functionality is covered by the figure* environment. The second ...
1
vote
1answer
19 views

Incorrect figure numbering using wrapfigure

I am having an issue with wrapfigure and I can't seem to find a solution anywhere. Not even in the documentation. What happens is as follows: I have a wrapfigure environment in my code followed by a ...
0
votes
2answers
29 views

Enforce piece of text to be under the figure

I have a problem, that when I post figure in a specific position, the figure posted in other position, I mean even in another paragraph which contradicts the context of figure. For example, I add the ...
0
votes
0answers
17 views

Forcing figures after references

I'm writing a paper with references and several figures. I'm wondering if it is possible to force some figures at the end of the paper, after the references. Thanks, Valerio
0
votes
1answer
42 views

How to place figure at the top or bottom of a page in twocolumn environment?

I'm using two column environment with dblfloatfix package. But my figures are moving to the next page. How to exactly fix it at the top or bottom of the page. Beside I'm using {figure*} environment. ...
0
votes
0answers
23 views

Corecting figure position movement [duplicate]

my figures cut through the text, they leave spaces between each of then and text is filling this spaces. how can correct this ? figures are not in order. \documentclass[11pt,reqno]{article} %-------...
1
vote
1answer
41 views

How to give different caption to 4 subfigures in Figure environment?

I want to use two column environment to place 4 subfigures. But I am using Figure environment. What is the purpose of * in the following code and how can I mention different captions to four ...
0
votes
0answers
30 views

Referencing a figure

\documentclass{article} \usepackage{graphicx} \begin{document} Figure \ref{fig:DA}. \begin{figure} \centering \includegraphics[width=\linewidth]{DiferentialAmplifier.jpg} \caption{...
0
votes
1answer
45 views

Posting figures side by side

I want to post two figures side by side in latex but it results coming one after the another. How do I solve this? The code i used is: \begin{figure}[H] \includegraphics[scale=0.1]{img.jpg} ...
0
votes
0answers
29 views

caption of figure going into second column [closed]

I have this code below. How do I keep the caption in the column the figure is in? \begin{window}[2,r,\includegraphics[width=3.5in]{Ex.png},\centerline{Fig. 8: blah blah blah blah blah blah blah blah ...
1
vote
0answers
12 views

Add axis label to subfloat images

I need to set an x-label and a y-label to each subfigure, can I add labels to \subloat[]? \begin{figure}[H]% \centering \subfloat[]{{\includegraphics[width=6.75cm]{ProfitV1.png}}}% \qquad ...
1
vote
0answers
23 views

Scaling a figure in twocolumn environment [duplicate]

I am trying to rescale a figure while in twocolumn environment, but all attempts result in error. Here is what doesn't give an error: I want to, however resize the picture, and when I try I get this ...
0
votes
1answer
16 views

Overwrite default distance between figure caption and text

I would like to set the distance between figure caption and text to be 24pt. Even though \belowcaptionskip is zero for report class, the following code produces a pdf where the distance between ...
1
vote
1answer
24 views

Elsevier cas-sc document class: print Figures after bibliography at the end of the document. How to adjust before bibliography

\documentclass[a4paper,fleqn]{cas-sc} \usepackage[numbers]{natbib} \usepackage{graphicx} \usepackage{caption} \begin{document} \begin{figure} \centering \includegraphics[scale=0.65]{...
0
votes
2answers
23 views

How can I get my table or figure to stay where they are, instead of going to the appendix or end of the document?

How can I get the figures not to be pushed to the end of the document? I have visited the above link already and I tried what is said their, but failed to get my task done. My code is given below. ...
4
votes
1answer
150 views

PDF vs. PNG figure: why does figure load so much faster even if file sizes are the same?

I have some figures I'm making that consist of tens of thousands of points. The PDF version of one of these figures is 1.1 MB, while the PNG version is 1.3 MB (both figures generated with the ...
0
votes
0answers
19 views

Table positioning forces weird spacing between paragraphs [duplicate]

I have quite a long table that almost fits one page. The table needs to be placed at the end of the section. The next section begins with a short paragraph so Latex always place the table next to that ...
0
votes
2answers
38 views

Pagebreak in subfloated tabulars using the subfig package

I am trying to create a table in a landscape environmentment containing several subtables which content exceeds one page. Therefore a pagebreak within the table to separate the subtables on multiple ...
0
votes
2answers
53 views

Forcing single large figure and caption to be on a page in sequence

I'm using tufte-book and have several large (full-page-size) figures which I want to place one per page. Alas, whenever I adjust the [width=...] to fill the text column with the figure the compiler ...
1
vote
1answer
24 views

Caption positioning with float package

I'm using the float package and I defined a new float environment. I noticed that when there's a figure inside float with width=\textwidth the space between the figure and the caption is doubled. ...
1
vote
1answer
33 views

Add figure format reference to an image added on a minipage

I have the following minipage: \begin{minipage}{\textwidth} \centering \begin{minipage}[ht]{0.4\textwidth} \centering \includegraphics[width=.6\linewidth] {fig/grafo1.eps} ...
1
vote
1answer
26 views

how to avoid the figure block the text?

\documentclass[xcolor={dvipsnames,table}]{beamer} \mode<presentation> { \usetheme{Darmstadt} \setbeamercovered{transparent} } \addtobeamertemplate{footline}{}{% \makebox[\paperwidth]{% \...
2
votes
3answers
59 views

Latex: How to fit 3 large double tables next to each other in the first row of the page and 3 again in the second row of the page?

For awhile now I have been trying to line up tables. They are pretty large tables, but I'm trying to fit approximately 3 tables in one line. One table consists of two tabular environments in each ...
1
vote
1answer
36 views

Issues with centering captions for two figures side by side

After following the code for the solution of this question I am struggling to get the second line of the captions to stay centered. Normally the first line of text is always centered but once there ...
2
votes
1answer
54 views

Leaving Whitespace for Hidden Text, Math, and Figures

I have used a variety of commands to hide answers to questions in documents. I use a boolean to to determine whether the material should be hidden, i.e. hideans True then hide, hideans False then don'...
2
votes
2answers
47 views

caption width of table equal to width of table

currently, the table is caption inside the box with a background color my problem is I need to align the width of the box is equal to the table width. Current output My codings \documentclass{...
0
votes
1answer
18 views

beamer caption does not appear

I would like to write the caption below a figure but unfortunately the caption does not appear when I compile the tex. The Figure is ok, but I would like to see below the figure smth like "Figure 1: ...
0
votes
2answers
62 views

`h!` table placement with `H` spacing?

So I'm trying to make an entirelty double-spaced document, so I have the following code in a MWE: \documentclass[12pt,a4paper,titlepage]{article} \usepackage{setspace} \setstretch{2} \...
3
votes
1answer
54 views

how to insert my pic here?

how to insert my pic into the blank space,which i ticked in red circle. The pic i wanna insert is plotted by tikz . \begin{tikzpicture} \draw[->] (0,0)--(0,2)node[above]{$y$}; \draw [->](1.5,...
0
votes
1answer
33 views

How to recognise all figure commands as figure*

I have a long tex file with many "figure" commands inside. I included this source tex file in my main document. In the beginning of my file I am trying to renew the command figure as figure* but it ...
0
votes
0answers
24 views

How to span a float over a fixed width in two-column mode

In a two column mode, \begin{algorithm} spans over a single column, while \begin{algorithm*} spans over the entire page. But what if I want it to span a fixed size, e.g., 0.5\linewidth? I am ...
0
votes
0answers
23 views

LaTeX changing the order of problems on a test [duplicate]

The following code is that for the first two problems enumerated as 11.) and 12.) on a page of a test. Why is LaTeX changing the order of them? (I guess the table environment is doing this.) How do I ...
0
votes
0answers
34 views

Latex leaves left part of the page as blank. How can i fix this?

At my last page, latex pushes my figure to the right side of the page and leaves whole left side as blank. Nothing like this happens for other pages. Why is this happening?
1
vote
1answer
49 views

Problems with figure size

Hello fellows and folks! Do you know why this is happening? All of the sudden, when I compiled the whole document, the matrix showed up like in the picture. I have this in every figure that appears ...
3
votes
1answer
30 views

Figure with caption before abstract in two-column document - elsarticle format

I'd like to add a figure in between the authors affiliations and the abstract. It should span two columns (figure* environment). Minimal working example below. The figure ends up wrongly placed on ...
0
votes
0answers
26 views

Extract a table-float from a TeX-typeset PDF?

I have this article which was near-certainly created with LaTeX. One of its floats is a table, and I would like to extract it from the PDF, i.e. obtain a PDF with just that figure (excluding the ...
0
votes
2answers
27 views

Placing an image in-line with text [duplicate]

I'm trying to insert a small image inline with some text. A the moment I have my code like this: Press \begin{figure}[H]\includegraphics[scale=0.7]{fit_button}\end{figure} to start the fitting. Wait ...
0
votes
1answer
35 views

Why \textfloatsep has no effect on figures/tables?

I have quite a few floats(figures/tables) in my document. Now I want to enlarge the (below and above) separation between a float and the main text. I resort to \textfloatsep. I hope to set it once ...
0
votes
0answers
21 views

Why does the figure jump to the next page? [duplicate]

I have the following latex file for the figures. The figures are read successfully but it does not align itself in the desired space between horizontal text lines, instead it jumps to the next page. ...
2
votes
1answer
59 views

How to properly insert an image?

This image should have been fit after (a) and it seems like the image can fit into the previous page...I have been facing this kind of problem a lot and I don't know how to fix it. I tried to use [h],...
1
vote
1answer
27 views

leave the caption empty [duplicate]

I have figure with multiple figures (top, bottom). I want to use (a,b,..) for multiple figures. but all my figures have titles on, I believe that putting caption for (a) and (b) is not necessary. ...
0
votes
0answers
26 views

Why when using the multicol package will tikz figures/ normal figures be pushed to the centre of the next page?

I'm trying to insert a simple tikz diagram into a two-column document and it keeps pushing it to the bottom of the next page. Is there a reason for this? I've tried moving it further up in the text ...
2
votes
3answers
205 views

Tikzpicture in figure problem

Below is my MWE. My only problem is, I need the tikzpicture to be pagewidth (textwidth) and not overflow to the right. I tried adjustbox, fbox and resizebox. \documentclass[ a4paper, % ...