Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
30 views

How to move text after a figure

I am relatively new to Latex, and I have a report I need to write. One common thing in my report is the use of figures surrounded around text (some text, a figure, some additional text). The issue I ...
2
votes
1answer
28 views

Long Table containing figures ,equations and multicolumn

I want to make a long table (3 to 4 pages) of 5 columns containing its name, figure, equation, advantages, and disadvantages But when I am using longtable package and other helping material from the ...
1
vote
2answers
13 views

Shifting or stretching a float

I have got a float, that is minimal too high for a page. Is it possible to either shift it up a bit, so that it fits between the head- and footsepline or to stretch it with, say 0.9? My float ...
0
votes
0answers
11 views

Package morefloats Error: Too many floats requested. }

I get the following error: Package morefloats Error: Too many floats requested. } while trying to run a "*.tex" file, which runs OK on my desktop, on my Mac. The IDE that I am using is Texstudio. ...
2
votes
2answers
34 views

Economise space with floats

Consider this example: \documentclass{report} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \lipsum[1-4] \lipsum[5]{1-14} \lipsum[6][1] \begin{figure}[htbp] \centering \...
1
vote
1answer
32 views

Passing [H] with the float package isn't working

My LaTeX was similar to: \documentclass[man]{apa6} \usepackage{graphicx} \usepackage{float} \usepackage{babel} \usepackage{biblatex} \title{TITLE} \author{AUTHOR} \affiliation{UNIVERSITY} \subtitle{...
0
votes
1answer
46 views

Let LaTeX decide where to place figures

There are too many posts that complains LaTeX is not doing a good enough job in placing floats such as figures, and ways to work around them ([!htbp], \usepackage{float}, etc.). Upon curiosity I ...
1
vote
1answer
37 views

Force float to top of page selectively

Consider this example: \documentclass{report} %\usepackage{float} ...
0
votes
0answers
10 views

Force a lonely float to top of page [duplicate]

I am not fond of solitary floats "floating" in the middle page. Consider this example: \documentclass{report} %\usepackage{float} \usepackage{lipsum} \usepackage{graphicx} \begin{document} \lipsum[1-...
0
votes
0answers
45 views

Force figure placement in text doesn't work in 'gji' document class

I have a problem with placing the figure. It is placed differently than in the code. In the article document class I use [h] specifier from the float package, but in the gji class it doesn't work. (...
0
votes
0answers
15 views

Removing new line after figure [duplicate]

We've been given a template to work with. I am adding figures with the following code: \begin{figure}[H] \begin{center} \includegraphics[scale=0.7]{Figures/System/reinf-learning.jpg} \...
1
vote
1answer
30 views

How can I fix the position of tables formatted with `renewenvironment{table}`?

I've used renewenvironment{table} to make all my table rules green. I also want to fix the position of some of them, using the option H of float package, for instance. I've tried a solution like the ...
1
vote
1answer
46 views

Encouraging LaTeX to more evenly distribute figures/floats across all pages?

I frequently run into a situation where several pages will be nothing but blocks of text, and later there will be several pages with multiple images. Is there a way to loosen how closely the figure ...
0
votes
0answers
14 views

pgfplots: set effective width of figure if no label given

How to ensure that the set width of pgfplot figure is correctly applied in case I do not have a label? Please consider the example below \documentclass{article} \usepackage{pgfplots,calc,...
1
vote
1answer
18 views

On a single “sidewaystable” page, how to have a tabular environment on top and a few figure environments below?

So, What I want is to have a sideways table and few figures below it. In a single page. As you would know it, it shifts figure on the next page. This is the dummy version: \clearpage \begin{...
0
votes
1answer
21 views

How to center text in figure with subfigs

Say that I have this code: \documentclass[12pt,a4paper]{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure} \textbf{Text I want centered} \\ \subfloat[Image]{\label{}\...
0
votes
1answer
25 views

Force multiple images on one page with maximum size

I want to create a page with two images and some text. The images will get recreated from time to time, which possibly results in different image-sizes. I do not want to manually set the maximum ...
0
votes
1answer
32 views

How to flush floats without beginning a new page AFTER the float [duplicate]

I want to flush my float (after an obviously necessary pre-pagebreak, since otherwise the float would be printed there anyway) and continue the text right below this flushed float with no additional ...
1
vote
1answer
115 views

How to draw small a triangle mesh using tikz?

My question is simple but I haven't been able to find any answers. How can I draw a small a small triangle mesh (4-5) triangles using tikz and label each node and triangle face? This is a diagram ...
2
votes
1answer
31 views

2 Pictures under another

I've ran into a little more trouble with the figure environment. I need to create a table of figures for my documentation and whatever I try I can't get 2 pictures on one page. As an minimal example,...
2
votes
2answers
95 views

How to enumerate figures in sync with another counter?

I when I create a command for (for example) the examples in my article, I do it in this way: \newtheorem{teo}{Theorem}[section] \newtheorem{ex}[teo]{Example} So the enumeration is consecuent to what ...
3
votes
3answers
72 views

How to assign captions for two tables in LaTeX?

I want to put two tables side by side and my I have included a sample code below. How can we put separate captions for two tables in LaTeX included in one tabular environment? \documentclass{article} ...
0
votes
0answers
21 views

Change figure's location

Any thoughts on how to slightly lower the position of this Figure so that the page (figure+table) is vertically centred?
1
vote
1answer
32 views

tikz: problem with positioning

I have read this article carefully: however, I still have problems with the placement of figures and tables inside a document. Here is an example \documentclass{article} \usepackage{amsmath,amssymb,...
2
votes
1answer
58 views

How to properly repeat a float (figure or table)?

I reference the float in different chapters. To make it easier for the reader, I would like to repeat the whole float, so the reader does not need to flick back to the chapter where the float occurred ...
1
vote
1answer
18 views

Centering a figure on tikz's x=0, not on the figure's actual center line

I'm trying to get a figure made with tikz to be centered exactly on the figure's own internal x-axis. I don't want to use \centering, as at least with its default behaviour, \centering finds its own ...
0
votes
0answers
17 views

Captioning a table that is not a float in LyX

I have a table that is so wide that previously I was inserting it sideways as a float, but to limit document length I need to insert it in normal orientation. In LyX using ERT I can do this: \...
1
vote
2answers
33 views

How to position figures

I want to position three figures below eachother, and then have a colour bar on the left side - see the example picture below. I have tried using minipages and subfloat, but it has not been ...
0
votes
0answers
11 views

Captions are not stick together with the figure in nature class [duplicate]

I am using nature class file. In that class, \includegraphics was not working. Which I solved with some modification in the .cls file. However, the captions and labels are not working. Could anyone ...
0
votes
1answer
23 views

Fully justifying subfigures

In a figure environment, I can use \centering to achieve this effect: \begin{figure} \centering \begin{subfigure}{0.3\textwidth} A \end{subfigure} \begin{subfigure}{0.3\textwidth} B \end{subfigure} \...
-1
votes
1answer
66 views

Picture take whole page, no text on the page

So, I have a picture that doesnt take up the whole page. Basically this picture can float freely within the section, as long as the page stays clear of any text. \pagebreak kind of works but the ...
0
votes
1answer
30 views

Positioning two figures (with subfigures) which use 1.5 rows each to occupy 3 rows instead of 4

I have two figures with 4 subfigures each. They are currently placed like this A1 A2 A3 A4 - Ac --- B1 B2 B3 B4 - Bc --- Ac and Bc denote captions. Each subfigure also has its own caption. ...
1
vote
0answers
51 views

force figures to follow each other

Consider this example that involves two figures forming a continued float: \documentclass{report} \usepackage{graphicx} \usepackage{lipsum} \usepackage{caption} %\usepackage{float} \begin{document} \...
0
votes
0answers
23 views

Add multiple arguments to figure

I am placing a figure in my document using the following code: \begin{figure}[H] \centering \includegraphics{AlgorithmFlow.png} \caption{Caption} \label{fig:myLabel} \end{figure} I ...
0
votes
1answer
21 views

Hide minted output completely without taking up space

Due to issues with Minted's escapeinside option, I would like to include, but completely hide (without taking up any space), a minted environment within my document. I do not want any of the content ...
0
votes
1answer
27 views

Error including four figures in a column with IEEETran class

I am trying to include 4 figures arranged 2figs x 2figs in a column like this \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \usepackage[compress]{cite} \usepackage{times} % Font ...
6
votes
1answer
120 views

ConTeXt: Complex multicolumn layout

Background Looking to achieve a fairly complex layout from a Markdown source document. The layout resembles: Code \usemodule[newcolumnsets,visual] \setuphead[chapter][ header=empty, footer=...
5
votes
2answers
106 views

How do I draw and define two right triangles next to each other?

My goal is to draw a figure exactly like this The best I could do coding this was: \documentclass{article} \usepackage{amsmath,amsfonts,amssymb} \usepackage{tikz} \usepackage{float} \begin{document}...
0
votes
1answer
37 views

How can I get figures to look like the following in latex?

I need to have a full-width image at the bottom of the page and a small, half-size image at the top. There will be text in between. I've tried messing around with the h,t,b,! of both images to no ...
0
votes
1answer
27 views

avoid a single figure on one page with lots of empty space

This script: \documentclass{article} \usepackage{lipsum} \usepackage{graphicx} \usepackage{subfig} ...
0
votes
1answer
29 views

Image fill rest of a page that already contains text

I found some solutions for full page images (here and here), but what I am trying to achieve is putting an image in a page that already has text (some headings, for example) and the image should fill ...
1
vote
1answer
23 views

How to re-order \addcontentsline?

This question may sound similar to what has been asked before, but I tried to do a minimalistic implementation (stealing some code from the verbatim package). Also I don't really know TeX, just basic ...
0
votes
0answers
30 views

Manually adding content to list of figures

So I'm supposed to make a command that manually applies label to a picture, using hypertarget and a counter, and then adds the one to list of figures. Note that the pictures I'm manipulating with, ...
0
votes
0answers
28 views

Non-rectangular footers in Latex with page text flowing around logo

How can I generate a page footer on every page of a document that is not rectangular, i.e. that has a larger logo with the page text flowing around it? I'm trying to replicate a page layout ...
0
votes
0answers
27 views

Table taking full page LATEX

LATEX Code down below: \begin{table}[ht] \renewcommand\arraystretch{2.5}\arrayrulecolor{LightSteelBlue3} \captionsetup{singlelinecheck=false, font=blue, labelfont=sc, labelsep=quad} \caption{Timeline ...
0
votes
0answers
16 views

First sentence after figur/table not aligned [duplicate]

Im using a simple figure environment but at some times the first sentence after the image or table aren't aligned anymore. The text is off a few cm to the right. I modified my paragraph setting to be ...
0
votes
0answers
24 views

What is \subcaption@CheckCompatibility and how to fix it [duplicate]

I write my thesis in TeXstudio and i use for package manager MiKTeX. In the text who i write I want to put two shapes side by side. I find a very good solution for that "application" the subfigure. I ...
0
votes
1answer
28 views

How to set pgf width dynamically based on template settings

I am using matplotlib and exporting my plots as pfg so I can keep math notation in latex. I am using elsarticle. Things were working quite well until I switched the template to two columns. In this ...
4
votes
1answer
36 views

Correctly order float counter (perpage.sty) while sharing eqn/thm counter

Sharing float (fig) and thm counter can be done with \newtheorem{theorem}[figure]{Theorem}. Correctly ordering float (fig) counter based on actual location in the PDF (as opposed to location in ...
0
votes
0answers
16 views

How to generate a single short caption for a split figure

I want to be able to make a spit figure that only registers a single short caption in my list of figures. \documentclass{article} \usepackage{graphicx} \usepackage[font=footnotesize]{caption} \begin{...