Graphics, Figures & Tables ⇒ Tables and Sections
Tables and Sections
I am new to this Forum so let me introduce myself first.
I am a Bachelor Student of Molecular Medicine, writing my Thesis with Scrivener using MMD3->LaTeX (on the Mac).
I used the search option and didn't find a similar post, it could be that i searched wrong or in the wrong place, if this is the case, i am sorry and it would be nice to delete this post and direct me to that thread.
I am writing the Material and Methods part right now, using tables without lines, each of those tables is put into its own \subsubsection unter the \subsection{Materials}.
When i typeset each subsubsection separatel i get the name of the subsubsection, a linebreak and then the table. when i then typeset the WHOLE document with all my subsubsections and the tables in them it only typesets the first two subsubsections correctly, then i get the other subsubsections listed without the tables and at the end of the document all the tables that were supposed to be in their subsubsections are listed one after the other.
I have no idea why this happens, can anyone help me?
Here is a link to the code: http://pastebin.tlhiv.org/BwOZeZUm
i couldnt take a small portion of the code because this problem happens only when i typeset the whole document.
Thank you in Advance
Blindy
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
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Tables and Sections
welcome to the board!
You load use the placeins package, then you can place the command \FloatBarrier before starting a new subsection. This prevents tables from floating into the next subsection.
Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Tables and Sections
Code: Select all
\begin{table}[!ht]
% table content
\end{table}
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Tables and Sections

I changed htpb to H in the table. \floatbarrier worked too