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

679 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
1k 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{\...
Serge Stroobandt's user avatar
5 votes
0 answers
84 views

What variant float lists exist?

I saw question wrapfig and wraptable not obeying \FloatBarrier and resolved to put \wrapfill\WFclear into placeins.sty. But I also wonder if there are more alternative float types or alternative ...
Donald Arseneau's user avatar
5 votes
0 answers
195 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 ...
kdb's user avatar
  • 1,929
4 votes
0 answers
137 views

Specifying positions of floats exactly (e.g. top of right hand column of page 2)

Short version: how can I disable LaTeX's automatic figure placement and instead specify their positions manually, relative to the page layout rather than their position in the text? Long version: Once ...
N. Virgo's user avatar
  • 4,289
4 votes
0 answers
717 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 ...
der_herr_g's user avatar
4 votes
1 answer
5k 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, ...
Sungsin Lee's user avatar
4 votes
0 answers
4k views

Force double column figure location in IEEETran

How can I force 2 column figure location in IEEETran. Obviously "!h" didn't work and when I tried using the "float" package's "H" mode, the figure just disappeared instead of being moved to the forced ...
Kevin Bell's user avatar
4 votes
0 answers
6k views

Figures appearing at the end of a chapter instead of in text

I am writing my thesis at the moment and am having problems with one chapter showing all figures (however tables and tikzpictures are fine) at the end of the chapter rather than in-text. No other ...
user111856's user avatar
4 votes
0 answers
13k views

\FloatBarrier behaving like a \clearpage

The \FloatBarrier command from the placeins package is frequently used before a section in order to certify that any floats from previous sections have been properly flushed. Such is not my case. I ...
Wasabi's user avatar
  • 759
4 votes
0 answers
685 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 ...
Yaming Su'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
0 answers
291 views

Floats lost error with figure and tcolorbox

For some reason, whenever I try to insert a figure into this tcolorbox, I run into this error: Float(s) lost.. I've seen examples of tcolorboxes supporting figures, so I'm wondering if it has to do ...
Revise's user avatar
  • 365
3 votes
0 answers
107 views

Floats aligned to the right in LyX

EDIT: I ended up using the method outlined here and was able to resolve the problem. Big thanks to the answerer of that question! I am using LyX, and am trying to center two images next to each other. ...
cruijf's user avatar
  • 41
3 votes
0 answers
268 views

Todo note floats into the wrong margin with page break and TeX capacity exceeded

While writing a seperate document I noticed that the todo note was printing in the wrong margin. Initially I thought this was because of a rogue use of \reversemarginpar, but after a bit of playing ...
oliversm's user avatar
  • 2,717
3 votes
0 answers
393 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 ...
Tore H-W's user avatar
  • 493
3 votes
0 answers
141 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 ...
Leonidaz0r's user avatar
3 votes
0 answers
56 views

Graphic Gallery instead of thumbnails in a list of figures?

Is-it possible to do a Graphic Gallery instead of a normal list or thumbnails in a list of figures ? (as in the picture in example) The result is dissimilar of this solution : How to get thumbnails in ...
Mat D's user avatar
  • 31
3 votes
0 answers
452 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 ...
Uri Cohen's user avatar
  • 131
3 votes
0 answers
1k 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=...
wilx's user avatar
  • 2,349
3 votes
0 answers
155 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 ...
Marco's user avatar
  • 105
3 votes
0 answers
475 views

Error `tikzscale` package when scaling a figure, containing two axis environments next to each other, to the text width

I have a figure environment with which I depict two pgfplots axis environments next to each other. I want to scale the figure such that it uses the full \textwidth. I attempt to do so by means of the ...
Adriaan's user avatar
  • 3,725
3 votes
0 answers
880 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 ...
Martin's user avatar
  • 842
3 votes
0 answers
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} ...
Tristan Tzschichholz's user avatar
2 votes
0 answers
37 views

Change background color of parts of the text, possibly containing floats

With tcolorbox, for example, it's possible to change the background color of parts of the text (even from one page to another, thanks to its breakable library). But it relies on boxes that can't ...
Denis Bitouzé's user avatar
2 votes
1 answer
89 views

How to increase inner padding of the 'figure' environment?

This is my document: \documentclass{article} \usepackage{float} \floatstyle{boxed} \restylefloat{figure} \begin{document} \begin{figure} Hello, world! \end{figure} \end{document} It renders as such: ...
yegor256's user avatar
  • 12.2k
2 votes
0 answers
110 views

How to use pdfcomment within a caption?

I would like to leave comments in a PDF file, for which purpose the pdfcomment package seems to be a useful option. However, when I tried to use \pdfmarkupcomment within a caption, my comment has not ...
TobiR's user avatar
  • 604
2 votes
1 answer
864 views

Package caption Warning: Unknown document class (or package), standard defaults will be used. How to solve

Package caption Warning: Unknown document class (or package), standard defaults will be used. See the caption package documentation for explanation. May I ask, what is the error above, here is my ...
LUKAS's user avatar
  • 93
2 votes
0 answers
209 views

How to resample (downsample) images while taking their actual size into account in ConTeXt?

I am currently typesetting a textbook and would like to implement a mechanism that allows me to resample images to exhibit a specific resolution, relative to their final size (mostly for the sake of ...
Marcus C.'s user avatar
  • 755
2 votes
0 answers
42 views

Captions in double pages in hvfloat package

I am trying to use hvfloat, to typeset a fulldoublepage float, as described on page 72 of its manual. It does not work as I expected, however, in that it appears to insert extra blank pages before and ...
Haim's user avatar
  • 539
2 votes
0 answers
139 views

How can I have figure serial numbers on the top left corner and a caption that is not centering?

Like this I have tried \sidesubfloat[] to place the serial numbers on the top left corner, but the caption will be centered.
pi Ki's user avatar
  • 21
2 votes
0 answers
206 views

Three subfigures

I am trying to add generate three subfigures in latex like the attached photo. My code is \begin{figure}[H] \centering \begin{minipage}{.66\textwidth} \includegraphics[width=\textwidth]{figA.eps} \...
soooleh's user avatar
  • 125
2 votes
0 answers
355 views

how to position footnote in bottom of page and under figure in ieee trans template?

how to position footnote in bottom of page and under figure in ieee trans template? \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts % The preceding line is only needed to identify ...
moufida aouachria's user avatar
2 votes
0 answers
165 views

\phantom \begin{figure} does not work

Why doesn't this work? \phantom{ \begin{figure}[H] \includegraphics{fig.pdf} \end{figure} } It outputs Error: Something's wrong--perhaps a missing \item. I'm trying to do ...
Volker Weißmann's user avatar
2 votes
0 answers
490 views

What do floats mean?

I'm reading an answer, which says something about "floats" in latex, bold displayed below. What does that mean? First of all, as you already mentioned \clearpagenot only ends the page (or ...
Neo's user avatar
  • 215
2 votes
0 answers
153 views

Floatrow distorts algorithm caption

This is the template for a conference: https://media.icml.cc/Conferences/ICML2020/Styles/icml2020_style.zip. I'm using that template for my paper. However, when I do \usepackage{floatrow}, it distorts ...
RaviTej310's user avatar
2 votes
0 answers
104 views

Figures attribution index

I am creating a document with photographs taken from others, so I have to include the attributions. I would like to have a "figures bibliography" similar to the one generated by \printbibliography ...
Ntakwetet's user avatar
  • 631
2 votes
0 answers
50 views

How to get \marginnote to appear in middle margin in two column mode with multicol package?

I've tried messing around with How to trigger the marginal note in two column layout kind of thing. But still haven't got the marginnotes appearing in the middle column. I would like them aligned ...
safetyduck's user avatar
2 votes
0 answers
58 views

Is there a way to make a float that only gets finalized once placement has been determined?

Is there a way to make a float that only gets finalized once placement has been determined? This is essentially an extension to this question of mine by applying it to floating environments. In the ...
Suthek's user avatar
  • 189
2 votes
0 answers
147 views

Include additional information of figure somewhere else

I‘m writing a thesis in computer science. A big part of my work involves running simulations with software I programmed. For all the images produced by the simulation, I want to show the reader how ...
Felix Jassler's user avatar
2 votes
0 answers
210 views

Why is the table drawn over footer instead of being moved to the next page?

On the second page the table is drawn over the footer instead of being moved to the next page. But the first table does get moved to the second page instead of being drawn right after \lipsum[1-2], ...
MadCake - Reinstate Monica's user avatar
2 votes
0 answers
84 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 ...
Predrag_M's user avatar
2 votes
0 answers
54 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 ...
Johannes Stadler's user avatar
2 votes
0 answers
69 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 ...
nagmat84's user avatar
  • 1,125
2 votes
0 answers
218 views

Trick/Workaround for cross reference between files without xr

I have a main manuscript and a supplementary materials tex files. These are based on templates by the AGU journals, therefore it is not recommended to add any other packages, than those provided. I ...
Sara's user avatar
  • 121
2 votes
2 answers
525 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. ...
rhombidodecahedron's user avatar
2 votes
0 answers
79 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 ...
Sonja Zimmermann's user avatar
2 votes
0 answers
5k 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} \...
user163433's user avatar
2 votes
0 answers
312 views

TIKZ Externalize with filename and path variable

I have following problem: A big latex project project.tex with several chapters. For each of these chapters I have several tikz pictures that I want to externalize in the folder tikz_pdf. The file ...
DentOpt's user avatar
  • 21
2 votes
0 answers
288 views

H placement of floats in tufte book

I am using the tufte-book document class for writing a user manual. It involves many short code examples. I would like to achieve the following: Being able to use [H] with the floats such that the ...
Isolin's user avatar
  • 121
2 votes
0 answers
322 views

How to stop minted sections being interrupted by other elements

I have a many minted sections that can span more than one page. I also have tables. It seems that these tables can just be plonked right in the middle of my minted section - which I don't want. How ...
Zach Smith's user avatar

1
2 3 4 5
14