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

309 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
872 views

Is there an alternative for \usepackage[nobottomtitles*]{titlesec}?

Is there an alternative for \usepackage[nobottomtitles*]{titlesec} as it messes up my automatic clearing of floatingfingure? \documentclass{article} \usepackage{mwe} \makeatletter \def\maxwidth{\...
5
votes
0answers
91 views

How can I produce s separate PDFs for each one of my floats, when their code isn't self-contained

I've written this document (say it's an article) with a bunch of float - figures and tables. Some of them are just \includegraphics, so the figure essentially exists outside as well inside the ...
4
votes
0answers
5k views

Force figure to be at a certain page

I am using a 2 column document and have a 2 column figure placed at the top of the page. The problem is that the figure is showing up on page 3 instead of page 2. It is the first figure in my document....
3
votes
0answers
110 views

Frame around whole section, including floats?

I want to create an environment for visually marking sections of text as "needs to be redone", "unfinished" or similar. For that purpose I want to put a colored frame around the sections, which I ...
3
votes
0answers
137 views

Vertical space inside, before and after LaTeX environments

Background Similar questions have been asked before on this forum, but my question is a bit wider. The ultimate goal is to define an environment that is useful for automatic documentation of ...
3
votes
0answers
716 views

\enlargethispage command inside a float

A large figure which takes an entire page (with caption) is a tiny bit too tall for the page and produces a warning ("float too large for page" by ~3pt). Here is the example code: \subsection{Section ...
3
votes
1answer
3k 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, ...
3
votes
0answers
310 views

Lyx: Reference to sub-figures numbering is wrong

I have a lyx document with a floating figure with subfloats, where referring the subfloat (e.g. should be 1a) shows up as with off-by-one numbering (e.g. shows up as 2a), and all following figure ...
3
votes
0answers
134 views

Wrap figure challenge: is it possible in LaTeX?

I am struggling with a problem: I need to have a lot of wrapfig positioned in the top right corner of the page. I don't want to do a manual tweaking, but a solution similar to \begin{figure}[t], that ...
3
votes
0answers
524 views

Sub-figures in multiple pages but with one figure caption and showing “continued on next page”

The below code (together with Knitr package in R) creates figures on 3 pages under one caption of "Figure 1: Lots of figure". What I want to have is something like "footer" underneath figures in ...
3
votes
0answers
684 views

Figure* span two columns only on new page for Bioinformatics Journal Template

I am using the Bioinformatics template from https://www.sharelatex.com/templates/52fb87a233621a613683ec81 Unfortunately, it is not possible to insert a spanning figure with the figure* environment on ...
3
votes
0answers
1k views

Globally change the font size in EPS figures (when using pdfLaTeX with pstool)

I have a document where float environments are typeset with \small font (tables, figures). For the tables and most environments in general, this works nicely with \AtBeginEnvironment{tabular}{\small} ...
2
votes
0answers
40 views

APA6 document class: Second table gets centered vertically

I'm currently stuck with the problem that my second table gets centered vertically when using the apa6 document class. What I would like is the second table on a new page but at the top, just like the ...
2
votes
0answers
43 views

LaTeX floats do not increase vertical stretchability nor the page total (t), but reduces the goal height (h). Why? And how to change?

Foreword This question is a follow up question of this question. More precisely, I was able to trace the problem down to its root, especially I was able to produce three MWE that illustrate the ...
2
votes
0answers
67 views

Full page figures using RevTeX?

I am typesetting an article using the revtex4-2 document class (using the twocolumn option), and I was wondering if there is any way I can get a figure to be placed on its own separate page, like it ...
2
votes
0answers
44 views

Predefined box for automata

I got from my university for my paper a predefined way of displaying automata and figures in general. Now I got the problem, that they don't really adjust to the margins of the paper. I want the ...
2
votes
0answers
575 views

How to place figures between paragraphs?

I want to insert figures between text just like this: . So I use the following code: ** \begin{document} Text here. \begin{figure} \centering \begin{subfigure}[!h]{0.3\textwidth} \...
2
votes
0answers
355 views

How to put the caption of a listing on the right margin?

I am currently using the package floatrow to put the captions of my figures on the right margin. How to achieve the same result for the captions inside listing environment (provided by \usepackage[...
2
votes
0answers
57 views

Section spacing ignores figures placed at the top

IIUC, normally, a section only adds vertical space before it if the section is not the first thing in a column/page. To my surprise it acts the same after a \begin{figure}[t] ... \end{figure}. Is ...
2
votes
1answer
300 views

Extract floats and read an external aux file to get hyperref infos in captions

My purpose is to use the endfloat package to extract all figures (with their captions) in a separate pdf file. I want to do it with a script combining bash command line and emacs-lisp. I want to do ...
2
votes
0answers
251 views

Having better control on captions in two languages under each image

I need to insert two captions (in polish and exactly the same translated into english) under each of the figures and above each of the tables in my document. Once captions were defined I would like ...
2
votes
0answers
152 views

Forcing arbitrary figure location

Is there a nice way to arbitrarily force a figure into a location in the page, in an ad-hoc way. That is, after everything is written, just tell latex where to place it without changing any text. I ...
2
votes
0answers
87 views

No space between columns in twocolumn layout bug

I have a latex document and sometimes there is no space between the two columns on some pages, which makes the text hard to read(and ugly). I managed to figure out, that the problem appears, if I use ...
2
votes
0answers
384 views

Changing page margin of floating sidewaystable

I have a large table that I want to put sideways. Also to fit it on one page I want to reduce the page margins. One solution to change the margins is to redefine them with \newgeometry (followed by \...
2
votes
0answers
450 views

Figure/image is overflowing bottom of page

I have a MWE which results in a PDF where on page 2, second image overflows the page at bottom. I have replaced the images with tcolorbox in the MWE: \documentclass[fontsize=13pt,czech,DIV=11,paper=...
2
votes
0answers
161 views

How to fill the white space left by caption in SCfigure with text

The sidecap package brings the SCfigure environment, which enables captions to be positioned to the left or the right of a figure. I have a very long figure, ocuppying most of the textheight. I want ...
2
votes
0answers
263 views

Two column page with different heights

I am trying to utilise all the whitespace in a two column (ieee) format document. A set of tables must stay grouped on the same page, thus I've nested them under {table*}. Having done that, I now ...
2
votes
0answers
287 views

Centering too wide figures?

How do I center these two figures that are too wide? \documentclass{amsart} \usepackage{amsthm, amsfonts, amsmath, amssymb, mathrsfs, enumerate,graphicx} \usepackage{pgfplots} \usepackage{subcaption} ...
2
votes
0answers
263 views

Two column with span float image

I'd like to have such layout: The \section text and float image objects should span two columns, \subsection and plain text should go in two column. Now I'm using multicol package for this. This is ...
2
votes
0answers
83 views

How to fix figures on specific pages at bottom over page width?

I am layouting a program book (using book class and multicols{2}). I have a number of ads from sponsors that are not related to the text. They are pdfs. I need to bind them in at fix places (irregular)...
2
votes
0answers
149 views

Landscape page, PDF section title float

So here's my problem: I have a page in my thesis report which is in landscape orientation. A PDF file is on this page. This page also needs a (section) title. However this title is floating somewhere ...
2
votes
0answers
86 views

IEEETran and floating two column pictures

I want to have a figure spanning two columns on the top of the page in the paper I am currently writing. +-----------+ | FIGURE | |.... .....| |.... .....| |.... .....| |.... .....| |......
2
votes
0answers
591 views

Change label (x-axis, y-axis) font size of already inserted eps figure in LaTeX

Just wondering if there is a possibility of changing the font size of the x-axis and y-axis of an eps figure. I tried \fontsize{15}{12}\selectfont, but it did not work at all. Thank you very much in ...
2
votes
0answers
319 views

How to get Subcaption outside float working for landscape tables?

I use the nice MWE displayed below to display a landscape table (found here: Tex: How to place table on new page.) I have one big table (that's why landscape) which I want to split across multiple ...
2
votes
0answers
222 views

Lyx: force Wrap Float not to cross a subsubsection

I have a Wrap Float in Lyx with a graphics in it and the text of the current subsubsection on the side of the Wrap Float. When the next subsubsection starts, it yet fills the space left next to the ...
2
votes
0answers
406 views

FPfigure not working

I am trying to put a figure caption on the following page from the figure. It works fine when I run it on a small document but as soon as I try to run in on my thesis master document through a linked ...
2
votes
0answers
149 views

Hyperref and custom caption in float environment link wrong

I have a custom caption style. If i add a reference to a float the link points to the caption which is below the floats content, but it should point to the top. I probably forgot to set a ref line or ...
2
votes
0answers
918 views

Rotate Figure using sidewaysfigure according to page number

I have a lot of tables and figures to include in my thesis. I am using sidewaysfigure to include them in a full-page landscape view. I need to put 90 degrees-oriented figures if the page is on the ...
2
votes
1answer
797 views

captions overlap figures in *.pdf file after dvi2pdf (while appearing normal in *.dvi file)

For some reason, figure captions that appear underneath the figure in the *.dvi file, overlap the figure in the *.pdf file generated using div2pdf. Any idea why this happens? Thanks, Ofer.
1
vote
0answers
19 views

What is the difference between subfigure and subcaptionbox both from package subcaption?

I was recently searching for a way to place subfigures into one overall figure. As I found out, today we should make use of the subcaption package rather than usig subfig or something else. However, ...
1
vote
0answers
31 views

Cannot begin figure after using \tikzset to redefine basis vectors

I am drawing several TikZ pictures in which I would like the basis vectors to be rotated from the usual definition, so I have used the command \tikzset{x={(0cm,-1cm)}, y={(1cm,0cm)}} in my preamble. ...
1
vote
0answers
62 views

Defining a figure* equivalent for Plain TeX in multicolumn output

Some time ago I tried to define something like figure* for Plain TeX. This resulted in wrong column heights. (See: Wide figure in twocolumn output in Plain TeX) There was a hint to memorioze the ...
1
vote
0answers
45 views

Float object vertical spacing with “Here definitely” settings using scrbook

Vertical gap before float object is too small and after it is too big. For this example I used to set Here definitely positioning, but gaps are similar for every other float placement settings. I ...
1
vote
0answers
45 views

How can I use [@ref] in a figure context in latex?

I want to add the source of a figure in the caption with [@testQuelle] but it just shows the text "[@testQuelle]" under the picture. What am I doing wrong? When I try to cite my source outside the ...
1
vote
0answers
22 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} ...
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'...
1
vote
0answers
19 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
2answers
67 views

How to add boxed text at bottom of first page?

I need to add some boxed text at the bottom of the first page. If placed anywhere on the first page the box should appear at the bottom of the first page. Please help me. I tried the following code \...
1
vote
0answers
61 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} \...
1
vote
0answers
54 views

Memoir : text on recto, figures on verso : Pages numbering and figures positioning almost done

If you have the slightest idea... What I have already done in the formatting of my report : Text on recto pages only Figures and tables on verso pages only Numbering only recto pages continuously (1,...