Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
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
Anybody can ask a question
The best answers are voted up and rise to the top
Keeping tables/figures close to where they are mentioned
I want to make it like this:
But even if I put
[h!] to the position the figures, the figure is moved to the next page because it is too large. The text which should be under the figure goes up over it!!!
How I can fix it?
asked Jun 3, 2011 at 8:25
77311 gold badge55 silver badges44 bronze badges
You can use
\FloatBarrier from the placeins package to prevent floats (figures) pass some point such as start of the text that follows. For example:
answered Jun 3, 2011 at 8:58
1,68211 gold badge1313 silver badges1414 bronze badges
Not the answer you're looking for? Browse other questions tagged
[H], this forces the figure to be placed exactly
Here. Or even better, don't use a float environment at all if you don't want the figure to float.