I have a table in my article which is actually only about half page long but is taking up the full-page. There is supposed to be text before/after it, but it is all flowing to the next page as show below: enter image description here

Below is the code that I am using to place the table:

  \caption{Modeling results obtained from binary logistic regression}

//table text here..
  • 3
    you will have to upload your entire code as a MWE
    – js bibra
    Sep 10, 2020 at 5:39
  • 1
    As MWE try the following: \documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{table}[ht] \centering \caption{Modeling results obtained from binary logistic regression} \label{tab:modelResults} \begin{tabular}{|l|l|p{0.43\textwidth}|l|l|l|} \hline 1 & 2 & \lipsum[11] & 3 & 4 & 5 \\ \hline \end{tabular} \end{table} \lipsum[2] \end{document}. Please extend your code fragment to similar MWE (Minimal Working Example), which reproduce your problem.
    – Zarko
    Sep 10, 2020 at 5:50
  • 1
    I was able to solve it by replacing \begin{table} by \begin{table}[h] Sep 10, 2020 at 8:39


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.