Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [placeins]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
60 views

How can I let floats interrupt my text, but only at paragraph-resolution?

I'm writing some text, with a float at some point. I don't mind where my float is placed exactly, but - I do mind if it breaks up individual paragraphs into two pieces, before and after the float. I ...
einpoklum's user avatar
  • 12.4k
0 votes
1 answer
88 views

Prevent a Float from entering a certain area

I really like the \floatbarrier command. I was wondering if there is a way to prevent a float from entering an area. \floatbarrier Some Text Some other Text \startForbiddenArea %%%%%%%%%%%% \begin{...
niklasb's user avatar
0 votes
0 answers
24 views

Flushing floats with placeins breaks the page when it shouldn't [duplicate]

I'm trying to keep floats contained in their respective sections in a book environment. However, using the placeins package, I get this weird behavior where the floats flushed at the end of the ...
Banjo's user avatar
  • 123
0 votes
1 answer
121 views

How to avoid creation of a float page with figure*

I want to prevent a figure* going to next page, and be displayed atop the section. Below you find the code, and I also provide an overleaf view-only link. This past question is also related, but using ...
andrea's user avatar
  • 133
2 votes
1 answer
257 views

How to keep a float within certain boundaries (say, a section)? (\FloatBarrier doesn’t seem to help because of a bug)

As far as I know, the canonical way to keep floats from appearing above or below a certain point is the command \FloatBarrier from the package placeins. However, it doesn’t seem to work in the below ...
Júda Ronén's user avatar
2 votes
2 answers
484 views

How to automatically put FloatBarrier before and after each section

I am looking for a command like: \alwaysFloatBarrier Such that whenever I write a normal section or subsection or subsubsection: \section{Example 1} \subsection{Example 2} \subsubsection{Example 3} ...
Caridorc's user avatar
  • 123
0 votes
0 answers
45 views

Label in table environment not appearing

I tried to change the position of the label, nevertheless it didn't work. Here follows the code: \noindent blahblah \ref{tab:1} \FloatBarrier \begin{table}[ht] \centering \begin{tabular}{ c|c }...
Amâncio de Noronha  Brito's user avatar
1 vote
1 answer
212 views

How to insert an image at a specific location

I have two figures, each of them is as large as an entire page. I have started the section, let's say on page 1. After 1/2 page of an introduction, I start the first subsection. This subsection pretty ...
Luk's user avatar
  • 509
0 votes
1 answer
833 views

LaTeX figure not filling entire page (height space) with FloatBarrier

I encountered problem in which I cannot even imagine how to ask question to google. Probably I made mistake in structure of my documment and now it is not working properly. First thing is that I need ...
Gienek's user avatar
  • 3
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
2 votes
0 answers
202 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
0 votes
0 answers
972 views

Miktex unable to install package "placeins"

Trying to install placeins, doesn't work. \documentclass{article} \usepackage{placeins} \begin{document} Text \end{document} In the log of TeXstudio, it reads Process started: pdflatex.exe -...
cheesus's user avatar
  • 133
0 votes
0 answers
249 views

placeins in subsection not working as intended [duplicate]

I desperately search for an answer now, nothing helps. I want a graphic and a tabular appear before another subsection. I use the placeins package for that, and expanded it to also do it in ...
derBolle's user avatar
1 vote
0 answers
639 views

Footnote placed on the wrong page when figure placement is forced to page

Whilst working with figures and footnotes, I noted a footnote placement issue. I have tried the different solutions listed in Using \footnote in a figure's \caption, which does not work for me as ...
kpenza's user avatar
  • 59
2 votes
1 answer
15k views

Force figure placement in Subsection of LaTeX

The LaTeX document (documentclass:article) is having sections and subsections. The figures are to be placed to appear in the desired subsection only. I am using \usepackage[section]{placeins} It ...
user61681's user avatar
  • 1,749
0 votes
1 answer
137 views

How to suppress the placeins effect of figures just for two specific sections?

I used the usepackage "placeins" to force the figures to be in the section or subsection of interest. However for two specific sections, I would prefer the Figures to float (to avoid white blanks). ...
Mathy's user avatar
  • 119
1 vote
0 answers
558 views

Use placeins for paragraphs

I know how to use placeins to prevent floats from floating into different subsections. The same solution seems to work for subsubsections but not for paragraphs. Is there any way I can prevent figures ...
RoyalTS's user avatar
  • 115
0 votes
1 answer
792 views

Floatbarriers prevent flushbottom at pagebreaks

when I use the placeins package and use the \FloatBarrier, there is a strange (for me) behavior when a float moves to the next page. Look at this example: \documentclass[ 12pt, pdftex, a4paper, ...
Benedikt's user avatar
3 votes
1 answer
305 views

How to put each section with its tables separately?

I have many sections and subsections and each section have many tables under it. I am trying to make the tables positioned in the section that is using them, but everything is overlapped in the file....
Solo2016's user avatar
4 votes
1 answer
15k views

Figure is placed in a wrong position [duplicate]

I have read many threads regarding misplaced floats in LaTex, however, I haven't found a satisfactory answer yet. As shown by the code segment, Fig 1 is supposed to be after the "In order to test ..." ...
Ptheguy's user avatar
  • 353
2 votes
0 answers
855 views

How to prevent float before subsection? [closed]

I have the problem that alot of my floats show up before the subsection they are in. I did read about placeins and \FloatBarrier here: How do I ensure that figures appear in the section they're ...
Spenhouet's user avatar
  • 952
7 votes
1 answer
3k views

wrapfig and wraptable not obeying \FloatBarrier

I've been using this forum for a year, and it's very helpful. I have a question about floating figures and tables. It seems to have already been addressed here: Floats - how to restrict floating to ...
Ken's user avatar
  • 71
4 votes
2 answers
2k views

Disable \FloatBarrier for selected sections

I am using \usepackage[section,above,below]{placeins} which does exactly what I want. In order to avoid too many blank pages, I am looking for a command that disables the \FloatBarrier at the ...
riddleculous's user avatar
  • 1,207
2 votes
2 answers
16k views

How to avoid page break after /FloatBarrier

I am using the placins package with the section option. I noticed there seems to be a page break before a section. Below is my code. How do I bring the second section to the previous page? \...
godblessfq's user avatar
2 votes
2 answers
161 views

Full page image causes white space

I have a paragraph at the bottom of a page that refers to an full page filling image. This paragraph is too long for its page. Thus, Latex puts a page break inside of it and its text continues on next ...
maiermic's user avatar
  • 165
2 votes
0 answers
707 views

How to prevent figure from splitting itemize list [duplicate]

I have inserted a floating figure in my text using [htb]. A part of the text is a list, generated by itemize. The list is, by chance, placed at the bottom of the page, and consists of three items. ...
ROLF's user avatar
  • 1,296
0 votes
0 answers
106 views

Keeping tables / figures (floats) on either the current even (left) or odd (right) page

I'm writing a two sided LaTeX document and would like tables / figures (floats) to be depicted ) in the best case, immediately after the end of the sentence in which the float is referred to with \...
Adriaan's user avatar
  • 3,715
1 vote
0 answers
600 views

How to align figure with subsection?

I have placed numerous figures beneath subsections, but there is a one page gap between the subsection title and the actual figure. Does anyone know how to resolve this placement issue? An MWE of ...
Brian Var's user avatar
  • 153
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
3 votes
1 answer
92 views

Another problem with display graphic

I have full code of my document (I hope it's correct now): \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[demo]{graphicx} \usepackage{placeins,listings} \begin{document} \lstset{...
Artek's user avatar
  • 147
3 votes
1 answer
317 views

Treat floatbarriers like page borders?

When I use the figure environment I like using [bt] options. I now have subsections acting as floatbarriers (using the extraplaceins package), and [b] / [t] does not work due to my restraining ...
Jayvl's user avatar
  • 419
2 votes
1 answer
1k views

placeins: options section and below

I am using the package placeins with the options section and below so the floats will appear in their sections below their section if on the same page; however, the float is appearing above its ...
dustin's user avatar
  • 18.7k