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 327 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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. ~