3

Is it imposible to insert something like \newpage to break up the text and place a table ? i have tried several float control packages, \floatbarrier and so on nothing gives the desired result - unbelievable that something so simple should be that difficult

Breaking apart the text manually and placing a table at a specific location should be possible.

i want to force something like

enter image description here

using \usepackage{stfloats} and \usepackage{placeins} with a \FloatBarrier under the table results in whitespace

enter image description here

5
  • Do you want to stop two column, insert a figure and start two column again?
    – Sigur
    Dec 29 '14 at 20:52
  • Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – cfr
    Dec 29 '14 at 20:54
  • The effect with \FloatBarrier is what was expected, I'm afraid. Push the float code back in the document.
    – egreg
    Dec 29 '14 at 21:42
  • So.. This seems as serious downside to latex, i can't believe that there's no solution to this simple problem? Dec 30 '14 at 1:11
  • So in the end, the only way i could fix this was by shrinking the figur and use \usepackage{stfloats} Dec 30 '14 at 14:26
4

The package stfloats allows to have bottom two column floats:

\documentclass[twocolumn]{article}

\usepackage{graphicx}
\usepackage{stfloats}

\usepackage{kantlipsum}

\begin{document}

\kant[1-3]

\begin{figure*}[b]
\centering
\includegraphics[width=.8\textwidth,height=4cm]{example-image}

\caption{A caption to this wonderful picture}
\end{figure*}

\kant[4-10]

\end{document}

enter image description here

Thanks to Frank Mittelbach for having mentioned the package in his highly valuable article on TUGboat about floats (TUGboat, volume 35, 2014, n. 3).

3
  • Thanks for the effort, but the problem persists. Is it possible to set a barrier at a section ? latex moves the figure to the next page Dec 29 '14 at 21:24
  • @Strangelove The usual method such as \FloatBarrier from placeins should work. But beware that the float will probably be turned into a page float.
    – egreg
    Dec 29 '14 at 21:26
  • @Strangelove I can't understand what you mean, sorry.
    – egreg
    Dec 29 '14 at 21:30

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.