Graphics, Figures & Tables ⇒ Table Placement Problem not solved by common Approaches
Table Placement Problem not solved by common Approaches
I can keep the table from floating down into the next section with \FloatBarrier, however I can not keep it from floating above the subsection heading that it is supposed to follow. See the attached document for an example. Sorry I can't produce a more minimal working example, but it's all the other stuff that results in the particular layout causing the problem. The problem is with table 1: 150 Initial Moves in Rock, Paper, Scissors.
- Attachments
-
- prob_GOFmultinomial.tex
- (3.24 KiB) Downloaded 311 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Table Placement Problem not solved by common Approaches
Code: Select all
\subsection{Collect Data} % Putting the subsection here does not give the correct vertical placement.
~
\begin{table}[!ht] % These placement parameters usually help
\caption{150 Initial Moves in Rock, Paper, Scissors}
\begin{tabular}{ l c r }
\hline
rock & scissors & paper \\
\hline
63 & 51 & 36 \\
\hline
\end{tabular}
\end{table}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Table Placement Problem not solved by common Approaches

localghost wrote:Sometimes only a special knack does the trick. I echo only the relevant part of your code.Note the tilde as invisible character (fixed blank space). And by the way, tables usually have their captions above.Code: Select all
\subsection{Collect Data} % Putting the subsection here does not give the correct vertical placement. ~