Hi. Is there any way to do the following:
- there is a file with all figures 'all-figures.tex'
- there is a main file of the article 'article.tex'
- 'article.tex' includes 'all-figures.tex' in the end
If everything is left in that way, then all figures will appear in the last pages.
The question is:
Can I include 'all-figures.tex' in the beginning of the article and force latex to place figures only after first reference to them in the text?
I have read about all possbile policies for floats layout but I have not found anything smart like this.
Graphics, Figures & Tables ⇒ Automatic figures layout
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Automatic figures layout
Using the float package (\usepackage{float}), you can place the figure exactly where want with the command [H] instead of the usually used [h], [t], or [p].
But I guess you won´t manage to do what you want. I would cut and paste the figure environment exactly where you want and use the [H].

But I guess you won´t manage to do what you want. I would cut and paste the figure environment exactly where you want and use the [H].
