I am writing a lab report and I want to display the a table underneath my Results section. This is my code:
However, the result looks like this:
Why is this the case? Thanks!
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.Sign up to join this community
The issue here is that you haven't specified where the float can actually go. This means that it will go to the default position defined by the document class. As you're using the article class that means the default is
Your table appears to be at the top of the page. So you can either tell it to go somewhere else with, for example,
h or arguably if you don't want it to float then don't use the table environment altogether.
You can use the
\captionof command as described here to keep your caption if you want to remove the table environment.